diff --git a/stage0/src/Lean/Elab/Frontend.lean b/stage0/src/Lean/Elab/Frontend.lean index 4fea1b91df..df70a9ef3d 100644 --- a/stage0/src/Lean/Elab/Frontend.lean +++ b/stage0/src/Lean/Elab/Frontend.lean @@ -49,8 +49,10 @@ def processCommand : FrontendM Bool := do let cmdState ← getCommandState let ictx ← getInputContext let pstate ← getParserState + let scope := cmdState.scopes.head! + let pmctx := { env := cmdState.env, currNamespace := scope.currNamespace, openDecls := scope.openDecls } let pos := ictx.fileMap.toPosition pstate.pos - match profileit "parsing" pos fun _ => Parser.parseCommand cmdState.env ictx pstate cmdState.messages with + match profileit "parsing" pos fun _ => Parser.parseCommand ictx pmctx pstate cmdState.messages with | (cmd, ps, messages) => modify fun s => { s with commands := s.commands.push cmd } setParserState ps diff --git a/stage0/src/Lean/Parser/Basic.lean b/stage0/src/Lean/Parser/Basic.lean index ce19859be4..9ee3072be7 100644 --- a/stage0/src/Lean/Parser/Basic.lean +++ b/stage0/src/Lean/Parser/Basic.lean @@ -62,6 +62,7 @@ import Lean.Environment import Lean.Attributes import Lean.Message import Lean.Compiler.InitAttr +import Lean.ResolveName namespace Lean @@ -120,15 +121,24 @@ instance : Inhabited InputContext := ⟨{ input := "", fileName := "", fileMap := arbitrary }⟩ -structure ParserContext extends InputContext where +/-- Input context derived from elaboration of previous commands. -/ +structure ParserModuleContext where + env : Environment + -- for name lookup + currNamespace : Name := Name.anonymous + openDecls : List OpenDecl := [] + +structure ParserContext extends InputContext, ParserModuleContext where prec : Nat - env : Environment tokens : TokenTable insideQuot : Bool := false suppressInsideQuot : Bool := false savedPos? : Option String.Pos := none forbiddenTk? : Option Token := none +def ParserContext.resolveName (ctx : ParserContext) (id : Name) : List (Name × List String) := + ResolveName.resolveGlobalName ctx.env ctx.currNamespace ctx.openDecls id + structure Error where unexpected : String := "" expected : List String := [] @@ -1654,6 +1664,27 @@ def categoryParserOfStackFn (offset : Nat) : ParserFn := fun ctx s => def categoryParserOfStack (offset : Nat) (prec : Nat := 0) : Parser := { fn := fun c s => categoryParserOfStackFn offset { c with prec := prec } s } +unsafe def parserOfStackFnUnsafe (offset : Nat) : ParserFn := fun ctx s => + let stack := s.stxStack + if stack.size < offset + 1 then + s.mkUnexpectedError ("failed to determine parser using syntax stack, stack is too small") + else + match stack.get! (stack.size - offset - 1) with + | Syntax.ident (val := parserName) .. => + match ctx.resolveName parserName with + | [(parserName, [])] => match ctx.env.evalConstCheck Parser {} `Lean.Parser.Parser parserName with + | Except.ok p => p.fn ctx s + | Except.error e => s.mkUnexpectedError s!"error running parser {parserName}: {e}" + | _::_::_ => s.mkUnexpectedError s!"ambiguous parser name {parserName}" + | _ => s.mkUnexpectedError s!"unknown parser {parserName}" + | _ => s.mkUnexpectedError ("failed to determine parser using syntax stack, the specified element on the stack is not an identifier") + +@[implementedBy parserOfStackFnUnsafe] +constant parserOfStackFn (offset : Nat) : ParserFn + +def parserOfStack (offset : Nat) (prec : Nat := 0) : Parser := + { fn := fun c s => parserOfStackFn offset { c with prec := prec } s } + private def mkResult (s : ParserState) (iniSz : Nat) : ParserState := if s.stackSize == iniSz + 1 then s else s.mkNode nullKind iniSz -- throw error instead? diff --git a/stage0/src/Lean/Parser/Extension.lean b/stage0/src/Lean/Parser/Extension.lean index fe055579e4..6a6ff6a154 100644 --- a/stage0/src/Lean/Parser/Extension.lean +++ b/stage0/src/Lean/Parser/Extension.lean @@ -422,11 +422,11 @@ def mkInputContext (input : String) (fileName : String) : InputContext := { fileMap := input.toFileMap } -def mkParserContext (env : Environment) (ctx : InputContext) : ParserContext := { - prec := 0, - toInputContext := ctx, - env := env, - tokens := getTokenTable env +def mkParserContext (ictx : InputContext) (pmctx : ParserModuleContext) : ParserContext := { + prec := 0, + toInputContext := ictx, + toParserModuleContext := pmctx, + tokens := getTokenTable pmctx.env } def mkParserState (input : String) : ParserState := @@ -434,7 +434,7 @@ def mkParserState (input : String) : ParserState := /- convenience function for testing -/ def runParserCategory (env : Environment) (catName : Name) (input : String) (fileName := "") : Except String Syntax := - let c := mkParserContext env (mkInputContext input fileName) + let c := mkParserContext (mkInputContext input fileName) { env := env } let s := mkParserState input let s := whitespace c s let s := categoryParserFnImpl catName c s diff --git a/stage0/src/Lean/Parser/Module.lean b/stage0/src/Lean/Parser/Module.lean index e414768135..d76de41040 100644 --- a/stage0/src/Lean/Parser/Module.lean +++ b/stage0/src/Lean/Parser/Module.lean @@ -40,7 +40,7 @@ private def mkErrorMessage (c : ParserContext) (pos : String.Pos) (errorMsg : St def parseHeader (inputCtx : InputContext) : IO (Syntax × ModuleParserState × MessageLog) := do let dummyEnv ← mkEmptyEnvironment - let ctx := mkParserContext dummyEnv inputCtx + let ctx := mkParserContext inputCtx { env := dummyEnv } let ctx := Module.updateTokens ctx let s := mkParserState ctx.input let s := whitespace ctx s @@ -76,13 +76,13 @@ def topLevelCommandParserFn : ParserFn := (andthenFn (lookaheadFn termParser.fn) (errorFn "expected command, but found term; this error may be due to parsing precedence levels, consider parenthesizing the term")) false /- do not merge errors -/ -partial def parseCommand (env : Environment) (inputCtx : InputContext) (s : ModuleParserState) (messages : MessageLog) : Syntax × ModuleParserState × MessageLog := +partial def parseCommand (inputCtx : InputContext) (pmctx : ParserModuleContext) (s : ModuleParserState) (messages : MessageLog) : Syntax × ModuleParserState × MessageLog := let rec parse (s : ModuleParserState) (messages : MessageLog) := let { pos := pos, recovering := recovering } := s if inputCtx.input.atEnd pos then (mkEOI pos, s, messages) else - let c := mkParserContext env inputCtx + let c := mkParserContext inputCtx pmctx let s := { cache := initCacheForInput c.input, pos := pos : ParserState } let s := whitespace c s let s := topLevelCommandParserFn c s @@ -104,29 +104,11 @@ partial def parseCommand (env : Environment) (inputCtx : InputContext) (s : Modu -- (stx, { pos := pos, recovering := true }, messages) parse s messages -private partial def testModuleParserAux (env : Environment) (inputCtx : InputContext) (displayStx : Bool) (s : ModuleParserState) (messages : MessageLog) : IO Bool := - let rec loop (s : ModuleParserState) (messages : MessageLog) := do - match parseCommand env inputCtx s messages with - | (stx, s, messages) => - if isEOI stx || isExitCommand stx then - messages.forM fun msg => msg.toString >>= IO.println - pure (!messages.hasErrors) - else - if displayStx then IO.println stx - loop s messages - loop s messages +-- only useful for testing since most Lean files cannot be parsed without elaboration -@[export lean_test_module_parser] -def testModuleParser (env : Environment) (input : String) (fileName := "") (displayStx := false) : IO Bool := - timeit (fileName ++ " parser") do - let inputCtx := mkInputContext input fileName - let (stx, s, messages) ← parseHeader inputCtx - if displayStx then IO.println stx - testModuleParserAux env inputCtx displayStx s messages - -partial def parseModuleAux (env : Environment) (inputCtx : InputContext) (s : ModuleParserState) (msgs : MessageLog) (stxs : Array Syntax) : IO (Array Syntax) := +partial def testParseModuleAux (env : Environment) (inputCtx : InputContext) (s : ModuleParserState) (msgs : MessageLog) (stxs : Array Syntax) : IO (Array Syntax) := let rec parse (state : ModuleParserState) (msgs : MessageLog) (stxs : Array Syntax) := - match parseCommand env inputCtx state msgs with + match parseCommand inputCtx { env := env } state msgs with | (stx, state, msgs) => if isEOI stx then if msgs.isEmpty then @@ -138,17 +120,17 @@ partial def parseModuleAux (env : Environment) (inputCtx : InputContext) (s : Mo parse state msgs (stxs.push stx) parse s msgs stxs -def parseModule (env : Environment) (fname contents : String) : IO Syntax := do +def testParseModule (env : Environment) (fname contents : String) : IO Syntax := do let fname ← IO.realPath fname let inputCtx := mkInputContext contents fname let (header, state, messages) ← parseHeader inputCtx - let cmds ← parseModuleAux env inputCtx state messages #[] + let cmds ← testParseModuleAux env inputCtx state messages #[] let stx := Syntax.node `Lean.Parser.Module.module #[header, mkListNode cmds] pure stx.updateLeading -def parseFile (env : Environment) (fname : String) : IO Syntax := do +def testParseFile (env : Environment) (fname : String) : IO Syntax := do let contents ← IO.FS.readFile fname - parseModule env fname contents + testParseModule env fname contents end Parser end Lean diff --git a/stage0/src/Lean/Parser/Term.lean b/stage0/src/Lean/Parser/Term.lean index 0a0df6c35a..d7ee2a251e 100644 --- a/stage0/src/Lean/Parser/Term.lean +++ b/stage0/src/Lean/Parser/Term.lean @@ -207,6 +207,8 @@ def macroLastArg := macroDollarArg <|> macroArg -- Macro for avoiding exponentially big terms when using `STWorld` @[builtinTermParser] def stateRefT := parser! "StateRefT" >> macroArg >> macroLastArg +@[builtinTermParser] def dynamicQuot := parser! "`(" >> ident >> "|" >> parserOfStack 1 >> ")" + end Term @[builtinTermParser 1] def Tactic.quot : Parser := parser! "`(tactic|" >> toggleInsideQuot tacticParser >> ")" diff --git a/stage0/src/Lean/PrettyPrinter/Formatter.lean b/stage0/src/Lean/PrettyPrinter/Formatter.lean index 3fbd84c86b..a4fa6a9f59 100644 --- a/stage0/src/Lean/PrettyPrinter/Formatter.lean +++ b/stage0/src/Lean/PrettyPrinter/Formatter.lean @@ -190,6 +190,12 @@ def categoryParserOfStack.formatter (offset : Nat) : Formatter := do let stx := st.stxTrav.parents.back.getArg (st.stxTrav.idxs.back - offset) categoryParser.formatter stx.getId +@[combinatorFormatter Lean.Parser.parserOfStack] +def parserOfStack.formatter (offset : Nat) (prec : Nat := 0) : Formatter := do + let st ← get + let stx := st.stxTrav.parents.back.getArg (st.stxTrav.idxs.back - offset) + formatterForKind stx.getKind + @[combinatorFormatter Lean.Parser.error] def error.formatter (msg : String) : Formatter := pure () @[combinatorFormatter Lean.Parser.errorAtSavedPos] diff --git a/stage0/src/Lean/PrettyPrinter/Parenthesizer.lean b/stage0/src/Lean/PrettyPrinter/Parenthesizer.lean index 7b4e40e697..38ae5e7805 100644 --- a/stage0/src/Lean/PrettyPrinter/Parenthesizer.lean +++ b/stage0/src/Lean/PrettyPrinter/Parenthesizer.lean @@ -310,6 +310,12 @@ def categoryParserOfStack.parenthesizer (offset : Nat) (prec : Nat) : Parenthesi let stx := st.stxTrav.parents.back.getArg (st.stxTrav.idxs.back - offset) categoryParser.parenthesizer stx.getId prec +@[combinatorParenthesizer Lean.Parser.parserOfStack] +def parserOfStack.parenthesizer (offset : Nat) (prec : Nat := 0) : Parenthesizer := do + let st ← get + let stx := st.stxTrav.parents.back.getArg (st.stxTrav.idxs.back - offset) + parenthesizerForKind stx.getKind + @[builtinCategoryParenthesizer term] def term.parenthesizer : CategoryParenthesizer | prec => do let stx ← getCur diff --git a/stage0/src/Lean/Server/Snapshots.lean b/stage0/src/Lean/Server/Snapshots.lean index da81d2094f..c31cb6c674 100644 --- a/stage0/src/Lean/Server/Snapshots.lean +++ b/stage0/src/Lean/Server/Snapshots.lean @@ -78,8 +78,11 @@ through the file. -/ -- isServer? conditionals and not be worth it due to how short it is. def compileNextCmd (contents : String) (snap : Snapshot) : IO (Sum Snapshot MessageLog) := do let inputCtx := Parser.mkInputContext contents ""; + let cmdState := snap.toCmdState; + let scope := cmdState.scopes.head! + let pmctx := { env := cmdState.env, currNamespace := scope.currNamespace, openDecls := scope.openDecls } let (cmdStx, cmdParserState, msgLog) := - Parser.parseCommand snap.env inputCtx snap.mpState snap.msgLog; + Parser.parseCommand inputCtx pmctx snap.mpState snap.msgLog; let cmdPos := cmdStx.getHeadInfo.get!.pos.get!; -- TODO(WN): always `some`? if Parser.isEOI cmdStx || Parser.isExitCommand cmdStx then pure $ Sum.inr msgLog diff --git a/stage0/src/shell/lean.cpp b/stage0/src/shell/lean.cpp index b92a1f8ceb..c77dd8a6d4 100644 --- a/stage0/src/shell/lean.cpp +++ b/stage0/src/shell/lean.cpp @@ -332,11 +332,6 @@ public: }; namespace lean { -extern "C" object* lean_test_module_parser(object* env, object* input, object* filename, uint8 displayCtx, object* w); -bool test_module_parser(environment const & env, std::string const & input, std::string const & filename) { - return get_io_scalar_result(lean_test_module_parser(env.to_obj_arg(), mk_string(input), mk_string(filename), false, io_mk_world())); -} - typedef list_ref messages; typedef object_ref module_stx; extern "C" object * lean_run_frontend(object * input, object * opts, object * filename, object * main_module_name, object * w); diff --git a/stage0/stdlib/CMakeLists.txt b/stage0/stdlib/CMakeLists.txt index 560eaebc33..44b18ff062 100644 --- a/stage0/stdlib/CMakeLists.txt +++ b/stage0/stdlib/CMakeLists.txt @@ -1 +1 @@ -add_library (stage0 OBJECT ./Init.c ./Init/Classical.c ./Init/Coe.c ./Init/Control.c ./Init/Control/Basic.c ./Init/Control/EState.c ./Init/Control/Except.c ./Init/Control/Id.c ./Init/Control/Option.c ./Init/Control/Reader.c ./Init/Control/State.c ./Init/Control/StateRef.c ./Init/Core.c ./Init/Data.c ./Init/Data/Array.c ./Init/Data/Array/Basic.c ./Init/Data/Array/BinSearch.c ./Init/Data/Array/QSort.c ./Init/Data/Array/Subarray.c ./Init/Data/Basic.c ./Init/Data/ByteArray.c ./Init/Data/ByteArray/Basic.c ./Init/Data/Char.c ./Init/Data/Char/Basic.c ./Init/Data/Fin.c ./Init/Data/Fin/Basic.c ./Init/Data/Float.c ./Init/Data/FloatArray.c ./Init/Data/FloatArray/Basic.c ./Init/Data/Hashable.c ./Init/Data/Int.c ./Init/Data/Int/Basic.c ./Init/Data/List.c ./Init/Data/List/Basic.c ./Init/Data/List/BasicAux.c ./Init/Data/List/Control.c ./Init/Data/Nat.c ./Init/Data/Nat/Basic.c ./Init/Data/Nat/Bitwise.c ./Init/Data/Nat/Control.c ./Init/Data/Nat/Div.c ./Init/Data/OfScientific.c ./Init/Data/Option.c ./Init/Data/Option/Basic.c ./Init/Data/Option/BasicAux.c ./Init/Data/Option/Instances.c ./Init/Data/Random.c ./Init/Data/Range.c ./Init/Data/Repr.c ./Init/Data/String.c ./Init/Data/String/Basic.c ./Init/Data/String/Extra.c ./Init/Data/ToString.c ./Init/Data/ToString/Basic.c ./Init/Data/ToString/Macro.c ./Init/Data/UInt.c ./Init/Fix.c ./Init/Meta.c ./Init/Notation.c ./Init/NotationExtra.c ./Init/Prelude.c ./Init/SizeOf.c ./Init/System.c ./Init/System/FilePath.c ./Init/System/IO.c ./Init/System/IOError.c ./Init/System/Platform.c ./Init/System/ST.c ./Init/Util.c ./Init/WF.c ./Lean.c ./Lean/Attributes.c ./Lean/AuxRecursor.c ./Lean/Class.c ./Lean/Compiler.c ./Lean/Compiler/BorrowedAnnotation.c ./Lean/Compiler/ClosedTermCache.c ./Lean/Compiler/ConstFolding.c ./Lean/Compiler/ExportAttr.c ./Lean/Compiler/ExternAttr.c ./Lean/Compiler/IR.c ./Lean/Compiler/IR/Basic.c ./Lean/Compiler/IR/Borrow.c ./Lean/Compiler/IR/Boxing.c ./Lean/Compiler/IR/Checker.c ./Lean/Compiler/IR/CompilerM.c ./Lean/Compiler/IR/CtorLayout.c ./Lean/Compiler/IR/ElimDeadBranches.c ./Lean/Compiler/IR/ElimDeadVars.c ./Lean/Compiler/IR/EmitC.c ./Lean/Compiler/IR/EmitUtil.c ./Lean/Compiler/IR/ExpandResetReuse.c ./Lean/Compiler/IR/Format.c ./Lean/Compiler/IR/FreeVars.c ./Lean/Compiler/IR/LiveVars.c ./Lean/Compiler/IR/NormIds.c ./Lean/Compiler/IR/PushProj.c ./Lean/Compiler/IR/RC.c ./Lean/Compiler/IR/ResetReuse.c ./Lean/Compiler/IR/SimpCase.c ./Lean/Compiler/IR/UnboxResult.c ./Lean/Compiler/ImplementedByAttr.c ./Lean/Compiler/InitAttr.c ./Lean/Compiler/InlineAttrs.c ./Lean/Compiler/NameMangling.c ./Lean/Compiler/NeverExtractAttr.c ./Lean/Compiler/Specialize.c ./Lean/Compiler/Util.c ./Lean/CoreM.c ./Lean/Data.c ./Lean/Data/Format.c ./Lean/Data/Json.c ./Lean/Data/Json/Basic.c ./Lean/Data/Json/FromToJson.c ./Lean/Data/Json/Parser.c ./Lean/Data/Json/Printer.c ./Lean/Data/Json/Stream.c ./Lean/Data/JsonRpc.c ./Lean/Data/KVMap.c ./Lean/Data/LBool.c ./Lean/Data/LOption.c ./Lean/Data/Lsp.c ./Lean/Data/Lsp/Basic.c ./Lean/Data/Lsp/Capabilities.c ./Lean/Data/Lsp/Communication.c ./Lean/Data/Lsp/Diagnostics.c ./Lean/Data/Lsp/Hover.c ./Lean/Data/Lsp/InitShutdown.c ./Lean/Data/Lsp/TextSync.c ./Lean/Data/Lsp/Utf16.c ./Lean/Data/Lsp/Workspace.c ./Lean/Data/Name.c ./Lean/Data/Occurrences.c ./Lean/Data/OpenDecl.c ./Lean/Data/Options.c ./Lean/Data/Position.c ./Lean/Data/SMap.c ./Lean/Data/Trie.c ./Lean/Declaration.c ./Lean/Elab.c ./Lean/Elab/App.c ./Lean/Elab/Attributes.c ./Lean/Elab/Binders.c ./Lean/Elab/BuiltinNotation.c ./Lean/Elab/CollectFVars.c ./Lean/Elab/Command.c ./Lean/Elab/DeclModifiers.c ./Lean/Elab/DeclUtil.c ./Lean/Elab/Declaration.c ./Lean/Elab/DefView.c ./Lean/Elab/Do.c ./Lean/Elab/Exception.c ./Lean/Elab/Frontend.c ./Lean/Elab/Import.c ./Lean/Elab/Inductive.c ./Lean/Elab/LetRec.c ./Lean/Elab/Level.c ./Lean/Elab/Log.c ./Lean/Elab/Match.c ./Lean/Elab/MutualDef.c ./Lean/Elab/PreDefinition.c ./Lean/Elab/PreDefinition/Basic.c ./Lean/Elab/PreDefinition/Main.c ./Lean/Elab/PreDefinition/MkInhabitant.c ./Lean/Elab/PreDefinition/Structural.c ./Lean/Elab/PreDefinition/WF.c ./Lean/Elab/Print.c ./Lean/Elab/Quotation.c ./Lean/Elab/StructInst.c ./Lean/Elab/Structure.c ./Lean/Elab/Syntax.c ./Lean/Elab/SyntheticMVars.c ./Lean/Elab/Tactic.c ./Lean/Elab/Tactic/Basic.c ./Lean/Elab/Tactic/Binders.c ./Lean/Elab/Tactic/ElabTerm.c ./Lean/Elab/Tactic/Generalize.c ./Lean/Elab/Tactic/Induction.c ./Lean/Elab/Tactic/Injection.c ./Lean/Elab/Tactic/Location.c ./Lean/Elab/Tactic/Match.c ./Lean/Elab/Tactic/Rewrite.c ./Lean/Elab/Term.c ./Lean/Elab/Util.c ./Lean/Environment.c ./Lean/Eval.c ./Lean/Exception.c ./Lean/Expr.c ./Lean/HeadIndex.c ./Lean/Hygiene.c ./Lean/InternalExceptionId.c ./Lean/KeyedDeclsAttribute.c ./Lean/Level.c ./Lean/LocalContext.c ./Lean/Message.c ./Lean/Meta.c ./Lean/Meta/AbstractMVars.c ./Lean/Meta/AbstractNestedProofs.c ./Lean/Meta/AppBuilder.c ./Lean/Meta/Basic.c ./Lean/Meta/Check.c ./Lean/Meta/Closure.c ./Lean/Meta/CollectMVars.c ./Lean/Meta/DiscrTree.c ./Lean/Meta/DiscrTreeTypes.c ./Lean/Meta/ExprDefEq.c ./Lean/Meta/ForEachExpr.c ./Lean/Meta/FunInfo.c ./Lean/Meta/GeneralizeTelescope.c ./Lean/Meta/GetConst.c ./Lean/Meta/InferType.c ./Lean/Meta/Instances.c ./Lean/Meta/KAbstract.c ./Lean/Meta/LevelDefEq.c ./Lean/Meta/Match.c ./Lean/Meta/Match/Basic.c ./Lean/Meta/Match/CaseArraySizes.c ./Lean/Meta/Match/CaseValues.c ./Lean/Meta/Match/MVarRenaming.c ./Lean/Meta/Match/Match.c ./Lean/Meta/Match/MatchPatternAttr.c ./Lean/Meta/Match/MatcherInfo.c ./Lean/Meta/MatchUtil.c ./Lean/Meta/Offset.c ./Lean/Meta/PPGoal.c ./Lean/Meta/RecursorInfo.c ./Lean/Meta/Reduce.c ./Lean/Meta/ReduceEval.c ./Lean/Meta/SynthInstance.c ./Lean/Meta/Tactic.c ./Lean/Meta/Tactic/Apply.c ./Lean/Meta/Tactic/Assert.c ./Lean/Meta/Tactic/Assumption.c ./Lean/Meta/Tactic/Cases.c ./Lean/Meta/Tactic/Clear.c ./Lean/Meta/Tactic/Constructor.c ./Lean/Meta/Tactic/Delta.c ./Lean/Meta/Tactic/ElimInfo.c ./Lean/Meta/Tactic/FVarSubst.c ./Lean/Meta/Tactic/Generalize.c ./Lean/Meta/Tactic/Induction.c ./Lean/Meta/Tactic/Injection.c ./Lean/Meta/Tactic/Intro.c ./Lean/Meta/Tactic/Replace.c ./Lean/Meta/Tactic/Revert.c ./Lean/Meta/Tactic/Rewrite.c ./Lean/Meta/Tactic/Subst.c ./Lean/Meta/Tactic/Util.c ./Lean/Meta/Transform.c ./Lean/Meta/TransparencyMode.c ./Lean/Meta/UnificationHint.c ./Lean/Meta/WHNF.c ./Lean/MetavarContext.c ./Lean/Modifiers.c ./Lean/MonadEnv.c ./Lean/Parser.c ./Lean/Parser/Basic.c ./Lean/Parser/Command.c ./Lean/Parser/Do.c ./Lean/Parser/Extension.c ./Lean/Parser/Extra.c ./Lean/Parser/Level.c ./Lean/Parser/Module.c ./Lean/Parser/StrInterpolation.c ./Lean/Parser/Syntax.c ./Lean/Parser/Tactic.c ./Lean/Parser/Term.c ./Lean/Parser/Transform.c ./Lean/ParserCompiler.c ./Lean/ParserCompiler/Attribute.c ./Lean/PrettyPrinter.c ./Lean/PrettyPrinter/Basic.c ./Lean/PrettyPrinter/Delaborator.c ./Lean/PrettyPrinter/Delaborator/Basic.c ./Lean/PrettyPrinter/Delaborator/Builtins.c ./Lean/PrettyPrinter/Formatter.c ./Lean/PrettyPrinter/Parenthesizer.c ./Lean/ProjFns.c ./Lean/ReducibilityAttrs.c ./Lean/ResolveName.c ./Lean/Runtime.c ./Lean/Server.c ./Lean/Server/ServerBin.c ./Lean/Server/Snapshots.c ./Lean/Structure.c ./Lean/Syntax.c ./Lean/ToExpr.c ./Lean/Util.c ./Lean/Util/CollectFVars.c ./Lean/Util/CollectLevelParams.c ./Lean/Util/CollectMVars.c ./Lean/Util/Constructions.c ./Lean/Util/FindExpr.c ./Lean/Util/FindMVar.c ./Lean/Util/FoldConsts.c ./Lean/Util/ForEachExpr.c ./Lean/Util/MonadCache.c ./Lean/Util/PPExt.c ./Lean/Util/Path.c ./Lean/Util/Profile.c ./Lean/Util/RecDepth.c ./Lean/Util/Recognizers.c ./Lean/Util/ReplaceExpr.c ./Lean/Util/ReplaceLevel.c ./Lean/Util/SCC.c ./Lean/Util/Sorry.c ./Lean/Util/Trace.c ./Std.c ./Std/Data.c ./Std/Data/AssocList.c ./Std/Data/BinomialHeap.c ./Std/Data/DList.c ./Std/Data/HashMap.c ./Std/Data/HashSet.c ./Std/Data/PersistentArray.c ./Std/Data/PersistentHashMap.c ./Std/Data/PersistentHashSet.c ./Std/Data/Queue.c ./Std/Data/RBMap.c ./Std/Data/RBTree.c ./Std/Data/Stack.c ./Std/ShareCommon.c ) +add_library (stage0 OBJECT ./Init.c ./Init/Classical.c ./Init/Coe.c ./Init/Control.c ./Init/Control/Basic.c ./Init/Control/EState.c ./Init/Control/Except.c ./Init/Control/Id.c ./Init/Control/Option.c ./Init/Control/Reader.c ./Init/Control/State.c ./Init/Control/StateRef.c ./Init/Core.c ./Init/Data.c ./Init/Data/Array.c ./Init/Data/Array/Basic.c ./Init/Data/Array/BinSearch.c ./Init/Data/Array/QSort.c ./Init/Data/Array/Subarray.c ./Init/Data/Basic.c ./Init/Data/ByteArray.c ./Init/Data/ByteArray/Basic.c ./Init/Data/Char.c ./Init/Data/Char/Basic.c ./Init/Data/Fin.c ./Init/Data/Fin/Basic.c ./Init/Data/Float.c ./Init/Data/FloatArray.c ./Init/Data/FloatArray/Basic.c ./Init/Data/Hashable.c ./Init/Data/Int.c ./Init/Data/Int/Basic.c ./Init/Data/List.c ./Init/Data/List/Basic.c ./Init/Data/List/BasicAux.c ./Init/Data/List/Control.c ./Init/Data/Nat.c ./Init/Data/Nat/Basic.c ./Init/Data/Nat/Bitwise.c ./Init/Data/Nat/Control.c ./Init/Data/Nat/Div.c ./Init/Data/OfScientific.c ./Init/Data/Option.c ./Init/Data/Option/Basic.c ./Init/Data/Option/BasicAux.c ./Init/Data/Option/Instances.c ./Init/Data/Random.c ./Init/Data/Range.c ./Init/Data/Repr.c ./Init/Data/String.c ./Init/Data/String/Basic.c ./Init/Data/String/Extra.c ./Init/Data/ToString.c ./Init/Data/ToString/Basic.c ./Init/Data/ToString/Macro.c ./Init/Data/UInt.c ./Init/Fix.c ./Init/Meta.c ./Init/Notation.c ./Init/NotationExtra.c ./Init/Prelude.c ./Init/SizeOf.c ./Init/System.c ./Init/System/FilePath.c ./Init/System/IO.c ./Init/System/IOError.c ./Init/System/Platform.c ./Init/System/ST.c ./Init/Util.c ./Init/WF.c ./Lean.c ./Lean/Attributes.c ./Lean/AuxRecursor.c ./Lean/Class.c ./Lean/Compiler.c ./Lean/Compiler/BorrowedAnnotation.c ./Lean/Compiler/ClosedTermCache.c ./Lean/Compiler/ConstFolding.c ./Lean/Compiler/ExportAttr.c ./Lean/Compiler/ExternAttr.c ./Lean/Compiler/IR.c ./Lean/Compiler/IR/Basic.c ./Lean/Compiler/IR/Borrow.c ./Lean/Compiler/IR/Boxing.c ./Lean/Compiler/IR/Checker.c ./Lean/Compiler/IR/CompilerM.c ./Lean/Compiler/IR/CtorLayout.c ./Lean/Compiler/IR/ElimDeadBranches.c ./Lean/Compiler/IR/ElimDeadVars.c ./Lean/Compiler/IR/EmitC.c ./Lean/Compiler/IR/EmitUtil.c ./Lean/Compiler/IR/ExpandResetReuse.c ./Lean/Compiler/IR/Format.c ./Lean/Compiler/IR/FreeVars.c ./Lean/Compiler/IR/LiveVars.c ./Lean/Compiler/IR/NormIds.c ./Lean/Compiler/IR/PushProj.c ./Lean/Compiler/IR/RC.c ./Lean/Compiler/IR/ResetReuse.c ./Lean/Compiler/IR/SimpCase.c ./Lean/Compiler/IR/UnboxResult.c ./Lean/Compiler/ImplementedByAttr.c ./Lean/Compiler/InitAttr.c ./Lean/Compiler/InlineAttrs.c ./Lean/Compiler/NameMangling.c ./Lean/Compiler/NeverExtractAttr.c ./Lean/Compiler/Specialize.c ./Lean/Compiler/Util.c ./Lean/CoreM.c ./Lean/Data.c ./Lean/Data/Format.c ./Lean/Data/Json.c ./Lean/Data/Json/Basic.c ./Lean/Data/Json/FromToJson.c ./Lean/Data/Json/Parser.c ./Lean/Data/Json/Printer.c ./Lean/Data/Json/Stream.c ./Lean/Data/JsonRpc.c ./Lean/Data/KVMap.c ./Lean/Data/LBool.c ./Lean/Data/LOption.c ./Lean/Data/Lsp.c ./Lean/Data/Lsp/Basic.c ./Lean/Data/Lsp/Capabilities.c ./Lean/Data/Lsp/Communication.c ./Lean/Data/Lsp/Diagnostics.c ./Lean/Data/Lsp/Hover.c ./Lean/Data/Lsp/InitShutdown.c ./Lean/Data/Lsp/TextSync.c ./Lean/Data/Lsp/Utf16.c ./Lean/Data/Lsp/Workspace.c ./Lean/Data/Name.c ./Lean/Data/Occurrences.c ./Lean/Data/OpenDecl.c ./Lean/Data/Options.c ./Lean/Data/Position.c ./Lean/Data/SMap.c ./Lean/Data/Trie.c ./Lean/Declaration.c ./Lean/Elab.c ./Lean/Elab/App.c ./Lean/Elab/Attributes.c ./Lean/Elab/Binders.c ./Lean/Elab/BuiltinNotation.c ./Lean/Elab/CollectFVars.c ./Lean/Elab/Command.c ./Lean/Elab/DeclModifiers.c ./Lean/Elab/DeclUtil.c ./Lean/Elab/Declaration.c ./Lean/Elab/DefView.c ./Lean/Elab/Do.c ./Lean/Elab/Exception.c ./Lean/Elab/Frontend.c ./Lean/Elab/Import.c ./Lean/Elab/Inductive.c ./Lean/Elab/LetRec.c ./Lean/Elab/Level.c ./Lean/Elab/Log.c ./Lean/Elab/Match.c ./Lean/Elab/MutualDef.c ./Lean/Elab/PreDefinition.c ./Lean/Elab/PreDefinition/Basic.c ./Lean/Elab/PreDefinition/Main.c ./Lean/Elab/PreDefinition/MkInhabitant.c ./Lean/Elab/PreDefinition/Structural.c ./Lean/Elab/PreDefinition/WF.c ./Lean/Elab/Print.c ./Lean/Elab/Quotation.c ./Lean/Elab/StructInst.c ./Lean/Elab/Structure.c ./Lean/Elab/Syntax.c ./Lean/Elab/SyntheticMVars.c ./Lean/Elab/Tactic.c ./Lean/Elab/Tactic/Basic.c ./Lean/Elab/Tactic/Binders.c ./Lean/Elab/Tactic/ElabTerm.c ./Lean/Elab/Tactic/Generalize.c ./Lean/Elab/Tactic/Induction.c ./Lean/Elab/Tactic/Injection.c ./Lean/Elab/Tactic/Location.c ./Lean/Elab/Tactic/Match.c ./Lean/Elab/Tactic/Rewrite.c ./Lean/Elab/Term.c ./Lean/Elab/Util.c ./Lean/Environment.c ./Lean/Eval.c ./Lean/Exception.c ./Lean/Expr.c ./Lean/HeadIndex.c ./Lean/Hygiene.c ./Lean/InternalExceptionId.c ./Lean/KeyedDeclsAttribute.c ./Lean/Level.c ./Lean/LocalContext.c ./Lean/Message.c ./Lean/Meta.c ./Lean/Meta/AbstractMVars.c ./Lean/Meta/AbstractNestedProofs.c ./Lean/Meta/AppBuilder.c ./Lean/Meta/Basic.c ./Lean/Meta/Check.c ./Lean/Meta/Closure.c ./Lean/Meta/CollectMVars.c ./Lean/Meta/DiscrTree.c ./Lean/Meta/DiscrTreeTypes.c ./Lean/Meta/ExprDefEq.c ./Lean/Meta/ForEachExpr.c ./Lean/Meta/FunInfo.c ./Lean/Meta/GeneralizeTelescope.c ./Lean/Meta/GetConst.c ./Lean/Meta/InferType.c ./Lean/Meta/Instances.c ./Lean/Meta/KAbstract.c ./Lean/Meta/LevelDefEq.c ./Lean/Meta/Match.c ./Lean/Meta/Match/Basic.c ./Lean/Meta/Match/CaseArraySizes.c ./Lean/Meta/Match/CaseValues.c ./Lean/Meta/Match/MVarRenaming.c ./Lean/Meta/Match/Match.c ./Lean/Meta/Match/MatchPatternAttr.c ./Lean/Meta/Match/MatcherInfo.c ./Lean/Meta/MatchUtil.c ./Lean/Meta/Offset.c ./Lean/Meta/PPGoal.c ./Lean/Meta/RecursorInfo.c ./Lean/Meta/Reduce.c ./Lean/Meta/ReduceEval.c ./Lean/Meta/SynthInstance.c ./Lean/Meta/Tactic.c ./Lean/Meta/Tactic/Apply.c ./Lean/Meta/Tactic/Assert.c ./Lean/Meta/Tactic/Assumption.c ./Lean/Meta/Tactic/Cases.c ./Lean/Meta/Tactic/Clear.c ./Lean/Meta/Tactic/Constructor.c ./Lean/Meta/Tactic/Delta.c ./Lean/Meta/Tactic/ElimInfo.c ./Lean/Meta/Tactic/FVarSubst.c ./Lean/Meta/Tactic/Generalize.c ./Lean/Meta/Tactic/Induction.c ./Lean/Meta/Tactic/Injection.c ./Lean/Meta/Tactic/Intro.c ./Lean/Meta/Tactic/Replace.c ./Lean/Meta/Tactic/Revert.c ./Lean/Meta/Tactic/Rewrite.c ./Lean/Meta/Tactic/Subst.c ./Lean/Meta/Tactic/Util.c ./Lean/Meta/Transform.c ./Lean/Meta/TransparencyMode.c ./Lean/Meta/UnificationHint.c ./Lean/Meta/WHNF.c ./Lean/MetavarContext.c ./Lean/Modifiers.c ./Lean/MonadEnv.c ./Lean/Parser.c ./Lean/Parser/Basic.c ./Lean/Parser/Command.c ./Lean/Parser/Do.c ./Lean/Parser/Extension.c ./Lean/Parser/Extra.c ./Lean/Parser/Level.c ./Lean/Parser/Module.c ./Lean/Parser/StrInterpolation.c ./Lean/Parser/Syntax.c ./Lean/Parser/Tactic.c ./Lean/Parser/Term.c ./Lean/ParserCompiler.c ./Lean/ParserCompiler/Attribute.c ./Lean/PrettyPrinter.c ./Lean/PrettyPrinter/Basic.c ./Lean/PrettyPrinter/Delaborator.c ./Lean/PrettyPrinter/Delaborator/Basic.c ./Lean/PrettyPrinter/Delaborator/Builtins.c ./Lean/PrettyPrinter/Formatter.c ./Lean/PrettyPrinter/Parenthesizer.c ./Lean/ProjFns.c ./Lean/ReducibilityAttrs.c ./Lean/ResolveName.c ./Lean/Runtime.c ./Lean/Server.c ./Lean/Server/Snapshots.c ./Lean/Structure.c ./Lean/Syntax.c ./Lean/ToExpr.c ./Lean/Util.c ./Lean/Util/CollectFVars.c ./Lean/Util/CollectLevelParams.c ./Lean/Util/CollectMVars.c ./Lean/Util/Constructions.c ./Lean/Util/FindExpr.c ./Lean/Util/FindMVar.c ./Lean/Util/FoldConsts.c ./Lean/Util/ForEachExpr.c ./Lean/Util/MonadCache.c ./Lean/Util/PPExt.c ./Lean/Util/Path.c ./Lean/Util/Profile.c ./Lean/Util/RecDepth.c ./Lean/Util/Recognizers.c ./Lean/Util/ReplaceExpr.c ./Lean/Util/ReplaceLevel.c ./Lean/Util/SCC.c ./Lean/Util/Sorry.c ./Lean/Util/Trace.c ./Std.c ./Std/Data.c ./Std/Data/AssocList.c ./Std/Data/BinomialHeap.c ./Std/Data/DList.c ./Std/Data/HashMap.c ./Std/Data/HashSet.c ./Std/Data/PersistentArray.c ./Std/Data/PersistentHashMap.c ./Std/Data/PersistentHashSet.c ./Std/Data/Queue.c ./Std/Data/RBMap.c ./Std/Data/RBTree.c ./Std/Data/Stack.c ./Std/ShareCommon.c ) diff --git a/stage0/stdlib/Lean/Elab/Frontend.c b/stage0/stdlib/Lean/Elab/Frontend.c index 5685733040..41bfa00f87 100644 --- a/stage0/stdlib/Lean/Elab/Frontend.c +++ b/stage0/stdlib/Lean/Elab/Frontend.c @@ -14,6 +14,7 @@ extern "C" { #endif lean_object* l_Lean_Elab_runFrontend_match__2___rarg(lean_object*, 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* l_Lean_Elab_IO_processCommands_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_parseHeader(lean_object*, lean_object*); @@ -41,7 +42,7 @@ extern lean_object* l_Lean_Elab_parseImports___closed__1; lean_object* l_Lean_Elab_runFrontend_match__1___rarg(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* l_Lean_Elab_Frontend_processCommand___lambda__1___boxed(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_Frontend_getInputContext___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Frontend_setParserState___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -70,7 +71,7 @@ lean_object* l_Lean_Elab_Frontend_getCommandState(lean_object*); lean_object* l_Lean_Elab_Frontend_getParserState(lean_object*); lean_object* l_Lean_Elab_Frontend_getParserState___rarg(lean_object*, lean_object*); lean_object* lean_process_input(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Frontend_processCommand___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Frontend_processCommand___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Frontend_runCommandElabM_match__2(lean_object*); lean_object* l_Lean_Elab_IO_processCommands_match__1(lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); @@ -1008,16 +1009,14 @@ x_2 = lean_alloc_closure((void*)(l_Lean_profileitM___at_Lean_Elab_Frontend_proce return x_2; } } -lean_object* l_Lean_Elab_Frontend_processCommand___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_Frontend_processCommand___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_5; lean_object* x_6; lean_object* x_7; -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); +lean_object* x_6; lean_object* x_7; x_6 = lean_ctor_get(x_1, 1); lean_inc(x_6); lean_dec(x_1); -x_7 = l_Lean_Parser_parseCommand_parse(x_5, x_2, x_3, x_6); +x_7 = l_Lean_Parser_parseCommand_parse(x_2, x_3, x_4, x_6); return x_7; } } @@ -1040,7 +1039,7 @@ return x_1; lean_object* l_Lean_Elab_Frontend_processCommand(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_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; +lean_object* x_4; lean_object* x_5; lean_object* 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; uint8_t x_31; x_4 = l_Lean_Elab_Frontend_updateCmdPos___rarg(x_2, x_3); x_5 = lean_ctor_get(x_4, 1); lean_inc(x_5); @@ -1057,394 +1056,410 @@ 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_1, 2); +x_12 = lean_ctor_get(x_7, 0); lean_inc(x_12); -x_13 = lean_ctor_get(x_10, 0); +x_13 = lean_ctor_get(x_7, 2); lean_inc(x_13); -x_14 = l_Lean_FileMap_toPosition(x_12, x_13); -lean_dec(x_12); -lean_inc(x_1); -x_15 = lean_alloc_closure((void*)(l_Lean_Elab_Frontend_processCommand___lambda__1___boxed), 4, 3); -lean_closure_set(x_15, 0, x_7); -lean_closure_set(x_15, 1, x_1); -lean_closure_set(x_15, 2, x_10); -x_16 = l_Lean_Elab_Frontend_processCommand___closed__1; -x_17 = lean_profileit(x_16, x_14, x_15); -x_18 = lean_ctor_get(x_17, 1); +x_14 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_13); +lean_dec(x_13); +x_15 = lean_ctor_get(x_14, 3); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 4); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_17, 0, x_12); +lean_ctor_set(x_17, 1, x_15); +lean_ctor_set(x_17, 2, x_16); +x_18 = lean_ctor_get(x_1, 2); lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 0); +x_19 = lean_ctor_get(x_10, 0); lean_inc(x_19); -lean_dec(x_17); -x_20 = lean_ctor_get(x_18, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_18, 1); -lean_inc(x_21); +x_20 = l_Lean_FileMap_toPosition(x_18, x_19); lean_dec(x_18); -x_22 = lean_st_ref_take(x_2, x_11); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_1); +x_21 = lean_alloc_closure((void*)(l_Lean_Elab_Frontend_processCommand___lambda__1___boxed), 5, 4); +lean_closure_set(x_21, 0, x_7); +lean_closure_set(x_21, 1, x_1); +lean_closure_set(x_21, 2, x_17); +lean_closure_set(x_21, 3, x_10); +x_22 = l_Lean_Elab_Frontend_processCommand___closed__1; +x_23 = lean_profileit(x_22, x_20, x_21); +x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); -lean_dec(x_22); -x_25 = !lean_is_exclusive(x_23); -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; uint8_t x_33; -x_26 = lean_ctor_get(x_23, 3); -lean_inc(x_19); -x_27 = lean_array_push(x_26, x_19); -lean_ctor_set(x_23, 3, x_27); -x_28 = lean_st_ref_set(x_2, x_23, x_24); -x_29 = lean_ctor_get(x_28, 1); +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_ctor_get(x_24, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_24, 1); +lean_inc(x_27); +lean_dec(x_24); +x_28 = lean_st_ref_take(x_2, x_11); +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_30 = l_Lean_Elab_Frontend_setParserState(x_20, x_1, x_2, x_29); -x_31 = lean_ctor_get(x_30, 1); -lean_inc(x_31); -lean_dec(x_30); -x_32 = l_Lean_Elab_Frontend_setMessages(x_21, x_1, x_2, x_31); -x_33 = !lean_is_exclusive(x_32); -if (x_33 == 0) +x_31 = !lean_is_exclusive(x_29); +if (x_31 == 0) { -lean_object* x_34; lean_object* x_35; uint8_t x_36; -x_34 = lean_ctor_get(x_32, 1); -x_35 = lean_ctor_get(x_32, 0); -lean_dec(x_35); -lean_inc(x_19); -x_36 = l_Lean_Parser_isEOI(x_19); -if (x_36 == 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; uint8_t x_39; +x_32 = lean_ctor_get(x_29, 3); +lean_inc(x_25); +x_33 = lean_array_push(x_32, x_25); +lean_ctor_set(x_29, 3, x_33); +x_34 = lean_st_ref_set(x_2, x_29, x_30); +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +lean_dec(x_34); +x_36 = l_Lean_Elab_Frontend_setParserState(x_26, x_1, x_2, x_35); +x_37 = lean_ctor_get(x_36, 1); +lean_inc(x_37); +lean_dec(x_36); +x_38 = l_Lean_Elab_Frontend_setMessages(x_27, x_1, x_2, x_37); +x_39 = !lean_is_exclusive(x_38); +if (x_39 == 0) { -uint8_t x_37; -lean_inc(x_19); -x_37 = l_Lean_Parser_isExitCommand(x_19); -if (x_37 == 0) +lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_40 = lean_ctor_get(x_38, 1); +x_41 = lean_ctor_get(x_38, 0); +lean_dec(x_41); +lean_inc(x_25); +x_42 = l_Lean_Parser_isEOI(x_25); +if (x_42 == 0) { -lean_object* x_38; lean_object* x_39; lean_object* x_40; -lean_free_object(x_32); -x_38 = lean_alloc_closure((void*)(l_Lean_Elab_Frontend_elabCommandAtFrontend___boxed), 4, 1); -lean_closure_set(x_38, 0, x_19); -x_39 = l_Lean_Elab_Frontend_processCommand___closed__2; -x_40 = l_Lean_profileitM___at_Lean_Elab_Frontend_processCommand___spec__1___rarg(x_39, x_14, x_38, x_1, x_2, x_34); -lean_dec(x_14); -if (lean_obj_tag(x_40) == 0) +uint8_t x_43; +lean_inc(x_25); +x_43 = l_Lean_Parser_isExitCommand(x_25); +if (x_43 == 0) { -uint8_t x_41; -x_41 = !lean_is_exclusive(x_40); -if (x_41 == 0) +lean_object* x_44; lean_object* x_45; lean_object* x_46; +lean_free_object(x_38); +x_44 = lean_alloc_closure((void*)(l_Lean_Elab_Frontend_elabCommandAtFrontend___boxed), 4, 1); +lean_closure_set(x_44, 0, x_25); +x_45 = l_Lean_Elab_Frontend_processCommand___closed__2; +x_46 = l_Lean_profileitM___at_Lean_Elab_Frontend_processCommand___spec__1___rarg(x_45, x_20, x_44, x_1, x_2, x_40); +lean_dec(x_20); +if (lean_obj_tag(x_46) == 0) { -lean_object* x_42; uint8_t x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_40, 0); -lean_dec(x_42); -x_43 = 0; -x_44 = lean_box(x_43); -lean_ctor_set(x_40, 0, x_44); -return x_40; +uint8_t x_47; +x_47 = !lean_is_exclusive(x_46); +if (x_47 == 0) +{ +lean_object* x_48; uint8_t x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_46, 0); +lean_dec(x_48); +x_49 = 0; +x_50 = lean_box(x_49); +lean_ctor_set(x_46, 0, x_50); +return x_46; } else { -lean_object* x_45; uint8_t x_46; lean_object* x_47; lean_object* x_48; -x_45 = lean_ctor_get(x_40, 1); -lean_inc(x_45); -lean_dec(x_40); -x_46 = 0; -x_47 = lean_box(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_45); -return x_48; -} -} -else -{ -uint8_t x_49; -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_object* x_51; uint8_t x_52; lean_object* x_53; lean_object* x_54; +x_51 = lean_ctor_get(x_46, 1); lean_inc(x_51); -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; -} -} -} -else -{ -uint8_t x_53; lean_object* x_54; -lean_dec(x_19); -lean_dec(x_14); -lean_dec(x_2); -lean_dec(x_1); -x_53 = 1; -x_54 = lean_box(x_53); -lean_ctor_set(x_32, 0, x_54); -return x_32; +lean_dec(x_46); +x_52 = 0; +x_53 = lean_box(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_51); +return x_54; } } else { -uint8_t x_55; lean_object* x_56; -lean_dec(x_19); -lean_dec(x_14); -lean_dec(x_2); -lean_dec(x_1); -x_55 = 1; -x_56 = lean_box(x_55); -lean_ctor_set(x_32, 0, x_56); -return x_32; -} +uint8_t x_55; +x_55 = !lean_is_exclusive(x_46); +if (x_55 == 0) +{ +return x_46; } else { -lean_object* x_57; uint8_t x_58; -x_57 = lean_ctor_get(x_32, 1); +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_46, 0); +x_57 = lean_ctor_get(x_46, 1); lean_inc(x_57); -lean_dec(x_32); -lean_inc(x_19); -x_58 = l_Lean_Parser_isEOI(x_19); -if (x_58 == 0) -{ -uint8_t x_59; -lean_inc(x_19); -x_59 = l_Lean_Parser_isExitCommand(x_19); -if (x_59 == 0) -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_alloc_closure((void*)(l_Lean_Elab_Frontend_elabCommandAtFrontend___boxed), 4, 1); -lean_closure_set(x_60, 0, x_19); -x_61 = l_Lean_Elab_Frontend_processCommand___closed__2; -x_62 = l_Lean_profileitM___at_Lean_Elab_Frontend_processCommand___spec__1___rarg(x_61, x_14, x_60, x_1, x_2, x_57); -lean_dec(x_14); -if (lean_obj_tag(x_62) == 0) -{ -lean_object* x_63; lean_object* x_64; uint8_t x_65; lean_object* x_66; lean_object* x_67; -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); +lean_inc(x_56); +lean_dec(x_46); +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; } -x_65 = 0; -x_66 = lean_box(x_65); -if (lean_is_scalar(x_64)) { - x_67 = lean_alloc_ctor(0, 2, 0); -} else { - x_67 = x_64; } -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_63); -return x_67; } else { -lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_68 = lean_ctor_get(x_62, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_62, 1); +uint8_t x_59; lean_object* x_60; +lean_dec(x_25); +lean_dec(x_20); +lean_dec(x_2); +lean_dec(x_1); +x_59 = 1; +x_60 = lean_box(x_59); +lean_ctor_set(x_38, 0, x_60); +return x_38; +} +} +else +{ +uint8_t x_61; lean_object* x_62; +lean_dec(x_25); +lean_dec(x_20); +lean_dec(x_2); +lean_dec(x_1); +x_61 = 1; +x_62 = lean_box(x_61); +lean_ctor_set(x_38, 0, x_62); +return x_38; +} +} +else +{ +lean_object* x_63; uint8_t x_64; +x_63 = lean_ctor_get(x_38, 1); +lean_inc(x_63); +lean_dec(x_38); +lean_inc(x_25); +x_64 = l_Lean_Parser_isEOI(x_25); +if (x_64 == 0) +{ +uint8_t x_65; +lean_inc(x_25); +x_65 = l_Lean_Parser_isExitCommand(x_25); +if (x_65 == 0) +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_alloc_closure((void*)(l_Lean_Elab_Frontend_elabCommandAtFrontend___boxed), 4, 1); +lean_closure_set(x_66, 0, x_25); +x_67 = l_Lean_Elab_Frontend_processCommand___closed__2; +x_68 = l_Lean_profileitM___at_Lean_Elab_Frontend_processCommand___spec__1___rarg(x_67, x_20, x_66, x_1, x_2, x_63); +lean_dec(x_20); +if (lean_obj_tag(x_68) == 0) +{ +lean_object* x_69; lean_object* x_70; uint8_t x_71; lean_object* x_72; lean_object* x_73; +x_69 = lean_ctor_get(x_68, 1); lean_inc(x_69); -if (lean_is_exclusive(x_62)) { - lean_ctor_release(x_62, 0); - lean_ctor_release(x_62, 1); - x_70 = x_62; +if (lean_is_exclusive(x_68)) { + lean_ctor_release(x_68, 0); + lean_ctor_release(x_68, 1); + x_70 = x_68; } else { - lean_dec_ref(x_62); + lean_dec_ref(x_68); x_70 = lean_box(0); } +x_71 = 0; +x_72 = lean_box(x_71); if (lean_is_scalar(x_70)) { - x_71 = lean_alloc_ctor(1, 2, 0); + x_73 = lean_alloc_ctor(0, 2, 0); } else { - x_71 = x_70; -} -lean_ctor_set(x_71, 0, x_68); -lean_ctor_set(x_71, 1, x_69); -return x_71; + x_73 = x_70; } +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_69); +return x_73; } else { -uint8_t x_72; lean_object* x_73; lean_object* x_74; -lean_dec(x_19); -lean_dec(x_14); -lean_dec(x_2); -lean_dec(x_1); -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_57); -return x_74; +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_74 = lean_ctor_get(x_68, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_68, 1); +lean_inc(x_75); +if (lean_is_exclusive(x_68)) { + lean_ctor_release(x_68, 0); + lean_ctor_release(x_68, 1); + x_76 = x_68; +} else { + lean_dec_ref(x_68); + x_76 = lean_box(0); } +if (lean_is_scalar(x_76)) { + x_77 = lean_alloc_ctor(1, 2, 0); +} else { + x_77 = x_76; } -else -{ -uint8_t x_75; lean_object* x_76; lean_object* x_77; -lean_dec(x_19); -lean_dec(x_14); -lean_dec(x_2); -lean_dec(x_1); -x_75 = 1; -x_76 = lean_box(x_75); -x_77 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_77, 1, x_57); +lean_ctor_set(x_77, 0, x_74); +lean_ctor_set(x_77, 1, x_75); return x_77; } } +else +{ +uint8_t x_78; lean_object* x_79; lean_object* x_80; +lean_dec(x_25); +lean_dec(x_20); +lean_dec(x_2); +lean_dec(x_1); +x_78 = 1; +x_79 = lean_box(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_63); +return x_80; +} } 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; uint8_t x_91; -x_78 = lean_ctor_get(x_23, 0); -x_79 = lean_ctor_get(x_23, 1); -x_80 = lean_ctor_get(x_23, 2); -x_81 = lean_ctor_get(x_23, 3); -lean_inc(x_81); -lean_inc(x_80); -lean_inc(x_79); -lean_inc(x_78); -lean_dec(x_23); -lean_inc(x_19); -x_82 = lean_array_push(x_81, x_19); -x_83 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_83, 0, x_78); -lean_ctor_set(x_83, 1, x_79); -lean_ctor_set(x_83, 2, x_80); -lean_ctor_set(x_83, 3, x_82); -x_84 = lean_st_ref_set(x_2, x_83, x_24); -x_85 = lean_ctor_get(x_84, 1); -lean_inc(x_85); -lean_dec(x_84); -x_86 = l_Lean_Elab_Frontend_setParserState(x_20, x_1, x_2, x_85); -x_87 = lean_ctor_get(x_86, 1); +uint8_t x_81; lean_object* x_82; lean_object* x_83; +lean_dec(x_25); +lean_dec(x_20); +lean_dec(x_2); +lean_dec(x_1); +x_81 = 1; +x_82 = lean_box(x_81); +x_83 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_83, 0, x_82); +lean_ctor_set(x_83, 1, x_63); +return x_83; +} +} +} +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; uint8_t x_97; +x_84 = lean_ctor_get(x_29, 0); +x_85 = lean_ctor_get(x_29, 1); +x_86 = lean_ctor_get(x_29, 2); +x_87 = lean_ctor_get(x_29, 3); lean_inc(x_87); -lean_dec(x_86); -x_88 = l_Lean_Elab_Frontend_setMessages(x_21, x_1, x_2, x_87); -x_89 = lean_ctor_get(x_88, 1); -lean_inc(x_89); -if (lean_is_exclusive(x_88)) { - lean_ctor_release(x_88, 0); - lean_ctor_release(x_88, 1); - x_90 = x_88; -} else { - lean_dec_ref(x_88); - x_90 = lean_box(0); -} -lean_inc(x_19); -x_91 = l_Lean_Parser_isEOI(x_19); -if (x_91 == 0) -{ -uint8_t x_92; -lean_inc(x_19); -x_92 = l_Lean_Parser_isExitCommand(x_19); -if (x_92 == 0) -{ -lean_object* x_93; lean_object* x_94; lean_object* x_95; +lean_inc(x_86); +lean_inc(x_85); +lean_inc(x_84); +lean_dec(x_29); +lean_inc(x_25); +x_88 = lean_array_push(x_87, x_25); +x_89 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_89, 0, x_84); +lean_ctor_set(x_89, 1, x_85); +lean_ctor_set(x_89, 2, x_86); +lean_ctor_set(x_89, 3, x_88); +x_90 = lean_st_ref_set(x_2, x_89, x_30); +x_91 = lean_ctor_get(x_90, 1); +lean_inc(x_91); lean_dec(x_90); -x_93 = lean_alloc_closure((void*)(l_Lean_Elab_Frontend_elabCommandAtFrontend___boxed), 4, 1); -lean_closure_set(x_93, 0, x_19); -x_94 = l_Lean_Elab_Frontend_processCommand___closed__2; -x_95 = l_Lean_profileitM___at_Lean_Elab_Frontend_processCommand___spec__1___rarg(x_94, x_14, x_93, x_1, x_2, x_89); -lean_dec(x_14); -if (lean_obj_tag(x_95) == 0) -{ -lean_object* x_96; lean_object* x_97; uint8_t x_98; lean_object* x_99; lean_object* x_100; -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; +x_92 = l_Lean_Elab_Frontend_setParserState(x_26, x_1, x_2, x_91); +x_93 = lean_ctor_get(x_92, 1); +lean_inc(x_93); +lean_dec(x_92); +x_94 = l_Lean_Elab_Frontend_setMessages(x_27, x_1, x_2, x_93); +x_95 = lean_ctor_get(x_94, 1); +lean_inc(x_95); +if (lean_is_exclusive(x_94)) { + lean_ctor_release(x_94, 0); + lean_ctor_release(x_94, 1); + x_96 = x_94; } else { - lean_dec_ref(x_95); - x_97 = lean_box(0); + lean_dec_ref(x_94); + x_96 = lean_box(0); } -x_98 = 0; -x_99 = lean_box(x_98); -if (lean_is_scalar(x_97)) { - x_100 = lean_alloc_ctor(0, 2, 0); -} else { - x_100 = x_97; -} -lean_ctor_set(x_100, 0, x_99); -lean_ctor_set(x_100, 1, x_96); -return x_100; -} -else +lean_inc(x_25); +x_97 = l_Lean_Parser_isEOI(x_25); +if (x_97 == 0) { -lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_101 = lean_ctor_get(x_95, 0); -lean_inc(x_101); -x_102 = lean_ctor_get(x_95, 1); +uint8_t x_98; +lean_inc(x_25); +x_98 = l_Lean_Parser_isExitCommand(x_25); +if (x_98 == 0) +{ +lean_object* x_99; lean_object* x_100; lean_object* x_101; +lean_dec(x_96); +x_99 = lean_alloc_closure((void*)(l_Lean_Elab_Frontend_elabCommandAtFrontend___boxed), 4, 1); +lean_closure_set(x_99, 0, x_25); +x_100 = l_Lean_Elab_Frontend_processCommand___closed__2; +x_101 = l_Lean_profileitM___at_Lean_Elab_Frontend_processCommand___spec__1___rarg(x_100, x_20, x_99, x_1, x_2, x_95); +lean_dec(x_20); +if (lean_obj_tag(x_101) == 0) +{ +lean_object* x_102; lean_object* x_103; uint8_t x_104; lean_object* x_105; lean_object* x_106; +x_102 = lean_ctor_get(x_101, 1); lean_inc(x_102); -if (lean_is_exclusive(x_95)) { - lean_ctor_release(x_95, 0); - lean_ctor_release(x_95, 1); - x_103 = x_95; +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_95); + lean_dec_ref(x_101); x_103 = lean_box(0); } +x_104 = 0; +x_105 = lean_box(x_104); if (lean_is_scalar(x_103)) { - x_104 = lean_alloc_ctor(1, 2, 0); + x_106 = lean_alloc_ctor(0, 2, 0); } else { - x_104 = x_103; -} -lean_ctor_set(x_104, 0, x_101); -lean_ctor_set(x_104, 1, x_102); -return x_104; + x_106 = x_103; } +lean_ctor_set(x_106, 0, x_105); +lean_ctor_set(x_106, 1, x_102); +return x_106; } else { -uint8_t x_105; lean_object* x_106; lean_object* x_107; -lean_dec(x_19); -lean_dec(x_14); -lean_dec(x_2); -lean_dec(x_1); -x_105 = 1; -x_106 = lean_box(x_105); -if (lean_is_scalar(x_90)) { - x_107 = lean_alloc_ctor(0, 2, 0); +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; +x_107 = lean_ctor_get(x_101, 0); +lean_inc(x_107); +x_108 = lean_ctor_get(x_101, 1); +lean_inc(x_108); +if (lean_is_exclusive(x_101)) { + lean_ctor_release(x_101, 0); + lean_ctor_release(x_101, 1); + x_109 = x_101; } else { - x_107 = x_90; + lean_dec_ref(x_101); + x_109 = lean_box(0); } -lean_ctor_set(x_107, 0, x_106); -lean_ctor_set(x_107, 1, x_89); -return x_107; -} -} -else -{ -uint8_t x_108; lean_object* x_109; lean_object* x_110; -lean_dec(x_19); -lean_dec(x_14); -lean_dec(x_2); -lean_dec(x_1); -x_108 = 1; -x_109 = lean_box(x_108); -if (lean_is_scalar(x_90)) { - x_110 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_109)) { + x_110 = lean_alloc_ctor(1, 2, 0); } else { - x_110 = x_90; + x_110 = x_109; } -lean_ctor_set(x_110, 0, x_109); -lean_ctor_set(x_110, 1, x_89); +lean_ctor_set(x_110, 0, x_107); +lean_ctor_set(x_110, 1, x_108); return x_110; } } +else +{ +uint8_t x_111; lean_object* x_112; lean_object* x_113; +lean_dec(x_25); +lean_dec(x_20); +lean_dec(x_2); +lean_dec(x_1); +x_111 = 1; +x_112 = lean_box(x_111); +if (lean_is_scalar(x_96)) { + x_113 = lean_alloc_ctor(0, 2, 0); +} else { + x_113 = x_96; +} +lean_ctor_set(x_113, 0, x_112); +lean_ctor_set(x_113, 1, x_95); +return x_113; +} +} +else +{ +uint8_t x_114; lean_object* x_115; lean_object* x_116; +lean_dec(x_25); +lean_dec(x_20); +lean_dec(x_2); +lean_dec(x_1); +x_114 = 1; +x_115 = lean_box(x_114); +if (lean_is_scalar(x_96)) { + x_116 = lean_alloc_ctor(0, 2, 0); +} else { + x_116 = x_96; +} +lean_ctor_set(x_116, 0, x_115); +lean_ctor_set(x_116, 1, x_95); +return x_116; +} +} } } lean_object* l_Lean_profileitM___at_Lean_Elab_Frontend_processCommand___spec__1___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) { @@ -1457,13 +1472,13 @@ lean_dec(x_1); return x_7; } } -lean_object* l_Lean_Elab_Frontend_processCommand___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_Frontend_processCommand___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_5; -x_5 = l_Lean_Elab_Frontend_processCommand___lambda__1(x_1, x_2, x_3, x_4); -lean_dec(x_4); -return x_5; +lean_object* x_6; +x_6 = l_Lean_Elab_Frontend_processCommand___lambda__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_5); +return x_6; } } lean_object* l_Lean_Elab_Frontend_processCommands(lean_object* x_1, lean_object* x_2, lean_object* x_3) { diff --git a/stage0/stdlib/Lean/Elab/Syntax.c b/stage0/stdlib/Lean/Elab/Syntax.c index c72bf5f577..d60467a4b1 100644 --- a/stage0/stdlib/Lean/Elab/Syntax.c +++ b/stage0/stdlib/Lean/Elab/Syntax.c @@ -43,7 +43,6 @@ lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* lean_erase_macro_scopes(lean_object*); extern lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax___closed__2; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_elabKindPrio___closed__8; -extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3885____closed__1; 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___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* l_Lean_stringToMessageData(lean_object*); @@ -95,6 +94,7 @@ lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__14; lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Lean_Elab_Command_mkSimpleDelab_go___closed__3; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__28; +extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3887____closed__1; lean_object* lean_io_error_to_string(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__1; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__12; @@ -256,7 +256,6 @@ lean_object* l_Lean_Elab_Command_expandMixfix___closed__21; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; lean_object* l_Lean_Elab_Command_expandElab___closed__28; lean_object* l_Lean_Elab_Command_expandElab___closed__14; -extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1161____closed__6; 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*); lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__37; @@ -272,6 +271,7 @@ lean_object* l_Lean_Elab_Command_expandMixfix___closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_54____closed__5; lean_object* l_Lean_Elab_Command_expandElab___closed__3; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; lean_object* l_Lean_Elab_Term_expandOptPrecedence___boxed(lean_object*); lean_object* l_Lean_Elab_Command_expandElab___closed__15; lean_object* l___regBuiltin_Lean_Elab_Command_elabElab___closed__2; @@ -507,6 +507,7 @@ lean_object* l_Lean_Elab_Command_mkSimpleDelab_go___closed__8; lean_object* l_Lean_Elab_Command_expandMixfix___closed__11; 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*); lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__25; +extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3887____closed__2; lean_object* l_Lean_Elab_Command_mkSimpleDelab_go___closed__17; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__50; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__11; @@ -532,7 +533,6 @@ uint8_t l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote___lambda__1( lean_object* l_Lean_Elab_Command_expandElab___closed__25; 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*); lean_object* l_Lean_Elab_Term_elabBinders___rarg___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_Parser_initFn____x40_Lean_Parser_Extension___hyg_3885____closed__2; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_elabKindPrio(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_DiscrTree_Trie_format___rarg___closed__1; lean_object* l_Lean_Elab_Command_elabMacro(lean_object*, lean_object*, lean_object*, lean_object*); @@ -9619,7 +9619,7 @@ static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_decl _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3885____closed__1; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3887____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } @@ -9628,7 +9628,7 @@ static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_decl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3885____closed__1; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3887____closed__1; x_2 = lean_unsigned_to_nat(0u); x_3 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__3; x_4 = lean_alloc_ctor(0, 3, 0); @@ -10031,7 +10031,7 @@ lean_inc(x_16); x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); lean_dec(x_15); -x_18 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3885____closed__2; +x_18 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3887____closed__2; lean_inc(x_13); lean_inc(x_16); x_19 = l_Lean_addMacroScope(x_16, x_18, x_13); @@ -25958,7 +25958,7 @@ x_60 = lean_name_eq(x_22, x_59); if (x_60 == 0) { lean_object* x_61; uint8_t x_62; -x_61 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_61 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_62 = lean_name_eq(x_22, x_61); if (x_62 == 0) { @@ -27109,7 +27109,7 @@ x_729 = lean_name_eq(x_22, x_728); if (x_729 == 0) { lean_object* x_730; uint8_t x_731; -x_730 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_730 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_731 = lean_name_eq(x_22, x_730); if (x_731 == 0) { diff --git a/stage0/stdlib/Lean/Parser/Basic.c b/stage0/stdlib/Lean/Parser/Basic.c index 67c91c942d..2efe64f744 100644 --- a/stage0/stdlib/Lean/Parser/Basic.c +++ b/stage0/stdlib/Lean/Parser/Basic.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Parser.Basic -// Imports: Init Lean.Data.Trie Lean.Data.Position Lean.Syntax Lean.ToExpr Lean.Environment Lean.Attributes Lean.Message Lean.Compiler.InitAttr +// Imports: Init Lean.Data.Trie Lean.Data.Position Lean.Syntax Lean.ToExpr Lean.Environment Lean.Attributes Lean.Message Lean.Compiler.InitAttr Lean.ResolveName #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -60,6 +60,7 @@ lean_object* l_Lean_Parser_indexed_match__2(lean_object*, lean_object*); lean_object* lean_nat_div(lean_object*, lean_object*); lean_object* l_Lean_Parser_eoi___closed__2; lean_object* l_Lean_Parser_eoi___closed__1; +lean_object* l_Lean_Parser_parserOfStack___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_decimalNumberFn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_notFollowedByFn___closed__1; lean_object* l_Lean_Parser_ParserState_keepNewError_match__1___rarg(lean_object*, lean_object*); @@ -68,6 +69,7 @@ extern lean_object* l_Lean_nullKind; lean_object* l_Lean_Parser_Parser_info___default___closed__3; lean_object* l_Lean_Parser_leadPrec; lean_object* l_Lean_Parser_notFollowedByFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6101____closed__1; lean_object* l_Lean_Parser_strLitNoAntiquot; lean_object* l_Lean_Parser_octalNumberFn___closed__1; lean_object* l_Lean_Parser_many(lean_object*); @@ -79,6 +81,7 @@ lean_object* lean_name_mk_string(lean_object*, lean_object*); extern lean_object* l_Lean_fieldIdxKind___closed__2; lean_object* l_Lean_Parser_checkTailWs_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_strAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_54____closed__3; uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Lean_Parser_eoi; @@ -102,6 +105,7 @@ uint8_t l_Lean_Name_quickLt(lean_object*, lean_object*); uint8_t l_Lean_Parser_isQuotableCharDefault(uint32_t); lean_object* l_Lean_Parser_charLit; lean_object* l_Lean_Parser_hexNumberFn___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_parserOfStackFnUnsafe_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_find___at_Lean_Parser_indexed___spec__2(lean_object*); lean_object* l_Lean_Parser_numLit___elambda__1___closed__1; lean_object* l_Lean_Parser_longestMatchFn(lean_object*, lean_object*, lean_object*, lean_object*); @@ -142,6 +146,7 @@ lean_object* l_Lean_Parser_PrattParsingTables_leadingTable___default; extern lean_object* l_Array_empty___closed__1; lean_object* l_Lean_Parser_ParserState_pushSyntax(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot___closed__17; +lean_object* l_Lean_Parser_parserOfStackFnUnsafe_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_nonReservedSymbolInfo___closed__2; lean_object* l_Lean_Parser_ident; lean_object* l_Lean_Parser_anyOfFn_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -230,7 +235,6 @@ lean_object* l_Lean_Parser_symbolInfo___elambda__1(lean_object*); lean_object* l_Lean_Parser_nonReservedSymbol(lean_object*, uint8_t); lean_object* l_Lean_Parser_symbolFnAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkNodeToken___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6042____lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_checkPrecFn___closed__1; lean_object* l_Lean_Parser_TokenCacheEntry_startPos___default; lean_object* l_Lean_Parser_initCacheForInput___boxed(lean_object*); @@ -269,13 +273,12 @@ lean_object* l_Lean_Parser_mkAntiquot___closed__3; lean_object* l_Lean_Parser_many1Fn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_satisfyFn(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_rawIdent___closed__3; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6042____closed__1; +lean_object* l_Lean_Parser_parserOfStackFnUnsafe_match__2(lean_object*); lean_object* l_Lean_Parser_identEqFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toStringWithSep(lean_object*, lean_object*); lean_object* l_Lean_Parser_optional(lean_object*); lean_object* l_Lean_Parser_indexed_match__5___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_antiquotExpr___closed__2; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6061____lambda__1(lean_object*); lean_object* l_Lean_Parser_ParserState_keepLatest_match__1(lean_object*); lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__3; lean_object* l_Lean_Parser_instInhabitedParserCategory; @@ -302,6 +305,7 @@ lean_object* l_Lean_Parser_octalNumberFn___lambda__1___boxed(lean_object*); lean_object* l_Lean_Parser_mkAntiquot___closed__15; lean_object* l_Lean_Parser_atomicFn_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_decimalNumberFn(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6082____closed__1; lean_object* l_Lean_Parser_takeWhileFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_numLit___closed__2; uint8_t l___private_Lean_Parser_Basic_0__Lean_Parser_isToken(lean_object*, lean_object*, lean_object*); @@ -378,12 +382,14 @@ lean_object* lean_array_swap(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_strLitKind; lean_object* l_Lean_Parser_nonReservedSymbolInfo(lean_object*, uint8_t); lean_object* l_Lean_Parser_runLongestMatchParser_match__1(lean_object*); +lean_object* l_Lean_Parser_parserOfStackFnUnsafe(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_finishCommentBlock___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_checkNoWsBefore___elambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_foldArgs(lean_object*); lean_object* l_Lean_Parser_nonReservedSymbolInfo___elambda__1(lean_object*); lean_object* l_Lean_Parser_nodeInfo___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Error_merge(lean_object*, lean_object*); +lean_object* l_Lean_Parser_ParserContext_resolveName(lean_object*, lean_object*); lean_object* l_Lean_Parser_leadingParserAux_match__1(lean_object*); lean_object* l_Lean_Parser_checkWsBeforeFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_keepLatest___boxed(lean_object*, lean_object*); @@ -403,6 +409,7 @@ lean_object* l_Lean_Parser_ParserState_keepNewError(lean_object*, lean_object*); lean_object* l_Lean_Parser_antiquotExpr; extern lean_object* l_myMacro____x40_Init_Notation___hyg_13596____closed__9; lean_object* l_Lean_Parser_instInhabitedParserCategory___closed__1; +lean_object* l_Lean_Parser_parserOfStackFnUnsafe_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_symbol(lean_object*); lean_object* l_Lean_Parser_isQuotableCharDefault___boxed(lean_object*); lean_object* l_Lean_Parser_checkLineEqFn(lean_object*, lean_object*, lean_object*); @@ -417,6 +424,7 @@ uint8_t l_Lean_Parser_tryAnti(lean_object*, lean_object*); extern lean_object* l_Lean_numLitKind___closed__1; lean_object* l_Lean_Parser_optionaInfo(lean_object*); lean_object* l_Lean_Parser_FirstTokens_seq(lean_object*, lean_object*); +lean_object* l_Lean_Parser_parserOfStackFnUnsafe___closed__4; lean_object* l_Lean_Parser_ParserState_mkNode_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_peekToken(lean_object*, lean_object*); lean_object* l_Lean_Parser_Error_toString___closed__4; @@ -428,6 +436,7 @@ lean_object* l_Lean_Parser_nodeWithAntiquot___boxed(lean_object*, lean_object*, lean_object* l_Lean_Parser_antiquotNestedExpr___closed__4; lean_object* l_Lean_Parser_checkColGeFn_match__1(lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_parserOfStack___elambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_skip; lean_object* l_Lean_Parser_nameLit; lean_object* l_Lean_Parser_binNumberFn(lean_object*, lean_object*, lean_object*); @@ -451,6 +460,7 @@ lean_object* l_Lean_Parser_strLitFn(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot___closed__12; lean_object* l_Lean_Parser_ParserState_mkErrorAt_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_charLit___closed__3; +extern lean_object* l___private_Init_Util_0__mkPanicMessage___closed__2; lean_object* l_Lean_Parser_FirstTokens_seq_match__1(lean_object*); lean_object* l_Lean_Parser_ParserContext_savedPos_x3f___default; size_t l_Lean_Name_hash(lean_object*); @@ -481,7 +491,6 @@ lean_object* l_Lean_Parser_fieldIdx___closed__2; lean_object* l_Lean_Parser_many1Unbox___lambda__1(lean_object*); lean_object* l_Lean_Parser_rawCh___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_getNext___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6061____closed__1; extern lean_object* l_Lean_choiceKind; extern lean_object* l_Lean_charLitKind; lean_object* l_Lean_Parser_errorFn(lean_object*, lean_object*, lean_object*); @@ -490,6 +499,7 @@ lean_object* l_Lean_Parser_withForbidden___lambda__1(lean_object*, lean_object*, lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_foldArgsM___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_mergeOrElseErrors_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_rawIdent; +lean_object* l_Lean_Parser_parserOfStackFnUnsafe___closed__3; lean_object* l_Lean_Parser_checkLineEqFn_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_ins___at_Lean_Parser_TokenMap_insert___spec__6(lean_object*); lean_object* l_Lean_Parser_FirstTokens_merge(lean_object*, lean_object*); @@ -517,6 +527,7 @@ lean_object* l_Lean_Parser_TokenMap_instInhabitedTokenMap(lean_object*); uint32_t lean_string_utf8_get(lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_mergeErrors_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot___closed__13; +lean_object* l_Lean_Parser_parserOfStackFn___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_errorAtSavedPosFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_orelseFnCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_symbolFn(lean_object*, lean_object*, lean_object*); @@ -524,10 +535,12 @@ lean_object* l_Lean_Parser_ParserState_hasError___boxed(lean_object*); lean_object* l_Std_RBNode_find___at_Lean_Parser_indexed___spec__3(lean_object*); lean_object* l_Lean_Parser_unicodeSymbol___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_nodeInfo___elambda__2(lean_object*, lean_object*); +lean_object* l_Lean_Parser_parserOfStack(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot___closed__23; lean_object* l_Lean_Parser_identFnAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_strLitNoAntiquot___closed__3; lean_object* l_Array_findSomeRevM_x3f_find___at___private_Lean_Parser_Basic_0__Lean_Parser_pickNonNone___spec__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_parserOfStackFnUnsafe___closed__5; lean_object* l_Lean_Parser_charLitNoAntiquot___closed__1; lean_object* l_Lean_Parser_identFnAux_parse___closed__2; lean_object* l_Lean_Parser_checkTailNoWs___boxed(lean_object*); @@ -554,6 +567,7 @@ lean_object* l_Lean_Parser_whitespace(lean_object*, lean_object*); lean_object* l_Lean_Parser_identFnAux_parse___closed__1; lean_object* l_Lean_Parser_indexed_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_rawCh(uint32_t, uint8_t); +lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_sepByInfo___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_categoryParserOfStackFn_match__1(lean_object*); lean_object* l_Lean_Parser_quotedCharCoreFn___closed__1; @@ -599,10 +613,12 @@ lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__7; lean_object* l_Lean_Parser_rawIdentNoAntiquot___closed__2; size_t l_USize_land(size_t, size_t); lean_object* l_Lean_Parser_nameLit___elambda__1___closed__1; +lean_object* l_Lean_Environment_evalConstCheck___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_runLongestMatchParser_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_anyOfFn_match__1(lean_object*); lean_object* l_Lean_Parser_mkAntiquot___elambda__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_checkOutsideQuotFn(lean_object*, lean_object*); +lean_object* l_Lean_Parser_parserOfStackFnUnsafe_match__1(lean_object*); lean_object* l_Lean_Parser_categoryParserFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_keepPrevError_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_checkInsideQuot___closed__1; @@ -645,6 +661,7 @@ lean_object* l_Lean_Parser_fieldIdxFn___closed__1; lean_object* l_Lean_Parser_withForbidden(lean_object*, lean_object*); lean_object* l_Lean_Parser_ident___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_trailingLoop(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6082____lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_symbol___boxed(lean_object*); lean_object* l_Lean_Parser_charLit___elambda__1(lean_object*, lean_object*); uint8_t l_UInt32_decEq(uint32_t, uint32_t); @@ -663,6 +680,7 @@ lean_object* l_Lean_Parser_checkLineEq(lean_object*); lean_object* l_Lean_Parser_scientificLitNoAntiquot; lean_object* l_Lean_Parser_trailingLoop_match__1(lean_object*); lean_object* l_Lean_Syntax_forArgsM___rarg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_parserOfStackFn___rarg(lean_object*); lean_object* l_Lean_Parser_instInhabitedInputContext___closed__1; lean_object* l_Lean_Parser_numLit___elambda__1(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_forArgsM___spec__1___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); @@ -679,6 +697,7 @@ lean_object* l_Lean_Parser_ParserState_keepNewError___boxed(lean_object*, lean_o lean_object* l_Lean_Parser_scientificLit___elambda__1___closed__1; lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_tokenFnAux_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_PrattParsingTables_trailingTable___default; +lean_object* l_Lean_Parser_ParserModuleContext_currNamespace___default; lean_object* l_Std_RBNode_insert___at_Lean_Parser_TokenMap_insert___spec__5___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_mkUnexpectedErrorAt(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot___closed__24; @@ -689,9 +708,11 @@ lean_object* l_Lean_Parser_withPosition___lambda__1(lean_object*, lean_object*, uint8_t lean_nat_dec_le(lean_object*, lean_object*); uint8_t l_USize_decLe(size_t, size_t); lean_object* l_Lean_Parser_numLitNoAntiquot___closed__3; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6082____lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_categoryParser(lean_object*, lean_object*); lean_object* l_Lean_Parser_Parser_info___default___elambda__2___boxed(lean_object*); uint8_t l_Std_RBNode_isRed___rarg(lean_object*); +lean_object* l_Lean_Parser_parserOfStackFnUnsafe___closed__6; lean_object* l_Lean_Parser_ParserState_mkError_match__1(lean_object*); lean_object* l_Lean_Parser_antiquotNestedExpr___closed__6; lean_object* l_Lean_Parser_mkAntiquot___closed__22; @@ -709,11 +730,13 @@ lean_object* l_Lean_Parser_checkTailNoWs_match__1(lean_object*); lean_object* l_Lean_Parser_Error_beq___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_TokenMap_instEmptyCollectionTokenMap(lean_object*); lean_object* l_Lean_Parser_orelseInfo___elambda__1(lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_54____closed__4; lean_object* l_Lean_Parser_errorAtSavedPos(lean_object*, uint8_t); lean_object* l_Lean_Parser_mkAntiquot___closed__14; lean_object* l_Lean_Parser_FirstTokens_toStr___closed__1; lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_sepByFnAux(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_setExpectedFn___boxed(lean_object*); +lean_object* l_Lean_Parser_ParserModuleContext_openDecls___default; lean_object* l_Lean_Parser_withResultOf(lean_object*, lean_object*); extern lean_object* l_Lean_EnvExtensionInterfaceUnsafe_instInhabitedExt___closed__2; lean_object* l_Std_RBNode_find___at_Lean_Parser_indexed___spec__6___rarg___boxed(lean_object*, lean_object*); @@ -746,6 +769,7 @@ lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_sepByFnAux_parse___box lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_rawAux(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_UInt32_decEq___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_decimalNumberFn_parseOptDot___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6101____lambda__1(lean_object*); lean_object* l_Lean_Parser_unicodeSymbolFn___closed__1; lean_object* l_Lean_Parser_ParserContext_forbiddenTk_x3f___default; lean_object* l_Std_RBNode_insert___at_Lean_Parser_TokenMap_insert___spec__5(lean_object*); @@ -753,6 +777,7 @@ lean_object* l_Lean_Parser_checkNoWsBefore___elambda__1(lean_object*, lean_objec lean_object* l_Lean_Parser_PrattParsingTables_trailingParsers___default; lean_object* l_Lean_Parser_noFirstTokenInfo___elambda__2(lean_object*, lean_object*); lean_object* l_Lean_Parser_withoutPosition(lean_object*); +lean_object* l_Lean_Parser_parserOfStackFnUnsafe_match__3(lean_object*); lean_object* l_Array_qsort_sort___at_Lean_Parser_Error_toString___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_ins___at_Lean_Parser_TokenMap_insert___spec__6___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Parser_SyntaxNodeKindSet_insert___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*); @@ -780,6 +805,7 @@ extern lean_object* l_Lean_mkOptionalNode___closed__1; lean_object* l_Lean_Parser_Parser_info___default___elambda__2(lean_object*); lean_object* l_String_trim(lean_object*); lean_object* l_Lean_isIdEndEscape___boxed(lean_object*); +lean_object* l_Lean_Parser_parserOfStackFnUnsafe___closed__2; lean_object* l_Lean_Parser_leadingParserAux(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_rawFn(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_charLitFn___closed__1; @@ -805,6 +831,7 @@ lean_object* l_Lean_Parser_instInhabitedParserFn___rarg___boxed(lean_object*); lean_object* l_Lean_Parser_errorFn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_identEqFn_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_many1Unbox(lean_object*); +lean_object* l_Lean_Parser_parserOfStackFnUnsafe___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_sepByInfo___elambda__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_checkColGt(lean_object*); lean_object* l_Lean_Parser_symbolInfo___closed__1; @@ -813,8 +840,9 @@ lean_object* l_Lean_Parser_indexed_match__1___rarg(lean_object*, lean_object*, l lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_tokenFnAux_match__1(lean_object*); lean_object* l_Lean_Parser_mkAntiquot___closed__6; lean_object* l_Lean_Parser_rawIdent___closed__1; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6042_(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6061_(lean_object*); +lean_object* l_Lean_Parser_parserOfStackFnUnsafe___closed__1; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6082_(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6101_(lean_object*); lean_object* l_Lean_Parser_fieldIdx___closed__7; lean_object* l_Lean_Parser_mkAntiquot(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Parser_optionaInfo___elambda__1(lean_object*, lean_object*); @@ -834,6 +862,7 @@ lean_object* l_Lean_Parser_TokenMap_insert_match__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_fieldIdx; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Lean_Parser_unicodeSymbolFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_parserOfStackFn(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_categoryParserOfStackFn___closed__1; lean_object* l_Lean_Parser_manyFn(lean_object*, lean_object*, lean_object*); @@ -879,6 +908,7 @@ uint8_t l_Lean_Parser_ParserState_hasError(lean_object*); lean_object* l_Lean_Parser_symbolFnAux(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_hexDigitFn___closed__1; lean_object* l_Lean_Parser_mkAtom(lean_object*, lean_object*); +lean_object* l_Lean_Parser_parserOfStackFn___rarg___boxed(lean_object*); lean_object* l_Lean_Parser_ParserState_mkEOIError(lean_object*); lean_object* l_Lean_Parser_checkLineEqFn_match__1(lean_object*); lean_object* l_Lean_Parser_unicodeSymbolFnAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -891,7 +921,6 @@ lean_object* l_Lean_Parser_categoryParserOfStackFn(lean_object*, lean_object*, l lean_object* l_Lean_Parser_ParserState_keepPrevError(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot___closed__25; lean_object* l_Lean_Parser_checkWsBefore___elambda__1___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_IO_mkRef___at_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6042____spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_TokenCacheEntry_stopPos___default; lean_object* l_Lean_Parser_setExpected___elambda__1(lean_object*); lean_object* l_Lean_Parser_unicodeSymbolInfo___closed__1; @@ -904,7 +933,6 @@ lean_object* l_Lean_Parser_longestMatchStep___boxed(lean_object*, lean_object*, lean_object* l_Lean_Parser_quotedCharCoreFn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Error_toString___closed__1; lean_object* l_Lean_Parser_scientificLit___closed__2; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6042____lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_find___at_Lean_Parser_indexed___spec__2___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot___closed__2; lean_object* l_Lean_Parser_withResultOfInfo(lean_object*); @@ -921,6 +949,7 @@ lean_object* l_Lean_Parser_charLitNoAntiquot; lean_object* l_Lean_Parser_FirstTokens_merge_match__1(lean_object*); lean_object* l_Lean_mkErrorStringWithPos(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_isToken_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_IO_mkRef___at_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6082____spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_unicodeSymbolFnAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_nameLit___elambda__1___closed__2; extern lean_object* l_instReprChar___closed__1; @@ -1738,6 +1767,22 @@ x_1 = l_Lean_Parser_instInhabitedInputContext___closed__1; return x_1; } } +static lean_object* _init_l_Lean_Parser_ParserModuleContext_currNamespace___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_ParserModuleContext_openDecls___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} static uint8_t _init_l_Lean_Parser_ParserContext_insideQuot___default() { _start: { @@ -1770,6 +1815,25 @@ x_1 = lean_box(0); return x_1; } } +lean_object* l_Lean_Parser_ParserContext_resolveName(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_1, 1); +lean_inc(x_3); +lean_dec(x_1); +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_3, 1); +lean_inc(x_5); +x_6 = lean_ctor_get(x_3, 2); +lean_inc(x_6); +lean_dec(x_3); +x_7 = l_Lean_ResolveName_resolveGlobalName(x_4, x_5, x_6, x_2); +lean_dec(x_5); +return x_7; +} +} static lean_object* _init_l_Lean_Parser_Error_unexpected___default() { _start: { @@ -5256,7 +5320,7 @@ lean_object* l_Lean_Parser_checkPrecFn(lean_object* x_1, lean_object* x_2, lean_ _start: { lean_object* x_4; uint8_t x_5; -x_4 = lean_ctor_get(x_2, 1); +x_4 = lean_ctor_get(x_2, 2); x_5 = lean_nat_dec_le(x_4, x_1); if (x_5 == 0) { @@ -5436,139 +5500,228 @@ x_6 = lean_ctor_get(x_2, 0); x_7 = !lean_is_exclusive(x_6); if (x_7 == 0) { -uint8_t x_8; -x_8 = lean_ctor_get_uint8(x_2, sizeof(void*)*6); -if (x_8 == 0) +lean_object* x_8; uint8_t x_9; +x_8 = lean_ctor_get(x_2, 1); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) { -uint8_t x_9; lean_object* x_10; -x_9 = 1; -lean_ctor_set_uint8(x_2, sizeof(void*)*6, x_9); -x_10 = lean_apply_2(x_1, x_2, x_3); -return x_10; -} -else +uint8_t x_10; +x_10 = lean_ctor_get_uint8(x_2, sizeof(void*)*6); +if (x_10 == 0) { uint8_t x_11; lean_object* x_12; -x_11 = 0; +x_11 = 1; lean_ctor_set_uint8(x_2, sizeof(void*)*6, x_11); x_12 = lean_apply_2(x_1, x_2, x_3); return x_12; } +else +{ +uint8_t x_13; lean_object* x_14; +x_13 = 0; +lean_ctor_set_uint8(x_2, sizeof(void*)*6, x_13); +x_14 = lean_apply_2(x_1, x_2, x_3); +return x_14; +} } else { -uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_13 = lean_ctor_get_uint8(x_2, sizeof(void*)*6); -x_14 = lean_ctor_get(x_6, 0); -x_15 = lean_ctor_get(x_6, 1); -x_16 = lean_ctor_get(x_6, 2); +uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_15 = lean_ctor_get_uint8(x_2, sizeof(void*)*6); +x_16 = lean_ctor_get(x_8, 0); +x_17 = lean_ctor_get(x_8, 1); +x_18 = lean_ctor_get(x_8, 2); +lean_inc(x_18); +lean_inc(x_17); lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_dec(x_6); -x_17 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_17, 0, x_14); -lean_ctor_set(x_17, 1, x_15); -lean_ctor_set(x_17, 2, x_16); -if (x_13 == 0) -{ -uint8_t x_18; lean_object* x_19; -x_18 = 1; -lean_ctor_set(x_2, 0, x_17); -lean_ctor_set_uint8(x_2, sizeof(void*)*6, x_18); -x_19 = lean_apply_2(x_1, x_2, x_3); -return x_19; -} -else +lean_dec(x_8); +x_19 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_19, 0, x_16); +lean_ctor_set(x_19, 1, x_17); +lean_ctor_set(x_19, 2, x_18); +if (x_15 == 0) { uint8_t x_20; lean_object* x_21; -x_20 = 0; -lean_ctor_set(x_2, 0, x_17); +x_20 = 1; +lean_ctor_set(x_2, 1, x_19); lean_ctor_set_uint8(x_2, sizeof(void*)*6, x_20); x_21 = lean_apply_2(x_1, x_2, x_3); return x_21; } +else +{ +uint8_t x_22; lean_object* x_23; +x_22 = 0; +lean_ctor_set(x_2, 1, x_19); +lean_ctor_set_uint8(x_2, sizeof(void*)*6, x_22); +x_23 = lean_apply_2(x_1, x_2, x_3); +return x_23; +} } } else { -lean_object* x_22; lean_object* 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_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_22 = lean_ctor_get(x_2, 0); -x_23 = lean_ctor_get(x_2, 1); -x_24 = lean_ctor_get(x_2, 2); -x_25 = lean_ctor_get(x_2, 3); -x_26 = lean_ctor_get_uint8(x_2, sizeof(void*)*6); -x_27 = lean_ctor_get(x_2, 4); -x_28 = lean_ctor_get(x_2, 5); +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_34; +x_24 = lean_ctor_get(x_2, 1); +x_25 = lean_ctor_get_uint8(x_2, sizeof(void*)*6); +x_26 = lean_ctor_get(x_6, 0); +x_27 = lean_ctor_get(x_6, 1); +x_28 = lean_ctor_get(x_6, 2); lean_inc(x_28); lean_inc(x_27); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_2); -x_29 = lean_ctor_get(x_22, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_22, 1); +lean_inc(x_26); +lean_dec(x_6); +x_29 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_29, 0, x_26); +lean_ctor_set(x_29, 1, x_27); +lean_ctor_set(x_29, 2, x_28); +x_30 = lean_ctor_get(x_24, 0); lean_inc(x_30); -x_31 = lean_ctor_get(x_22, 2); +x_31 = lean_ctor_get(x_24, 1); lean_inc(x_31); -if (lean_is_exclusive(x_22)) { - lean_ctor_release(x_22, 0); - lean_ctor_release(x_22, 1); - lean_ctor_release(x_22, 2); - x_32 = x_22; +x_32 = lean_ctor_get(x_24, 2); +lean_inc(x_32); +if (lean_is_exclusive(x_24)) { + lean_ctor_release(x_24, 0); + lean_ctor_release(x_24, 1); + lean_ctor_release(x_24, 2); + x_33 = x_24; } else { - lean_dec_ref(x_22); - x_32 = lean_box(0); + lean_dec_ref(x_24); + x_33 = lean_box(0); } -if (lean_is_scalar(x_32)) { - x_33 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_33)) { + x_34 = lean_alloc_ctor(0, 3, 0); } else { - x_33 = x_32; + x_34 = x_33; } -lean_ctor_set(x_33, 0, x_29); -lean_ctor_set(x_33, 1, x_30); -lean_ctor_set(x_33, 2, x_31); -if (x_26 == 0) +lean_ctor_set(x_34, 0, x_30); +lean_ctor_set(x_34, 1, x_31); +lean_ctor_set(x_34, 2, x_32); +if (x_25 == 0) { -uint8_t x_34; lean_object* x_35; lean_object* x_36; -x_34 = 1; -x_35 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_23); -lean_ctor_set(x_35, 2, x_24); -lean_ctor_set(x_35, 3, x_25); -lean_ctor_set(x_35, 4, x_27); -lean_ctor_set(x_35, 5, x_28); -lean_ctor_set_uint8(x_35, sizeof(void*)*6, x_34); -lean_ctor_set_uint8(x_35, sizeof(void*)*6 + 1, x_4); -x_36 = lean_apply_2(x_1, x_35, x_3); +uint8_t x_35; lean_object* x_36; +x_35 = 1; +lean_ctor_set(x_2, 1, x_34); +lean_ctor_set(x_2, 0, x_29); +lean_ctor_set_uint8(x_2, sizeof(void*)*6, x_35); +x_36 = lean_apply_2(x_1, x_2, x_3); return x_36; } else { -uint8_t x_37; lean_object* x_38; lean_object* x_39; +uint8_t x_37; lean_object* x_38; x_37 = 0; -x_38 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_38, 0, x_33); -lean_ctor_set(x_38, 1, x_23); -lean_ctor_set(x_38, 2, x_24); -lean_ctor_set(x_38, 3, x_25); -lean_ctor_set(x_38, 4, x_27); -lean_ctor_set(x_38, 5, x_28); -lean_ctor_set_uint8(x_38, sizeof(void*)*6, x_37); -lean_ctor_set_uint8(x_38, sizeof(void*)*6 + 1, x_4); -x_39 = lean_apply_2(x_1, x_38, x_3); -return x_39; +lean_ctor_set(x_2, 1, x_34); +lean_ctor_set(x_2, 0, x_29); +lean_ctor_set_uint8(x_2, sizeof(void*)*6, x_37); +x_38 = lean_apply_2(x_1, x_2, x_3); +return x_38; } } } else { -lean_object* x_40; -x_40 = lean_apply_2(x_1, x_2, x_3); -return x_40; +lean_object* 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; +x_39 = lean_ctor_get(x_2, 0); +x_40 = lean_ctor_get(x_2, 1); +x_41 = lean_ctor_get(x_2, 2); +x_42 = lean_ctor_get(x_2, 3); +x_43 = lean_ctor_get_uint8(x_2, sizeof(void*)*6); +x_44 = lean_ctor_get(x_2, 4); +x_45 = lean_ctor_get(x_2, 5); +lean_inc(x_45); +lean_inc(x_44); +lean_inc(x_42); +lean_inc(x_41); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_2); +x_46 = lean_ctor_get(x_39, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_39, 1); +lean_inc(x_47); +x_48 = lean_ctor_get(x_39, 2); +lean_inc(x_48); +if (lean_is_exclusive(x_39)) { + lean_ctor_release(x_39, 0); + lean_ctor_release(x_39, 1); + lean_ctor_release(x_39, 2); + x_49 = x_39; +} else { + lean_dec_ref(x_39); + x_49 = lean_box(0); +} +if (lean_is_scalar(x_49)) { + x_50 = lean_alloc_ctor(0, 3, 0); +} else { + x_50 = x_49; +} +lean_ctor_set(x_50, 0, x_46); +lean_ctor_set(x_50, 1, x_47); +lean_ctor_set(x_50, 2, x_48); +x_51 = lean_ctor_get(x_40, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_40, 1); +lean_inc(x_52); +x_53 = lean_ctor_get(x_40, 2); +lean_inc(x_53); +if (lean_is_exclusive(x_40)) { + lean_ctor_release(x_40, 0); + lean_ctor_release(x_40, 1); + lean_ctor_release(x_40, 2); + x_54 = x_40; +} else { + lean_dec_ref(x_40); + x_54 = lean_box(0); +} +if (lean_is_scalar(x_54)) { + x_55 = lean_alloc_ctor(0, 3, 0); +} else { + x_55 = x_54; +} +lean_ctor_set(x_55, 0, x_51); +lean_ctor_set(x_55, 1, x_52); +lean_ctor_set(x_55, 2, x_53); +if (x_43 == 0) +{ +uint8_t x_56; lean_object* x_57; lean_object* x_58; +x_56 = 1; +x_57 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_57, 0, x_50); +lean_ctor_set(x_57, 1, x_55); +lean_ctor_set(x_57, 2, x_41); +lean_ctor_set(x_57, 3, x_42); +lean_ctor_set(x_57, 4, x_44); +lean_ctor_set(x_57, 5, x_45); +lean_ctor_set_uint8(x_57, sizeof(void*)*6, x_56); +lean_ctor_set_uint8(x_57, sizeof(void*)*6 + 1, x_4); +x_58 = lean_apply_2(x_1, x_57, x_3); +return x_58; +} +else +{ +uint8_t x_59; lean_object* x_60; lean_object* x_61; +x_59 = 0; +x_60 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_60, 0, x_50); +lean_ctor_set(x_60, 1, x_55); +lean_ctor_set(x_60, 2, x_41); +lean_ctor_set(x_60, 3, x_42); +lean_ctor_set(x_60, 4, x_44); +lean_ctor_set(x_60, 5, x_45); +lean_ctor_set_uint8(x_60, sizeof(void*)*6, x_59); +lean_ctor_set_uint8(x_60, sizeof(void*)*6 + 1, x_4); +x_61 = lean_apply_2(x_1, x_60, x_3); +return x_61; +} +} +} +else +{ +lean_object* x_62; +x_62 = lean_apply_2(x_1, x_2, x_3); +return x_62; } } } @@ -5615,63 +5768,66 @@ x_5 = lean_ctor_get(x_2, 0); x_6 = !lean_is_exclusive(x_5); if (x_6 == 0) { -uint8_t x_7; lean_object* x_8; -x_7 = 1; -lean_ctor_set_uint8(x_2, sizeof(void*)*6 + 1, x_7); -x_8 = lean_apply_2(x_1, x_2, x_3); -return x_8; +lean_object* x_7; uint8_t x_8; +x_7 = lean_ctor_get(x_2, 1); +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) +{ +uint8_t x_9; lean_object* x_10; +x_9 = 1; +lean_ctor_set_uint8(x_2, sizeof(void*)*6 + 1, x_9); +x_10 = lean_apply_2(x_1, x_2, x_3); +return x_10; } else { -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_9 = lean_ctor_get(x_5, 0); -x_10 = lean_ctor_get(x_5, 1); -x_11 = lean_ctor_get(x_5, 2); +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; +x_11 = lean_ctor_get(x_7, 0); +x_12 = lean_ctor_get(x_7, 1); +x_13 = lean_ctor_get(x_7, 2); +lean_inc(x_13); +lean_inc(x_12); lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_dec(x_5); -x_12 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_12, 0, x_9); -lean_ctor_set(x_12, 1, x_10); -lean_ctor_set(x_12, 2, x_11); -x_13 = 1; -lean_ctor_set(x_2, 0, x_12); -lean_ctor_set_uint8(x_2, sizeof(void*)*6 + 1, x_13); -x_14 = lean_apply_2(x_1, x_2, x_3); -return x_14; +lean_dec(x_7); +x_14 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_14, 0, x_11); +lean_ctor_set(x_14, 1, x_12); +lean_ctor_set(x_14, 2, x_13); +x_15 = 1; +lean_ctor_set(x_2, 1, x_14); +lean_ctor_set_uint8(x_2, sizeof(void*)*6 + 1, x_15); +x_16 = lean_apply_2(x_1, x_2, x_3); +return x_16; } } else { -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; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; -x_15 = lean_ctor_get(x_2, 0); -x_16 = lean_ctor_get(x_2, 1); -x_17 = lean_ctor_get(x_2, 2); -x_18 = lean_ctor_get(x_2, 3); -x_19 = lean_ctor_get_uint8(x_2, sizeof(void*)*6); -x_20 = lean_ctor_get(x_2, 4); -x_21 = lean_ctor_get(x_2, 5); -lean_inc(x_21); +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; +x_17 = lean_ctor_get(x_2, 1); +x_18 = lean_ctor_get(x_5, 0); +x_19 = lean_ctor_get(x_5, 1); +x_20 = lean_ctor_get(x_5, 2); 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_2); -x_22 = lean_ctor_get(x_15, 0); +lean_dec(x_5); +x_21 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_21, 0, x_18); +lean_ctor_set(x_21, 1, x_19); +lean_ctor_set(x_21, 2, x_20); +x_22 = lean_ctor_get(x_17, 0); lean_inc(x_22); -x_23 = lean_ctor_get(x_15, 1); +x_23 = lean_ctor_get(x_17, 1); lean_inc(x_23); -x_24 = lean_ctor_get(x_15, 2); +x_24 = lean_ctor_get(x_17, 2); lean_inc(x_24); -if (lean_is_exclusive(x_15)) { - lean_ctor_release(x_15, 0); - lean_ctor_release(x_15, 1); - lean_ctor_release(x_15, 2); - x_25 = x_15; +if (lean_is_exclusive(x_17)) { + lean_ctor_release(x_17, 0); + lean_ctor_release(x_17, 1); + lean_ctor_release(x_17, 2); + x_25 = x_17; } else { - lean_dec_ref(x_15); + lean_dec_ref(x_17); x_25 = lean_box(0); } if (lean_is_scalar(x_25)) { @@ -5683,17 +5839,88 @@ lean_ctor_set(x_26, 0, x_22); lean_ctor_set(x_26, 1, x_23); lean_ctor_set(x_26, 2, x_24); x_27 = 1; -x_28 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_16); -lean_ctor_set(x_28, 2, x_17); -lean_ctor_set(x_28, 3, x_18); -lean_ctor_set(x_28, 4, x_20); -lean_ctor_set(x_28, 5, x_21); -lean_ctor_set_uint8(x_28, sizeof(void*)*6, x_19); -lean_ctor_set_uint8(x_28, sizeof(void*)*6 + 1, x_27); -x_29 = lean_apply_2(x_1, x_28, x_3); -return x_29; +lean_ctor_set(x_2, 1, x_26); +lean_ctor_set(x_2, 0, x_21); +lean_ctor_set_uint8(x_2, sizeof(void*)*6 + 1, x_27); +x_28 = lean_apply_2(x_1, x_2, x_3); +return x_28; +} +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_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_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; lean_object* x_48; +x_29 = lean_ctor_get(x_2, 0); +x_30 = lean_ctor_get(x_2, 1); +x_31 = lean_ctor_get(x_2, 2); +x_32 = lean_ctor_get(x_2, 3); +x_33 = lean_ctor_get_uint8(x_2, sizeof(void*)*6); +x_34 = lean_ctor_get(x_2, 4); +x_35 = lean_ctor_get(x_2, 5); +lean_inc(x_35); +lean_inc(x_34); +lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_2); +x_36 = lean_ctor_get(x_29, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_29, 1); +lean_inc(x_37); +x_38 = lean_ctor_get(x_29, 2); +lean_inc(x_38); +if (lean_is_exclusive(x_29)) { + lean_ctor_release(x_29, 0); + lean_ctor_release(x_29, 1); + lean_ctor_release(x_29, 2); + x_39 = x_29; +} else { + lean_dec_ref(x_29); + x_39 = lean_box(0); +} +if (lean_is_scalar(x_39)) { + x_40 = lean_alloc_ctor(0, 3, 0); +} else { + x_40 = x_39; +} +lean_ctor_set(x_40, 0, x_36); +lean_ctor_set(x_40, 1, x_37); +lean_ctor_set(x_40, 2, x_38); +x_41 = lean_ctor_get(x_30, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_30, 1); +lean_inc(x_42); +x_43 = lean_ctor_get(x_30, 2); +lean_inc(x_43); +if (lean_is_exclusive(x_30)) { + lean_ctor_release(x_30, 0); + lean_ctor_release(x_30, 1); + lean_ctor_release(x_30, 2); + x_44 = x_30; +} else { + lean_dec_ref(x_30); + x_44 = lean_box(0); +} +if (lean_is_scalar(x_44)) { + x_45 = lean_alloc_ctor(0, 3, 0); +} else { + x_45 = x_44; +} +lean_ctor_set(x_45, 0, x_41); +lean_ctor_set(x_45, 1, x_42); +lean_ctor_set(x_45, 2, x_43); +x_46 = 1; +x_47 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_47, 0, x_40); +lean_ctor_set(x_47, 1, x_45); +lean_ctor_set(x_47, 2, x_31); +lean_ctor_set(x_47, 3, x_32); +lean_ctor_set(x_47, 4, x_34); +lean_ctor_set(x_47, 5, x_35); +lean_ctor_set_uint8(x_47, sizeof(void*)*6, x_33); +lean_ctor_set_uint8(x_47, sizeof(void*)*6 + 1, x_46); +x_48 = lean_apply_2(x_1, x_47, x_3); +return x_48; } } } @@ -14379,74 +14606,79 @@ lean_dec(x_1); x_6 = !lean_is_exclusive(x_2); if (x_6 == 0) { -lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_7 = lean_ctor_get(x_2, 4); -lean_dec(x_7); -x_8 = lean_ctor_get(x_2, 0); +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_ctor_get(x_2, 1); +x_8 = lean_ctor_get(x_2, 4); lean_dec(x_8); -x_9 = !lean_is_exclusive(x_4); -if (x_9 == 0) +x_9 = lean_ctor_get(x_2, 0); +lean_dec(x_9); +x_10 = !lean_is_exclusive(x_4); +if (x_10 == 0) { -lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = lean_ctor_get(x_3, 1); -lean_inc(x_10); -x_11 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_2, 4, x_11); -x_12 = lean_apply_2(x_5, x_2, x_3); -return x_12; +uint8_t x_11; +x_11 = !lean_is_exclusive(x_7); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_3, 1); +lean_inc(x_12); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_2, 4, x_13); +x_14 = lean_apply_2(x_5, x_2, x_3); +return x_14; } 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; -x_13 = lean_ctor_get(x_4, 0); -x_14 = lean_ctor_get(x_4, 1); -x_15 = lean_ctor_get(x_4, 2); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_dec(x_4); -x_16 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_16, 0, x_13); -lean_ctor_set(x_16, 1, x_14); -lean_ctor_set(x_16, 2, x_15); -x_17 = lean_ctor_get(x_3, 1); +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_15 = lean_ctor_get(x_7, 0); +x_16 = lean_ctor_get(x_7, 1); +x_17 = lean_ctor_get(x_7, 2); lean_inc(x_17); -x_18 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_2, 4, x_18); -lean_ctor_set(x_2, 0, x_16); -x_19 = lean_apply_2(x_5, x_2, x_3); -return x_19; +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_7); +x_18 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_18, 0, x_15); +lean_ctor_set(x_18, 1, x_16); +lean_ctor_set(x_18, 2, x_17); +x_19 = lean_ctor_get(x_3, 1); +lean_inc(x_19); +x_20 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_2, 4, x_20); +lean_ctor_set(x_2, 1, x_18); +x_21 = lean_apply_2(x_5, x_2, x_3); +return x_21; } } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; uint8_t 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_20 = lean_ctor_get(x_2, 1); -x_21 = lean_ctor_get(x_2, 2); -x_22 = lean_ctor_get(x_2, 3); -x_23 = lean_ctor_get_uint8(x_2, sizeof(void*)*6); -x_24 = lean_ctor_get_uint8(x_2, sizeof(void*)*6 + 1); -x_25 = lean_ctor_get(x_2, 5); -lean_inc(x_25); +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_22 = lean_ctor_get(x_4, 0); +x_23 = lean_ctor_get(x_4, 1); +x_24 = lean_ctor_get(x_4, 2); +lean_inc(x_24); +lean_inc(x_23); lean_inc(x_22); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_2); -x_26 = lean_ctor_get(x_4, 0); +lean_dec(x_4); +x_25 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_25, 0, x_22); +lean_ctor_set(x_25, 1, x_23); +lean_ctor_set(x_25, 2, x_24); +x_26 = lean_ctor_get(x_7, 0); lean_inc(x_26); -x_27 = lean_ctor_get(x_4, 1); +x_27 = lean_ctor_get(x_7, 1); lean_inc(x_27); -x_28 = lean_ctor_get(x_4, 2); +x_28 = lean_ctor_get(x_7, 2); lean_inc(x_28); -if (lean_is_exclusive(x_4)) { - lean_ctor_release(x_4, 0); - lean_ctor_release(x_4, 1); - lean_ctor_release(x_4, 2); - x_29 = x_4; +if (lean_is_exclusive(x_7)) { + lean_ctor_release(x_7, 0); + lean_ctor_release(x_7, 1); + lean_ctor_release(x_7, 2); + x_29 = x_7; } else { - lean_dec_ref(x_4); + lean_dec_ref(x_7); x_29 = lean_box(0); } if (lean_is_scalar(x_29)) { @@ -14461,17 +14693,88 @@ x_31 = lean_ctor_get(x_3, 1); lean_inc(x_31); x_32 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_32, 0, x_31); -x_33 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_33, 0, x_30); -lean_ctor_set(x_33, 1, x_20); -lean_ctor_set(x_33, 2, x_21); -lean_ctor_set(x_33, 3, x_22); -lean_ctor_set(x_33, 4, x_32); -lean_ctor_set(x_33, 5, x_25); -lean_ctor_set_uint8(x_33, sizeof(void*)*6, x_23); -lean_ctor_set_uint8(x_33, sizeof(void*)*6 + 1, x_24); -x_34 = lean_apply_2(x_5, x_33, x_3); -return x_34; +lean_ctor_set(x_2, 4, x_32); +lean_ctor_set(x_2, 1, x_30); +lean_ctor_set(x_2, 0, x_25); +x_33 = lean_apply_2(x_5, x_2, x_3); +return x_33; +} +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t 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; 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_34 = lean_ctor_get(x_2, 1); +x_35 = lean_ctor_get(x_2, 2); +x_36 = lean_ctor_get(x_2, 3); +x_37 = lean_ctor_get_uint8(x_2, sizeof(void*)*6); +x_38 = lean_ctor_get_uint8(x_2, sizeof(void*)*6 + 1); +x_39 = lean_ctor_get(x_2, 5); +lean_inc(x_39); +lean_inc(x_36); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_2); +x_40 = lean_ctor_get(x_4, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_4, 1); +lean_inc(x_41); +x_42 = lean_ctor_get(x_4, 2); +lean_inc(x_42); +if (lean_is_exclusive(x_4)) { + lean_ctor_release(x_4, 0); + lean_ctor_release(x_4, 1); + lean_ctor_release(x_4, 2); + x_43 = x_4; +} else { + lean_dec_ref(x_4); + x_43 = lean_box(0); +} +if (lean_is_scalar(x_43)) { + x_44 = lean_alloc_ctor(0, 3, 0); +} else { + x_44 = x_43; +} +lean_ctor_set(x_44, 0, x_40); +lean_ctor_set(x_44, 1, x_41); +lean_ctor_set(x_44, 2, x_42); +x_45 = lean_ctor_get(x_34, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_34, 1); +lean_inc(x_46); +x_47 = lean_ctor_get(x_34, 2); +lean_inc(x_47); +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + lean_ctor_release(x_34, 1); + lean_ctor_release(x_34, 2); + x_48 = x_34; +} else { + lean_dec_ref(x_34); + x_48 = lean_box(0); +} +if (lean_is_scalar(x_48)) { + x_49 = lean_alloc_ctor(0, 3, 0); +} else { + x_49 = x_48; +} +lean_ctor_set(x_49, 0, x_45); +lean_ctor_set(x_49, 1, x_46); +lean_ctor_set(x_49, 2, x_47); +x_50 = lean_ctor_get(x_3, 1); +lean_inc(x_50); +x_51 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_51, 0, x_50); +x_52 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_52, 0, x_44); +lean_ctor_set(x_52, 1, x_49); +lean_ctor_set(x_52, 2, x_35); +lean_ctor_set(x_52, 3, x_36); +lean_ctor_set(x_52, 4, x_51); +lean_ctor_set(x_52, 5, x_39); +lean_ctor_set_uint8(x_52, sizeof(void*)*6, x_37); +lean_ctor_set_uint8(x_52, sizeof(void*)*6 + 1, x_38); +x_53 = lean_apply_2(x_5, x_52, x_3); +return x_53; } } } @@ -14518,68 +14821,73 @@ lean_dec(x_1); x_6 = !lean_is_exclusive(x_2); if (x_6 == 0) { -lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_7 = lean_ctor_get(x_2, 4); -lean_dec(x_7); -x_8 = lean_ctor_get(x_2, 0); +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_ctor_get(x_2, 1); +x_8 = lean_ctor_get(x_2, 4); lean_dec(x_8); -x_9 = !lean_is_exclusive(x_4); -if (x_9 == 0) +x_9 = lean_ctor_get(x_2, 0); +lean_dec(x_9); +x_10 = !lean_is_exclusive(x_4); +if (x_10 == 0) { -lean_object* x_10; lean_object* x_11; -x_10 = lean_box(0); -lean_ctor_set(x_2, 4, x_10); -x_11 = lean_apply_2(x_5, x_2, x_3); -return x_11; +uint8_t x_11; +x_11 = !lean_is_exclusive(x_7); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_box(0); +lean_ctor_set(x_2, 4, x_12); +x_13 = lean_apply_2(x_5, x_2, x_3); +return x_13; } 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; -x_12 = lean_ctor_get(x_4, 0); -x_13 = lean_ctor_get(x_4, 1); -x_14 = lean_ctor_get(x_4, 2); +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_14 = lean_ctor_get(x_7, 0); +x_15 = lean_ctor_get(x_7, 1); +x_16 = lean_ctor_get(x_7, 2); +lean_inc(x_16); +lean_inc(x_15); lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_dec(x_4); -x_15 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_15, 0, x_12); -lean_ctor_set(x_15, 1, x_13); -lean_ctor_set(x_15, 2, x_14); -x_16 = lean_box(0); -lean_ctor_set(x_2, 4, x_16); -lean_ctor_set(x_2, 0, x_15); -x_17 = lean_apply_2(x_5, x_2, x_3); -return x_17; +lean_dec(x_7); +x_17 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_17, 0, x_14); +lean_ctor_set(x_17, 1, x_15); +lean_ctor_set(x_17, 2, x_16); +x_18 = lean_box(0); +lean_ctor_set(x_2, 4, x_18); +lean_ctor_set(x_2, 1, x_17); +x_19 = lean_apply_2(x_5, x_2, x_3); +return x_19; } } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t 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; -x_18 = lean_ctor_get(x_2, 1); -x_19 = lean_ctor_get(x_2, 2); -x_20 = lean_ctor_get(x_2, 3); -x_21 = lean_ctor_get_uint8(x_2, sizeof(void*)*6); -x_22 = lean_ctor_get_uint8(x_2, sizeof(void*)*6 + 1); -x_23 = lean_ctor_get(x_2, 5); -lean_inc(x_23); +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_4, 0); +x_21 = lean_ctor_get(x_4, 1); +x_22 = lean_ctor_get(x_4, 2); +lean_inc(x_22); +lean_inc(x_21); lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_2); -x_24 = lean_ctor_get(x_4, 0); +lean_dec(x_4); +x_23 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_23, 0, x_20); +lean_ctor_set(x_23, 1, x_21); +lean_ctor_set(x_23, 2, x_22); +x_24 = lean_ctor_get(x_7, 0); lean_inc(x_24); -x_25 = lean_ctor_get(x_4, 1); +x_25 = lean_ctor_get(x_7, 1); lean_inc(x_25); -x_26 = lean_ctor_get(x_4, 2); +x_26 = lean_ctor_get(x_7, 2); lean_inc(x_26); -if (lean_is_exclusive(x_4)) { - lean_ctor_release(x_4, 0); - lean_ctor_release(x_4, 1); - lean_ctor_release(x_4, 2); - x_27 = x_4; +if (lean_is_exclusive(x_7)) { + lean_ctor_release(x_7, 0); + lean_ctor_release(x_7, 1); + lean_ctor_release(x_7, 2); + x_27 = x_7; } else { - lean_dec_ref(x_4); + lean_dec_ref(x_7); x_27 = lean_box(0); } if (lean_is_scalar(x_27)) { @@ -14591,17 +14899,85 @@ lean_ctor_set(x_28, 0, x_24); lean_ctor_set(x_28, 1, x_25); lean_ctor_set(x_28, 2, x_26); x_29 = lean_box(0); -x_30 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_18); -lean_ctor_set(x_30, 2, x_19); -lean_ctor_set(x_30, 3, x_20); -lean_ctor_set(x_30, 4, x_29); -lean_ctor_set(x_30, 5, x_23); -lean_ctor_set_uint8(x_30, sizeof(void*)*6, x_21); -lean_ctor_set_uint8(x_30, sizeof(void*)*6 + 1, x_22); -x_31 = lean_apply_2(x_5, x_30, x_3); -return x_31; +lean_ctor_set(x_2, 4, x_29); +lean_ctor_set(x_2, 1, x_28); +lean_ctor_set(x_2, 0, x_23); +x_30 = lean_apply_2(x_5, x_2, x_3); +return x_30; +} +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; uint8_t 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_31 = lean_ctor_get(x_2, 1); +x_32 = lean_ctor_get(x_2, 2); +x_33 = lean_ctor_get(x_2, 3); +x_34 = lean_ctor_get_uint8(x_2, sizeof(void*)*6); +x_35 = lean_ctor_get_uint8(x_2, sizeof(void*)*6 + 1); +x_36 = lean_ctor_get(x_2, 5); +lean_inc(x_36); +lean_inc(x_33); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_2); +x_37 = lean_ctor_get(x_4, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_4, 1); +lean_inc(x_38); +x_39 = lean_ctor_get(x_4, 2); +lean_inc(x_39); +if (lean_is_exclusive(x_4)) { + lean_ctor_release(x_4, 0); + lean_ctor_release(x_4, 1); + lean_ctor_release(x_4, 2); + x_40 = x_4; +} else { + lean_dec_ref(x_4); + x_40 = lean_box(0); +} +if (lean_is_scalar(x_40)) { + x_41 = lean_alloc_ctor(0, 3, 0); +} else { + x_41 = x_40; +} +lean_ctor_set(x_41, 0, x_37); +lean_ctor_set(x_41, 1, x_38); +lean_ctor_set(x_41, 2, x_39); +x_42 = lean_ctor_get(x_31, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_31, 1); +lean_inc(x_43); +x_44 = lean_ctor_get(x_31, 2); +lean_inc(x_44); +if (lean_is_exclusive(x_31)) { + lean_ctor_release(x_31, 0); + lean_ctor_release(x_31, 1); + lean_ctor_release(x_31, 2); + x_45 = x_31; +} else { + lean_dec_ref(x_31); + x_45 = lean_box(0); +} +if (lean_is_scalar(x_45)) { + x_46 = lean_alloc_ctor(0, 3, 0); +} else { + x_46 = x_45; +} +lean_ctor_set(x_46, 0, x_42); +lean_ctor_set(x_46, 1, x_43); +lean_ctor_set(x_46, 2, x_44); +x_47 = lean_box(0); +x_48 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_48, 0, x_41); +lean_ctor_set(x_48, 1, x_46); +lean_ctor_set(x_48, 2, x_32); +lean_ctor_set(x_48, 3, x_33); +lean_ctor_set(x_48, 4, x_47); +lean_ctor_set(x_48, 5, x_36); +lean_ctor_set_uint8(x_48, sizeof(void*)*6, x_34); +lean_ctor_set_uint8(x_48, sizeof(void*)*6 + 1, x_35); +x_49 = lean_apply_2(x_5, x_48, x_3); +return x_49; } } } @@ -14648,70 +15024,75 @@ lean_dec(x_1); x_7 = !lean_is_exclusive(x_3); if (x_7 == 0) { -lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_8 = lean_ctor_get(x_3, 5); -lean_dec(x_8); -x_9 = lean_ctor_get(x_3, 0); +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = lean_ctor_get(x_3, 1); +x_9 = lean_ctor_get(x_3, 5); lean_dec(x_9); -x_10 = !lean_is_exclusive(x_5); -if (x_10 == 0) +x_10 = lean_ctor_get(x_3, 0); +lean_dec(x_10); +x_11 = !lean_is_exclusive(x_5); +if (x_11 == 0) { -lean_object* x_11; lean_object* x_12; -x_11 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_11, 0, x_2); -lean_ctor_set(x_3, 5, x_11); -x_12 = lean_apply_2(x_6, x_3, x_4); -return x_12; +uint8_t x_12; +x_12 = !lean_is_exclusive(x_8); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_2); +lean_ctor_set(x_3, 5, x_13); +x_14 = lean_apply_2(x_6, x_3, x_4); +return x_14; } 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; -x_13 = lean_ctor_get(x_5, 0); -x_14 = lean_ctor_get(x_5, 1); -x_15 = lean_ctor_get(x_5, 2); +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, 0); +x_16 = lean_ctor_get(x_8, 1); +x_17 = lean_ctor_get(x_8, 2); +lean_inc(x_17); +lean_inc(x_16); lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_dec(x_5); -x_16 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_16, 0, x_13); -lean_ctor_set(x_16, 1, x_14); -lean_ctor_set(x_16, 2, x_15); -x_17 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_17, 0, x_2); -lean_ctor_set(x_3, 5, x_17); -lean_ctor_set(x_3, 0, x_16); -x_18 = lean_apply_2(x_6, x_3, x_4); -return x_18; +lean_dec(x_8); +x_18 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_18, 0, x_15); +lean_ctor_set(x_18, 1, x_16); +lean_ctor_set(x_18, 2, x_17); +x_19 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_19, 0, x_2); +lean_ctor_set(x_3, 5, x_19); +lean_ctor_set(x_3, 1, x_18); +x_20 = lean_apply_2(x_6, x_3, x_4); +return x_20; } } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; uint8_t 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_19 = lean_ctor_get(x_3, 1); -x_20 = lean_ctor_get(x_3, 2); -x_21 = lean_ctor_get(x_3, 3); -x_22 = lean_ctor_get_uint8(x_3, sizeof(void*)*6); -x_23 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 1); -x_24 = lean_ctor_get(x_3, 4); -lean_inc(x_24); +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_21 = lean_ctor_get(x_5, 0); +x_22 = lean_ctor_get(x_5, 1); +x_23 = lean_ctor_get(x_5, 2); +lean_inc(x_23); +lean_inc(x_22); lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_3); -x_25 = lean_ctor_get(x_5, 0); +lean_dec(x_5); +x_24 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_24, 0, x_21); +lean_ctor_set(x_24, 1, x_22); +lean_ctor_set(x_24, 2, x_23); +x_25 = lean_ctor_get(x_8, 0); lean_inc(x_25); -x_26 = lean_ctor_get(x_5, 1); +x_26 = lean_ctor_get(x_8, 1); lean_inc(x_26); -x_27 = lean_ctor_get(x_5, 2); +x_27 = lean_ctor_get(x_8, 2); lean_inc(x_27); -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_28 = x_5; +if (lean_is_exclusive(x_8)) { + lean_ctor_release(x_8, 0); + lean_ctor_release(x_8, 1); + lean_ctor_release(x_8, 2); + x_28 = x_8; } else { - lean_dec_ref(x_5); + lean_dec_ref(x_8); x_28 = lean_box(0); } if (lean_is_scalar(x_28)) { @@ -14724,17 +15105,86 @@ lean_ctor_set(x_29, 1, x_26); lean_ctor_set(x_29, 2, x_27); x_30 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_30, 0, x_2); -x_31 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_19); -lean_ctor_set(x_31, 2, x_20); -lean_ctor_set(x_31, 3, x_21); -lean_ctor_set(x_31, 4, x_24); -lean_ctor_set(x_31, 5, x_30); -lean_ctor_set_uint8(x_31, sizeof(void*)*6, x_22); -lean_ctor_set_uint8(x_31, sizeof(void*)*6 + 1, x_23); -x_32 = lean_apply_2(x_6, x_31, x_4); -return x_32; +lean_ctor_set(x_3, 5, x_30); +lean_ctor_set(x_3, 1, x_29); +lean_ctor_set(x_3, 0, x_24); +x_31 = lean_apply_2(x_6, x_3, x_4); +return x_31; +} +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t 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; +x_32 = lean_ctor_get(x_3, 1); +x_33 = lean_ctor_get(x_3, 2); +x_34 = lean_ctor_get(x_3, 3); +x_35 = lean_ctor_get_uint8(x_3, sizeof(void*)*6); +x_36 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 1); +x_37 = lean_ctor_get(x_3, 4); +lean_inc(x_37); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_3); +x_38 = lean_ctor_get(x_5, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_5, 1); +lean_inc(x_39); +x_40 = lean_ctor_get(x_5, 2); +lean_inc(x_40); +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_41 = x_5; +} else { + lean_dec_ref(x_5); + x_41 = lean_box(0); +} +if (lean_is_scalar(x_41)) { + x_42 = lean_alloc_ctor(0, 3, 0); +} else { + x_42 = x_41; +} +lean_ctor_set(x_42, 0, x_38); +lean_ctor_set(x_42, 1, x_39); +lean_ctor_set(x_42, 2, x_40); +x_43 = lean_ctor_get(x_32, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_32, 1); +lean_inc(x_44); +x_45 = lean_ctor_get(x_32, 2); +lean_inc(x_45); +if (lean_is_exclusive(x_32)) { + lean_ctor_release(x_32, 0); + lean_ctor_release(x_32, 1); + lean_ctor_release(x_32, 2); + x_46 = x_32; +} else { + lean_dec_ref(x_32); + x_46 = lean_box(0); +} +if (lean_is_scalar(x_46)) { + x_47 = lean_alloc_ctor(0, 3, 0); +} else { + x_47 = x_46; +} +lean_ctor_set(x_47, 0, x_43); +lean_ctor_set(x_47, 1, x_44); +lean_ctor_set(x_47, 2, x_45); +x_48 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_48, 0, x_2); +x_49 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_49, 0, x_42); +lean_ctor_set(x_49, 1, x_47); +lean_ctor_set(x_49, 2, x_33); +lean_ctor_set(x_49, 3, x_34); +lean_ctor_set(x_49, 4, x_37); +lean_ctor_set(x_49, 5, x_48); +lean_ctor_set_uint8(x_49, sizeof(void*)*6, x_35); +lean_ctor_set_uint8(x_49, sizeof(void*)*6 + 1, x_36); +x_50 = lean_apply_2(x_6, x_49, x_4); +return x_50; } } } @@ -14782,68 +15232,73 @@ lean_dec(x_1); x_6 = !lean_is_exclusive(x_2); if (x_6 == 0) { -lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_7 = lean_ctor_get(x_2, 5); -lean_dec(x_7); -x_8 = lean_ctor_get(x_2, 0); +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_ctor_get(x_2, 1); +x_8 = lean_ctor_get(x_2, 5); lean_dec(x_8); -x_9 = !lean_is_exclusive(x_4); -if (x_9 == 0) +x_9 = lean_ctor_get(x_2, 0); +lean_dec(x_9); +x_10 = !lean_is_exclusive(x_4); +if (x_10 == 0) { -lean_object* x_10; lean_object* x_11; -x_10 = lean_box(0); -lean_ctor_set(x_2, 5, x_10); -x_11 = lean_apply_2(x_5, x_2, x_3); -return x_11; +uint8_t x_11; +x_11 = !lean_is_exclusive(x_7); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_box(0); +lean_ctor_set(x_2, 5, x_12); +x_13 = lean_apply_2(x_5, x_2, x_3); +return x_13; } 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; -x_12 = lean_ctor_get(x_4, 0); -x_13 = lean_ctor_get(x_4, 1); -x_14 = lean_ctor_get(x_4, 2); +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_14 = lean_ctor_get(x_7, 0); +x_15 = lean_ctor_get(x_7, 1); +x_16 = lean_ctor_get(x_7, 2); +lean_inc(x_16); +lean_inc(x_15); lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_dec(x_4); -x_15 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_15, 0, x_12); -lean_ctor_set(x_15, 1, x_13); -lean_ctor_set(x_15, 2, x_14); -x_16 = lean_box(0); -lean_ctor_set(x_2, 5, x_16); -lean_ctor_set(x_2, 0, x_15); -x_17 = lean_apply_2(x_5, x_2, x_3); -return x_17; +lean_dec(x_7); +x_17 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_17, 0, x_14); +lean_ctor_set(x_17, 1, x_15); +lean_ctor_set(x_17, 2, x_16); +x_18 = lean_box(0); +lean_ctor_set(x_2, 5, x_18); +lean_ctor_set(x_2, 1, x_17); +x_19 = lean_apply_2(x_5, x_2, x_3); +return x_19; } } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t 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; -x_18 = lean_ctor_get(x_2, 1); -x_19 = lean_ctor_get(x_2, 2); -x_20 = lean_ctor_get(x_2, 3); -x_21 = lean_ctor_get_uint8(x_2, sizeof(void*)*6); -x_22 = lean_ctor_get_uint8(x_2, sizeof(void*)*6 + 1); -x_23 = lean_ctor_get(x_2, 4); -lean_inc(x_23); +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_4, 0); +x_21 = lean_ctor_get(x_4, 1); +x_22 = lean_ctor_get(x_4, 2); +lean_inc(x_22); +lean_inc(x_21); lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_2); -x_24 = lean_ctor_get(x_4, 0); +lean_dec(x_4); +x_23 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_23, 0, x_20); +lean_ctor_set(x_23, 1, x_21); +lean_ctor_set(x_23, 2, x_22); +x_24 = lean_ctor_get(x_7, 0); lean_inc(x_24); -x_25 = lean_ctor_get(x_4, 1); +x_25 = lean_ctor_get(x_7, 1); lean_inc(x_25); -x_26 = lean_ctor_get(x_4, 2); +x_26 = lean_ctor_get(x_7, 2); lean_inc(x_26); -if (lean_is_exclusive(x_4)) { - lean_ctor_release(x_4, 0); - lean_ctor_release(x_4, 1); - lean_ctor_release(x_4, 2); - x_27 = x_4; +if (lean_is_exclusive(x_7)) { + lean_ctor_release(x_7, 0); + lean_ctor_release(x_7, 1); + lean_ctor_release(x_7, 2); + x_27 = x_7; } else { - lean_dec_ref(x_4); + lean_dec_ref(x_7); x_27 = lean_box(0); } if (lean_is_scalar(x_27)) { @@ -14855,17 +15310,85 @@ lean_ctor_set(x_28, 0, x_24); lean_ctor_set(x_28, 1, x_25); lean_ctor_set(x_28, 2, x_26); x_29 = lean_box(0); -x_30 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_18); -lean_ctor_set(x_30, 2, x_19); -lean_ctor_set(x_30, 3, x_20); -lean_ctor_set(x_30, 4, x_23); -lean_ctor_set(x_30, 5, x_29); -lean_ctor_set_uint8(x_30, sizeof(void*)*6, x_21); -lean_ctor_set_uint8(x_30, sizeof(void*)*6 + 1, x_22); -x_31 = lean_apply_2(x_5, x_30, x_3); -return x_31; +lean_ctor_set(x_2, 5, x_29); +lean_ctor_set(x_2, 1, x_28); +lean_ctor_set(x_2, 0, x_23); +x_30 = lean_apply_2(x_5, x_2, x_3); +return x_30; +} +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; uint8_t 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_31 = lean_ctor_get(x_2, 1); +x_32 = lean_ctor_get(x_2, 2); +x_33 = lean_ctor_get(x_2, 3); +x_34 = lean_ctor_get_uint8(x_2, sizeof(void*)*6); +x_35 = lean_ctor_get_uint8(x_2, sizeof(void*)*6 + 1); +x_36 = lean_ctor_get(x_2, 4); +lean_inc(x_36); +lean_inc(x_33); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_2); +x_37 = lean_ctor_get(x_4, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_4, 1); +lean_inc(x_38); +x_39 = lean_ctor_get(x_4, 2); +lean_inc(x_39); +if (lean_is_exclusive(x_4)) { + lean_ctor_release(x_4, 0); + lean_ctor_release(x_4, 1); + lean_ctor_release(x_4, 2); + x_40 = x_4; +} else { + lean_dec_ref(x_4); + x_40 = lean_box(0); +} +if (lean_is_scalar(x_40)) { + x_41 = lean_alloc_ctor(0, 3, 0); +} else { + x_41 = x_40; +} +lean_ctor_set(x_41, 0, x_37); +lean_ctor_set(x_41, 1, x_38); +lean_ctor_set(x_41, 2, x_39); +x_42 = lean_ctor_get(x_31, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_31, 1); +lean_inc(x_43); +x_44 = lean_ctor_get(x_31, 2); +lean_inc(x_44); +if (lean_is_exclusive(x_31)) { + lean_ctor_release(x_31, 0); + lean_ctor_release(x_31, 1); + lean_ctor_release(x_31, 2); + x_45 = x_31; +} else { + lean_dec_ref(x_31); + x_45 = lean_box(0); +} +if (lean_is_scalar(x_45)) { + x_46 = lean_alloc_ctor(0, 3, 0); +} else { + x_46 = x_45; +} +lean_ctor_set(x_46, 0, x_42); +lean_ctor_set(x_46, 1, x_43); +lean_ctor_set(x_46, 2, x_44); +x_47 = lean_box(0); +x_48 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_48, 0, x_41); +lean_ctor_set(x_48, 1, x_46); +lean_ctor_set(x_48, 2, x_32); +lean_ctor_set(x_48, 3, x_33); +lean_ctor_set(x_48, 4, x_36); +lean_ctor_set(x_48, 5, x_47); +lean_ctor_set_uint8(x_48, sizeof(void*)*6, x_34); +lean_ctor_set_uint8(x_48, sizeof(void*)*6 + 1, x_35); +x_49 = lean_apply_2(x_5, x_48, x_3); +return x_49; } } } @@ -26101,7 +26624,7 @@ lean_dec(x_1); return x_6; } } -lean_object* l_IO_mkRef___at_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6042____spec__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_IO_mkRef___at_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6082____spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; @@ -26126,7 +26649,7 @@ return x_7; } } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6042____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6082____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -26134,34 +26657,34 @@ x_4 = l_Lean_Parser_whitespace(x_2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6042____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6082____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6042____lambda__1___boxed), 3, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6082____lambda__1___boxed), 3, 0); return x_1; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6042_(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6082_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6042____closed__1; -x_3 = l_IO_mkRef___at_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6042____spec__1(x_2, x_1); +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6082____closed__1; +x_3 = l_IO_mkRef___at_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6082____spec__1(x_2, x_1); return x_3; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6042____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6082____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6042____lambda__1(x_1, x_2, x_3); +x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6082____lambda__1(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); return x_4; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6061____lambda__1(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6101____lambda__1(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; @@ -26187,19 +26710,19 @@ return x_7; } } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6061____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6101____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6061____lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6101____lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6061_(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6101_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6061____closed__1; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6101____closed__1; x_3 = l_Lean_EnvExtensionInterfaceUnsafe_registerExt___rarg(x_2, x_1); return x_3; } @@ -26207,14 +26730,17 @@ return x_3; lean_object* l_Lean_Parser_categoryParserFn(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_4 = lean_ctor_get(x_2, 2); +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_2, 1); lean_inc(x_4); -x_5 = l_Lean_Parser_categoryParserFnExtension; -x_6 = l_Lean_EnvExtensionInterfaceUnsafe_getState___rarg(x_5, x_4); +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); lean_dec(x_4); -x_7 = lean_apply_3(x_6, x_1, x_2, x_3); -return x_7; +x_6 = l_Lean_Parser_categoryParserFnExtension; +x_7 = l_Lean_EnvExtensionInterfaceUnsafe_getState___rarg(x_6, x_5); +lean_dec(x_5); +x_8 = lean_apply_3(x_7, x_1, x_2, x_3); +return x_8; } } lean_object* l_Lean_Parser_categoryParser___elambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { @@ -26224,88 +26750,160 @@ uint8_t x_5; x_5 = !lean_is_exclusive(x_3); if (x_5 == 0) { -lean_object* x_6; lean_object* x_7; uint8_t x_8; +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_3, 1); -lean_dec(x_7); -x_8 = !lean_is_exclusive(x_6); -if (x_8 == 0) +x_8 = lean_ctor_get(x_3, 2); +lean_dec(x_8); +x_9 = !lean_is_exclusive(x_6); +if (x_9 == 0) { -lean_object* x_9; -lean_ctor_set(x_3, 1, x_2); -x_9 = l_Lean_Parser_categoryParserFn(x_1, x_3, x_4); -return x_9; +uint8_t x_10; +x_10 = !lean_is_exclusive(x_7); +if (x_10 == 0) +{ +lean_object* x_11; +lean_ctor_set(x_3, 2, x_2); +x_11 = l_Lean_Parser_categoryParserFn(x_1, x_3, x_4); +return x_11; } 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); -x_11 = lean_ctor_get(x_6, 1); -x_12 = lean_ctor_get(x_6, 2); +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_7, 0); +x_13 = lean_ctor_get(x_7, 1); +x_14 = lean_ctor_get(x_7, 2); +lean_inc(x_14); +lean_inc(x_13); lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_dec(x_6); -x_13 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_13, 0, x_10); -lean_ctor_set(x_13, 1, x_11); -lean_ctor_set(x_13, 2, x_12); -lean_ctor_set(x_3, 1, x_2); -lean_ctor_set(x_3, 0, x_13); -x_14 = l_Lean_Parser_categoryParserFn(x_1, x_3, x_4); -return x_14; +lean_dec(x_7); +x_15 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_15, 0, x_12); +lean_ctor_set(x_15, 1, x_13); +lean_ctor_set(x_15, 2, x_14); +lean_ctor_set(x_3, 2, x_2); +lean_ctor_set(x_3, 1, x_15); +x_16 = l_Lean_Parser_categoryParserFn(x_1, x_3, x_4); +return x_16; } } else { -lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t 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; -x_15 = lean_ctor_get(x_3, 0); -x_16 = lean_ctor_get(x_3, 2); -x_17 = lean_ctor_get(x_3, 3); -x_18 = lean_ctor_get_uint8(x_3, sizeof(void*)*6); -x_19 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 1); -x_20 = lean_ctor_get(x_3, 4); -x_21 = lean_ctor_get(x_3, 5); -lean_inc(x_21); -lean_inc(x_20); +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_6, 0); +x_18 = lean_ctor_get(x_6, 1); +x_19 = lean_ctor_get(x_6, 2); +lean_inc(x_19); +lean_inc(x_18); lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_3); -x_22 = lean_ctor_get(x_15, 0); +lean_dec(x_6); +x_20 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_20, 0, x_17); +lean_ctor_set(x_20, 1, x_18); +lean_ctor_set(x_20, 2, x_19); +x_21 = lean_ctor_get(x_7, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_7, 1); lean_inc(x_22); -x_23 = lean_ctor_get(x_15, 1); +x_23 = lean_ctor_get(x_7, 2); lean_inc(x_23); -x_24 = lean_ctor_get(x_15, 2); -lean_inc(x_24); -if (lean_is_exclusive(x_15)) { - lean_ctor_release(x_15, 0); - lean_ctor_release(x_15, 1); - lean_ctor_release(x_15, 2); - x_25 = x_15; +if (lean_is_exclusive(x_7)) { + lean_ctor_release(x_7, 0); + lean_ctor_release(x_7, 1); + lean_ctor_release(x_7, 2); + x_24 = x_7; } else { - lean_dec_ref(x_15); - x_25 = lean_box(0); + lean_dec_ref(x_7); + x_24 = lean_box(0); } -if (lean_is_scalar(x_25)) { - x_26 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_24)) { + x_25 = lean_alloc_ctor(0, 3, 0); } else { - x_26 = x_25; + x_25 = x_24; } -lean_ctor_set(x_26, 0, x_22); -lean_ctor_set(x_26, 1, x_23); -lean_ctor_set(x_26, 2, x_24); -x_27 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_2); -lean_ctor_set(x_27, 2, x_16); -lean_ctor_set(x_27, 3, x_17); -lean_ctor_set(x_27, 4, x_20); -lean_ctor_set(x_27, 5, x_21); -lean_ctor_set_uint8(x_27, sizeof(void*)*6, x_18); -lean_ctor_set_uint8(x_27, sizeof(void*)*6 + 1, x_19); -x_28 = l_Lean_Parser_categoryParserFn(x_1, x_27, x_4); -return x_28; +lean_ctor_set(x_25, 0, x_21); +lean_ctor_set(x_25, 1, x_22); +lean_ctor_set(x_25, 2, x_23); +lean_ctor_set(x_3, 2, x_2); +lean_ctor_set(x_3, 1, x_25); +lean_ctor_set(x_3, 0, x_20); +x_26 = l_Lean_Parser_categoryParserFn(x_1, x_3, x_4); +return x_26; +} +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; uint8_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; 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_27 = lean_ctor_get(x_3, 0); +x_28 = lean_ctor_get(x_3, 1); +x_29 = lean_ctor_get(x_3, 3); +x_30 = lean_ctor_get_uint8(x_3, sizeof(void*)*6); +x_31 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 1); +x_32 = lean_ctor_get(x_3, 4); +x_33 = lean_ctor_get(x_3, 5); +lean_inc(x_33); +lean_inc(x_32); +lean_inc(x_29); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_3); +x_34 = lean_ctor_get(x_27, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_27, 1); +lean_inc(x_35); +x_36 = lean_ctor_get(x_27, 2); +lean_inc(x_36); +if (lean_is_exclusive(x_27)) { + lean_ctor_release(x_27, 0); + lean_ctor_release(x_27, 1); + lean_ctor_release(x_27, 2); + x_37 = x_27; +} else { + lean_dec_ref(x_27); + x_37 = lean_box(0); +} +if (lean_is_scalar(x_37)) { + x_38 = lean_alloc_ctor(0, 3, 0); +} else { + x_38 = x_37; +} +lean_ctor_set(x_38, 0, x_34); +lean_ctor_set(x_38, 1, x_35); +lean_ctor_set(x_38, 2, x_36); +x_39 = lean_ctor_get(x_28, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_28, 1); +lean_inc(x_40); +x_41 = lean_ctor_get(x_28, 2); +lean_inc(x_41); +if (lean_is_exclusive(x_28)) { + lean_ctor_release(x_28, 0); + lean_ctor_release(x_28, 1); + lean_ctor_release(x_28, 2); + x_42 = x_28; +} else { + lean_dec_ref(x_28); + x_42 = lean_box(0); +} +if (lean_is_scalar(x_42)) { + x_43 = lean_alloc_ctor(0, 3, 0); +} else { + x_43 = x_42; +} +lean_ctor_set(x_43, 0, x_39); +lean_ctor_set(x_43, 1, x_40); +lean_ctor_set(x_43, 2, x_41); +x_44 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_44, 0, x_38); +lean_ctor_set(x_44, 1, x_43); +lean_ctor_set(x_44, 2, x_2); +lean_ctor_set(x_44, 3, x_29); +lean_ctor_set(x_44, 4, x_32); +lean_ctor_set(x_44, 5, x_33); +lean_ctor_set_uint8(x_44, sizeof(void*)*6, x_30); +lean_ctor_set_uint8(x_44, sizeof(void*)*6 + 1, x_31); +x_45 = l_Lean_Parser_categoryParserFn(x_1, x_44, x_4); +return x_45; } } } @@ -28465,88 +29063,160 @@ uint8_t x_5; x_5 = !lean_is_exclusive(x_3); if (x_5 == 0) { -lean_object* x_6; lean_object* x_7; uint8_t x_8; +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_3, 1); -lean_dec(x_7); -x_8 = !lean_is_exclusive(x_6); -if (x_8 == 0) +x_8 = lean_ctor_get(x_3, 2); +lean_dec(x_8); +x_9 = !lean_is_exclusive(x_6); +if (x_9 == 0) { -lean_object* x_9; -lean_ctor_set(x_3, 1, x_2); -x_9 = l_Lean_Parser_categoryParserOfStackFn(x_1, x_3, x_4); -return x_9; +uint8_t x_10; +x_10 = !lean_is_exclusive(x_7); +if (x_10 == 0) +{ +lean_object* x_11; +lean_ctor_set(x_3, 2, x_2); +x_11 = l_Lean_Parser_categoryParserOfStackFn(x_1, x_3, x_4); +return x_11; } 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); -x_11 = lean_ctor_get(x_6, 1); -x_12 = lean_ctor_get(x_6, 2); +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_7, 0); +x_13 = lean_ctor_get(x_7, 1); +x_14 = lean_ctor_get(x_7, 2); +lean_inc(x_14); +lean_inc(x_13); lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_dec(x_6); -x_13 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_13, 0, x_10); -lean_ctor_set(x_13, 1, x_11); -lean_ctor_set(x_13, 2, x_12); -lean_ctor_set(x_3, 1, x_2); -lean_ctor_set(x_3, 0, x_13); -x_14 = l_Lean_Parser_categoryParserOfStackFn(x_1, x_3, x_4); -return x_14; +lean_dec(x_7); +x_15 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_15, 0, x_12); +lean_ctor_set(x_15, 1, x_13); +lean_ctor_set(x_15, 2, x_14); +lean_ctor_set(x_3, 2, x_2); +lean_ctor_set(x_3, 1, x_15); +x_16 = l_Lean_Parser_categoryParserOfStackFn(x_1, x_3, x_4); +return x_16; } } else { -lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t 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; -x_15 = lean_ctor_get(x_3, 0); -x_16 = lean_ctor_get(x_3, 2); -x_17 = lean_ctor_get(x_3, 3); -x_18 = lean_ctor_get_uint8(x_3, sizeof(void*)*6); -x_19 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 1); -x_20 = lean_ctor_get(x_3, 4); -x_21 = lean_ctor_get(x_3, 5); -lean_inc(x_21); -lean_inc(x_20); +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_6, 0); +x_18 = lean_ctor_get(x_6, 1); +x_19 = lean_ctor_get(x_6, 2); +lean_inc(x_19); +lean_inc(x_18); lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_3); -x_22 = lean_ctor_get(x_15, 0); +lean_dec(x_6); +x_20 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_20, 0, x_17); +lean_ctor_set(x_20, 1, x_18); +lean_ctor_set(x_20, 2, x_19); +x_21 = lean_ctor_get(x_7, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_7, 1); lean_inc(x_22); -x_23 = lean_ctor_get(x_15, 1); +x_23 = lean_ctor_get(x_7, 2); lean_inc(x_23); -x_24 = lean_ctor_get(x_15, 2); -lean_inc(x_24); -if (lean_is_exclusive(x_15)) { - lean_ctor_release(x_15, 0); - lean_ctor_release(x_15, 1); - lean_ctor_release(x_15, 2); - x_25 = x_15; +if (lean_is_exclusive(x_7)) { + lean_ctor_release(x_7, 0); + lean_ctor_release(x_7, 1); + lean_ctor_release(x_7, 2); + x_24 = x_7; } else { - lean_dec_ref(x_15); - x_25 = lean_box(0); + lean_dec_ref(x_7); + x_24 = lean_box(0); } -if (lean_is_scalar(x_25)) { - x_26 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_24)) { + x_25 = lean_alloc_ctor(0, 3, 0); } else { - x_26 = x_25; + x_25 = x_24; } -lean_ctor_set(x_26, 0, x_22); -lean_ctor_set(x_26, 1, x_23); -lean_ctor_set(x_26, 2, x_24); -x_27 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_2); -lean_ctor_set(x_27, 2, x_16); -lean_ctor_set(x_27, 3, x_17); -lean_ctor_set(x_27, 4, x_20); -lean_ctor_set(x_27, 5, x_21); -lean_ctor_set_uint8(x_27, sizeof(void*)*6, x_18); -lean_ctor_set_uint8(x_27, sizeof(void*)*6 + 1, x_19); -x_28 = l_Lean_Parser_categoryParserOfStackFn(x_1, x_27, x_4); -return x_28; +lean_ctor_set(x_25, 0, x_21); +lean_ctor_set(x_25, 1, x_22); +lean_ctor_set(x_25, 2, x_23); +lean_ctor_set(x_3, 2, x_2); +lean_ctor_set(x_3, 1, x_25); +lean_ctor_set(x_3, 0, x_20); +x_26 = l_Lean_Parser_categoryParserOfStackFn(x_1, x_3, x_4); +return x_26; +} +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; uint8_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; 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_27 = lean_ctor_get(x_3, 0); +x_28 = lean_ctor_get(x_3, 1); +x_29 = lean_ctor_get(x_3, 3); +x_30 = lean_ctor_get_uint8(x_3, sizeof(void*)*6); +x_31 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 1); +x_32 = lean_ctor_get(x_3, 4); +x_33 = lean_ctor_get(x_3, 5); +lean_inc(x_33); +lean_inc(x_32); +lean_inc(x_29); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_3); +x_34 = lean_ctor_get(x_27, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_27, 1); +lean_inc(x_35); +x_36 = lean_ctor_get(x_27, 2); +lean_inc(x_36); +if (lean_is_exclusive(x_27)) { + lean_ctor_release(x_27, 0); + lean_ctor_release(x_27, 1); + lean_ctor_release(x_27, 2); + x_37 = x_27; +} else { + lean_dec_ref(x_27); + x_37 = lean_box(0); +} +if (lean_is_scalar(x_37)) { + x_38 = lean_alloc_ctor(0, 3, 0); +} else { + x_38 = x_37; +} +lean_ctor_set(x_38, 0, x_34); +lean_ctor_set(x_38, 1, x_35); +lean_ctor_set(x_38, 2, x_36); +x_39 = lean_ctor_get(x_28, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_28, 1); +lean_inc(x_40); +x_41 = lean_ctor_get(x_28, 2); +lean_inc(x_41); +if (lean_is_exclusive(x_28)) { + lean_ctor_release(x_28, 0); + lean_ctor_release(x_28, 1); + lean_ctor_release(x_28, 2); + x_42 = x_28; +} else { + lean_dec_ref(x_28); + x_42 = lean_box(0); +} +if (lean_is_scalar(x_42)) { + x_43 = lean_alloc_ctor(0, 3, 0); +} else { + x_43 = x_42; +} +lean_ctor_set(x_43, 0, x_39); +lean_ctor_set(x_43, 1, x_40); +lean_ctor_set(x_43, 2, x_41); +x_44 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_44, 0, x_38); +lean_ctor_set(x_44, 1, x_43); +lean_ctor_set(x_44, 2, x_2); +lean_ctor_set(x_44, 3, x_29); +lean_ctor_set(x_44, 4, x_32); +lean_ctor_set(x_44, 5, x_33); +lean_ctor_set_uint8(x_44, sizeof(void*)*6, x_30); +lean_ctor_set_uint8(x_44, sizeof(void*)*6 + 1, x_31); +x_45 = l_Lean_Parser_categoryParserOfStackFn(x_1, x_44, x_4); +return x_45; } } } @@ -28573,6 +29243,630 @@ lean_dec(x_1); return x_5; } } +lean_object* l_Lean_Parser_parserOfStackFnUnsafe_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_ctor_get(x_1, 0); +lean_inc(x_4); +lean_dec(x_1); +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_Parser_parserOfStackFnUnsafe_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_parserOfStackFnUnsafe_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Parser_parserOfStackFnUnsafe_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) == 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, 1); +lean_inc(x_7); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; +lean_dec(x_4); +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +lean_dec(x_1); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +lean_dec(x_3); +x_9 = lean_ctor_get(x_6, 0); +lean_inc(x_9); +lean_dec(x_6); +x_10 = lean_apply_1(x_2, x_9); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_dec(x_2); +x_11 = lean_ctor_get(x_8, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_8, 1); +lean_inc(x_12); +lean_dec(x_8); +x_13 = lean_apply_3(x_3, x_6, x_11, x_12); +return x_13; +} +} +else +{ +lean_object* x_14; +lean_dec(x_7); +lean_dec(x_2); +x_14 = lean_ctor_get(x_1, 1); +lean_inc(x_14); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; +lean_dec(x_6); +lean_dec(x_3); +x_15 = lean_apply_1(x_4, x_1); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +lean_dec(x_4); +lean_dec(x_1); +x_16 = lean_ctor_get(x_14, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +lean_dec(x_14); +x_18 = lean_apply_3(x_3, x_6, x_16, x_17); +return x_18; +} +} +} +} +} +lean_object* l_Lean_Parser_parserOfStackFnUnsafe_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_parserOfStackFnUnsafe_match__2___rarg), 4, 0); +return x_2; +} +} +lean_object* l_Lean_Parser_parserOfStackFnUnsafe_match__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 3) +{ +lean_object* x_4; lean_object* x_5; lean_object* 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(x_1, 2); +lean_inc(x_6); +x_7 = lean_ctor_get(x_1, 3); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_apply_4(x_2, x_4, x_5, x_6, 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_Parser_parserOfStackFnUnsafe_match__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_parserOfStackFnUnsafe_match__3___rarg), 3, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_parserOfStackFnUnsafe___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("failed to determine parser using syntax stack, the specified element on the stack is not an identifier"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_parserOfStackFnUnsafe___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("unknown parser "); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_parserOfStackFnUnsafe___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_54____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_54____closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_parserOfStackFnUnsafe___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("error running parser "); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_parserOfStackFnUnsafe___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("ambiguous parser name "); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_parserOfStackFnUnsafe___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("failed to determine parser using syntax stack, stack is too small"); +return x_1; +} +} +lean_object* l_Lean_Parser_parserOfStackFnUnsafe(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = lean_array_get_size(x_4); +x_6 = lean_unsigned_to_nat(1u); +x_7 = lean_nat_add(x_1, x_6); +x_8 = lean_nat_dec_lt(x_5, x_7); +lean_dec(x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_9 = lean_nat_sub(x_5, x_1); +lean_dec(x_5); +x_10 = lean_nat_sub(x_9, x_6); +lean_dec(x_9); +x_11 = l_Lean_instInhabitedSyntax; +x_12 = lean_array_get(x_11, x_4, x_10); +lean_dec(x_10); +lean_dec(x_4); +if (lean_obj_tag(x_12) == 3) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_12, 2); +lean_inc(x_13); +lean_dec(x_12); +lean_inc(x_13); +lean_inc(x_2); +x_14 = l_Lean_Parser_ParserContext_resolveName(x_2, x_13); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_dec(x_2); +x_15 = l_Lean_Name_toString___closed__1; +x_16 = l_Lean_Name_toStringWithSep(x_15, x_13); +x_17 = l_Lean_Parser_parserOfStackFnUnsafe___closed__2; +x_18 = lean_string_append(x_17, x_16); +lean_dec(x_16); +x_19 = l_Lean_instInhabitedParserDescr___closed__1; +x_20 = lean_string_append(x_18, x_19); +x_21 = l_Lean_Parser_ParserState_mkUnexpectedError(x_3, x_20); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_14, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; +x_24 = lean_ctor_get(x_14, 1); +lean_inc(x_24); +lean_dec(x_14); +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_dec(x_13); +x_25 = lean_ctor_get(x_22, 0); +lean_inc(x_25); +lean_dec(x_22); +x_26 = lean_ctor_get(x_2, 1); +lean_inc(x_26); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +lean_dec(x_26); +x_28 = lean_box(0); +x_29 = l_Lean_Parser_parserOfStackFnUnsafe___closed__3; +lean_inc(x_25); +x_30 = l_Lean_Environment_evalConstCheck___rarg(x_27, x_28, x_29, x_25); +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_39; lean_object* x_40; lean_object* x_41; +lean_dec(x_2); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +lean_dec(x_30); +x_32 = l_Lean_Name_toString___closed__1; +x_33 = l_Lean_Name_toStringWithSep(x_32, x_25); +x_34 = l_Lean_Parser_parserOfStackFnUnsafe___closed__4; +x_35 = lean_string_append(x_34, x_33); +lean_dec(x_33); +x_36 = l___private_Init_Util_0__mkPanicMessage___closed__2; +x_37 = lean_string_append(x_35, x_36); +x_38 = lean_string_append(x_37, x_31); +lean_dec(x_31); +x_39 = l_Lean_instInhabitedParserDescr___closed__1; +x_40 = lean_string_append(x_38, x_39); +x_41 = l_Lean_Parser_ParserState_mkUnexpectedError(x_3, x_40); +return x_41; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +lean_dec(x_25); +x_42 = lean_ctor_get(x_30, 0); +lean_inc(x_42); +lean_dec(x_30); +x_43 = lean_ctor_get(x_42, 1); +lean_inc(x_43); +lean_dec(x_42); +x_44 = lean_apply_2(x_43, x_2, x_3); +return x_44; +} +} +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_dec(x_24); +lean_dec(x_22); +lean_dec(x_2); +x_45 = l_Lean_Name_toString___closed__1; +x_46 = l_Lean_Name_toStringWithSep(x_45, x_13); +x_47 = l_Lean_Parser_parserOfStackFnUnsafe___closed__5; +x_48 = lean_string_append(x_47, x_46); +lean_dec(x_46); +x_49 = l_Lean_instInhabitedParserDescr___closed__1; +x_50 = lean_string_append(x_48, x_49); +x_51 = l_Lean_Parser_ParserState_mkUnexpectedError(x_3, x_50); +return x_51; +} +} +else +{ +lean_object* x_52; +lean_dec(x_23); +lean_dec(x_22); +lean_dec(x_2); +x_52 = lean_ctor_get(x_14, 1); +lean_inc(x_52); +lean_dec(x_14); +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; +x_53 = l_Lean_Name_toString___closed__1; +x_54 = l_Lean_Name_toStringWithSep(x_53, x_13); +x_55 = l_Lean_Parser_parserOfStackFnUnsafe___closed__2; +x_56 = lean_string_append(x_55, x_54); +lean_dec(x_54); +x_57 = l_Lean_instInhabitedParserDescr___closed__1; +x_58 = lean_string_append(x_56, x_57); +x_59 = l_Lean_Parser_ParserState_mkUnexpectedError(x_3, x_58); +return x_59; +} +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_dec(x_52); +x_60 = l_Lean_Name_toString___closed__1; +x_61 = l_Lean_Name_toStringWithSep(x_60, x_13); +x_62 = l_Lean_Parser_parserOfStackFnUnsafe___closed__5; +x_63 = lean_string_append(x_62, x_61); +lean_dec(x_61); +x_64 = l_Lean_instInhabitedParserDescr___closed__1; +x_65 = lean_string_append(x_63, x_64); +x_66 = l_Lean_Parser_ParserState_mkUnexpectedError(x_3, x_65); +return x_66; +} +} +} +} +else +{ +lean_object* x_67; lean_object* x_68; +lean_dec(x_12); +lean_dec(x_2); +x_67 = l_Lean_Parser_parserOfStackFnUnsafe___closed__1; +x_68 = l_Lean_Parser_ParserState_mkUnexpectedError(x_3, x_67); +return x_68; +} +} +else +{ +lean_object* x_69; lean_object* x_70; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_69 = l_Lean_Parser_parserOfStackFnUnsafe___closed__6; +x_70 = l_Lean_Parser_ParserState_mkUnexpectedError(x_3, x_69); +return x_70; +} +} +} +lean_object* l_Lean_Parser_parserOfStackFnUnsafe___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Parser_parserOfStackFnUnsafe(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +lean_object* l_Lean_Parser_parserOfStackFn___rarg(lean_object* x_1) { +_start: +{ +lean_inc(x_1); +return x_1; +} +} +lean_object* l_Lean_Parser_parserOfStackFn(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_parserOfStackFn___rarg___boxed), 1, 0); +return x_3; +} +} +lean_object* l_Lean_Parser_parserOfStackFn___rarg___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Parser_parserOfStackFn___rarg(x_1); +lean_dec(x_1); +return x_2; +} +} +lean_object* l_Lean_Parser_parserOfStackFn___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Parser_parserOfStackFn(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l_Lean_Parser_parserOfStack___elambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_3); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_6 = lean_ctor_get(x_3, 0); +x_7 = lean_ctor_get(x_3, 1); +x_8 = lean_ctor_get(x_3, 2); +lean_dec(x_8); +x_9 = !lean_is_exclusive(x_6); +if (x_9 == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_7); +if (x_10 == 0) +{ +lean_object* x_11; +lean_ctor_set(x_3, 2, x_2); +x_11 = l_Lean_Parser_parserOfStackFnUnsafe(x_1, x_3, x_4); +return x_11; +} +else +{ +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_7, 0); +x_13 = lean_ctor_get(x_7, 1); +x_14 = lean_ctor_get(x_7, 2); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_7); +x_15 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_15, 0, x_12); +lean_ctor_set(x_15, 1, x_13); +lean_ctor_set(x_15, 2, x_14); +lean_ctor_set(x_3, 2, x_2); +lean_ctor_set(x_3, 1, x_15); +x_16 = l_Lean_Parser_parserOfStackFnUnsafe(x_1, x_3, x_4); +return x_16; +} +} +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_6, 0); +x_18 = lean_ctor_get(x_6, 1); +x_19 = lean_ctor_get(x_6, 2); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_6); +x_20 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_20, 0, x_17); +lean_ctor_set(x_20, 1, x_18); +lean_ctor_set(x_20, 2, x_19); +x_21 = lean_ctor_get(x_7, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_7, 1); +lean_inc(x_22); +x_23 = lean_ctor_get(x_7, 2); +lean_inc(x_23); +if (lean_is_exclusive(x_7)) { + lean_ctor_release(x_7, 0); + lean_ctor_release(x_7, 1); + lean_ctor_release(x_7, 2); + x_24 = x_7; +} else { + lean_dec_ref(x_7); + x_24 = lean_box(0); +} +if (lean_is_scalar(x_24)) { + x_25 = lean_alloc_ctor(0, 3, 0); +} else { + x_25 = x_24; +} +lean_ctor_set(x_25, 0, x_21); +lean_ctor_set(x_25, 1, x_22); +lean_ctor_set(x_25, 2, x_23); +lean_ctor_set(x_3, 2, x_2); +lean_ctor_set(x_3, 1, x_25); +lean_ctor_set(x_3, 0, x_20); +x_26 = l_Lean_Parser_parserOfStackFnUnsafe(x_1, x_3, x_4); +return x_26; +} +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; uint8_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; 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_27 = lean_ctor_get(x_3, 0); +x_28 = lean_ctor_get(x_3, 1); +x_29 = lean_ctor_get(x_3, 3); +x_30 = lean_ctor_get_uint8(x_3, sizeof(void*)*6); +x_31 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 1); +x_32 = lean_ctor_get(x_3, 4); +x_33 = lean_ctor_get(x_3, 5); +lean_inc(x_33); +lean_inc(x_32); +lean_inc(x_29); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_3); +x_34 = lean_ctor_get(x_27, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_27, 1); +lean_inc(x_35); +x_36 = lean_ctor_get(x_27, 2); +lean_inc(x_36); +if (lean_is_exclusive(x_27)) { + lean_ctor_release(x_27, 0); + lean_ctor_release(x_27, 1); + lean_ctor_release(x_27, 2); + x_37 = x_27; +} else { + lean_dec_ref(x_27); + x_37 = lean_box(0); +} +if (lean_is_scalar(x_37)) { + x_38 = lean_alloc_ctor(0, 3, 0); +} else { + x_38 = x_37; +} +lean_ctor_set(x_38, 0, x_34); +lean_ctor_set(x_38, 1, x_35); +lean_ctor_set(x_38, 2, x_36); +x_39 = lean_ctor_get(x_28, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_28, 1); +lean_inc(x_40); +x_41 = lean_ctor_get(x_28, 2); +lean_inc(x_41); +if (lean_is_exclusive(x_28)) { + lean_ctor_release(x_28, 0); + lean_ctor_release(x_28, 1); + lean_ctor_release(x_28, 2); + x_42 = x_28; +} else { + lean_dec_ref(x_28); + x_42 = lean_box(0); +} +if (lean_is_scalar(x_42)) { + x_43 = lean_alloc_ctor(0, 3, 0); +} else { + x_43 = x_42; +} +lean_ctor_set(x_43, 0, x_39); +lean_ctor_set(x_43, 1, x_40); +lean_ctor_set(x_43, 2, x_41); +x_44 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_44, 0, x_38); +lean_ctor_set(x_44, 1, x_43); +lean_ctor_set(x_44, 2, x_2); +lean_ctor_set(x_44, 3, x_29); +lean_ctor_set(x_44, 4, x_32); +lean_ctor_set(x_44, 5, x_33); +lean_ctor_set_uint8(x_44, sizeof(void*)*6, x_30); +lean_ctor_set_uint8(x_44, sizeof(void*)*6 + 1, x_31); +x_45 = l_Lean_Parser_parserOfStackFnUnsafe(x_1, x_44, x_4); +return x_45; +} +} +} +lean_object* l_Lean_Parser_parserOfStack(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_parserOfStack___elambda__1___boxed), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +x_4 = l_Lean_Parser_instInhabitedParser___closed__1; +x_5 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_3); +return x_5; +} +} +lean_object* l_Lean_Parser_parserOfStack___elambda__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_Parser_parserOfStack___elambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_mkResult(lean_object* x_1, lean_object* x_2) { _start: { @@ -29552,6 +30846,7 @@ lean_object* initialize_Lean_Environment(lean_object*); lean_object* initialize_Lean_Attributes(lean_object*); lean_object* initialize_Lean_Message(lean_object*); lean_object* initialize_Lean_Compiler_InitAttr(lean_object*); +lean_object* initialize_Lean_ResolveName(lean_object*); static bool _G_initialized = false; lean_object* initialize_Lean_Parser_Basic(lean_object* w) { lean_object * res; @@ -29584,6 +30879,9 @@ lean_dec_ref(res); res = initialize_Lean_Compiler_InitAttr(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_ResolveName(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lean_Parser_maxPrec = _init_l_Lean_Parser_maxPrec(); lean_mark_persistent(l_Lean_Parser_maxPrec); l_Lean_Parser_leadPrec___closed__1 = _init_l_Lean_Parser_leadPrec___closed__1(); @@ -29600,6 +30898,10 @@ l_Lean_Parser_instInhabitedInputContext___closed__1 = _init_l_Lean_Parser_instIn lean_mark_persistent(l_Lean_Parser_instInhabitedInputContext___closed__1); l_Lean_Parser_instInhabitedInputContext = _init_l_Lean_Parser_instInhabitedInputContext(); lean_mark_persistent(l_Lean_Parser_instInhabitedInputContext); +l_Lean_Parser_ParserModuleContext_currNamespace___default = _init_l_Lean_Parser_ParserModuleContext_currNamespace___default(); +lean_mark_persistent(l_Lean_Parser_ParserModuleContext_currNamespace___default); +l_Lean_Parser_ParserModuleContext_openDecls___default = _init_l_Lean_Parser_ParserModuleContext_openDecls___default(); +lean_mark_persistent(l_Lean_Parser_ParserModuleContext_openDecls___default); l_Lean_Parser_ParserContext_insideQuot___default = _init_l_Lean_Parser_ParserContext_insideQuot___default(); l_Lean_Parser_ParserContext_suppressInsideQuot___default = _init_l_Lean_Parser_ParserContext_suppressInsideQuot___default(); l_Lean_Parser_ParserContext_savedPos_x3f___default = _init_l_Lean_Parser_ParserContext_savedPos_x3f___default(); @@ -29858,16 +31160,16 @@ l_Lean_Parser_instInhabitedParserCategory___closed__1 = _init_l_Lean_Parser_inst lean_mark_persistent(l_Lean_Parser_instInhabitedParserCategory___closed__1); l_Lean_Parser_instInhabitedParserCategory = _init_l_Lean_Parser_instInhabitedParserCategory(); lean_mark_persistent(l_Lean_Parser_instInhabitedParserCategory); -l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6042____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6042____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6042____closed__1); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6042_(lean_io_mk_world()); +l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6082____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6082____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6082____closed__1); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6082_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Parser_categoryParserFnRef = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Parser_categoryParserFnRef); lean_dec_ref(res); -l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6061____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6061____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6061____closed__1); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6061_(lean_io_mk_world()); +l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6101____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6101____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6101____closed__1); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6101_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Parser_categoryParserFnExtension = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Parser_categoryParserFnExtension); @@ -30070,6 +31372,18 @@ l_Lean_Parser_categoryParserOfStackFn___closed__1 = _init_l_Lean_Parser_category lean_mark_persistent(l_Lean_Parser_categoryParserOfStackFn___closed__1); l_Lean_Parser_categoryParserOfStackFn___closed__2 = _init_l_Lean_Parser_categoryParserOfStackFn___closed__2(); lean_mark_persistent(l_Lean_Parser_categoryParserOfStackFn___closed__2); +l_Lean_Parser_parserOfStackFnUnsafe___closed__1 = _init_l_Lean_Parser_parserOfStackFnUnsafe___closed__1(); +lean_mark_persistent(l_Lean_Parser_parserOfStackFnUnsafe___closed__1); +l_Lean_Parser_parserOfStackFnUnsafe___closed__2 = _init_l_Lean_Parser_parserOfStackFnUnsafe___closed__2(); +lean_mark_persistent(l_Lean_Parser_parserOfStackFnUnsafe___closed__2); +l_Lean_Parser_parserOfStackFnUnsafe___closed__3 = _init_l_Lean_Parser_parserOfStackFnUnsafe___closed__3(); +lean_mark_persistent(l_Lean_Parser_parserOfStackFnUnsafe___closed__3); +l_Lean_Parser_parserOfStackFnUnsafe___closed__4 = _init_l_Lean_Parser_parserOfStackFnUnsafe___closed__4(); +lean_mark_persistent(l_Lean_Parser_parserOfStackFnUnsafe___closed__4); +l_Lean_Parser_parserOfStackFnUnsafe___closed__5 = _init_l_Lean_Parser_parserOfStackFnUnsafe___closed__5(); +lean_mark_persistent(l_Lean_Parser_parserOfStackFnUnsafe___closed__5); +l_Lean_Parser_parserOfStackFnUnsafe___closed__6 = _init_l_Lean_Parser_parserOfStackFnUnsafe___closed__6(); +lean_mark_persistent(l_Lean_Parser_parserOfStackFnUnsafe___closed__6); l_Lean_Parser_fieldIdxFn___closed__1 = _init_l_Lean_Parser_fieldIdxFn___closed__1(); lean_mark_persistent(l_Lean_Parser_fieldIdxFn___closed__1); l_Lean_Parser_fieldIdx___closed__1 = _init_l_Lean_Parser_fieldIdx___closed__1(); diff --git a/stage0/stdlib/Lean/Parser/Command.c b/stage0/stdlib/Lean/Parser/Command.c index 8df9c3cc26..b47af1203e 100644 --- a/stage0/stdlib/Lean/Parser/Command.c +++ b/stage0/stdlib/Lean/Parser/Command.c @@ -79,7 +79,6 @@ lean_object* l_Lean_Parser_Command_declModifiers___elambda__1___closed__3; lean_object* l___regBuiltin_Lean_Parser_Command_set__option_parenthesizer___closed__1; lean_object* l_Lean_Parser_Command_resolve__name___elambda__1___closed__8; lean_object* l_Lean_Parser_Command_extends___elambda__1___closed__3; -lean_object* l_Lean_Parser_Term_quot___closed__11; lean_object* l_Lean_Parser_Command_ctor; lean_object* l_Lean_Parser_Command_structure___closed__3; lean_object* l_Lean_Parser_Command_declSig_parenthesizer___closed__2; @@ -253,7 +252,6 @@ lean_object* l_Lean_Parser_Command_example_formatter___closed__3; lean_object* l_Lean_Parser_Command_structFields___elambda__1___closed__3; lean_object* l_Lean_Parser_Command_structInstBinder___closed__5; lean_object* l_Lean_Parser_Command_ctor___elambda__1___closed__14; -lean_object* l_Lean_Parser_Term_quot_formatter___closed__9; lean_object* l_Lean_Parser_Command_section_parenthesizer___closed__3; lean_object* l_Lean_Parser_Command_eval_parenthesizer___closed__2; lean_object* l_Lean_Parser_Command_structCtor_formatter___closed__2; @@ -724,6 +722,7 @@ lean_object* l_Lean_Parser_Command_initialize___elambda__1___closed__5; lean_object* l_Lean_Parser_Command_initialize___elambda__1___closed__3; lean_object* l_Lean_Parser_checkPrecFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_resolve__name___elambda__1___closed__9; +extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__39; lean_object* l_Lean_Parser_Command_docComment_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_variables___closed__6; lean_object* l_Lean_PrettyPrinter_Parenthesizer_atomic_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -765,13 +764,11 @@ lean_object* l_Lean_Parser_Command_structExplicitBinder___elambda__1___closed__9 lean_object* l_Lean_Parser_Command_set__option_formatter___closed__9; lean_object* l_Lean_Parser_Command_inductive_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_check___elambda__1___closed__2; -lean_object* l_Lean_Parser_Term_quot___elambda__1___closed__13; lean_object* l___regBuiltinParser_Lean_Parser_Term_quot(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_optional_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Parser_Command_open_formatter___closed__1; lean_object* l_Lean_Parser_Command_initialize___closed__8; lean_object* l_Lean_Parser_Command_constant_parenthesizer___closed__5; -extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; lean_object* l_Lean_Parser_Command_print___closed__7; lean_object* l_Lean_Parser_Command_universe___elambda__1___closed__3; lean_object* l_Lean_Parser_Command_variables___elambda__1___closed__8; @@ -831,6 +828,7 @@ lean_object* l_Lean_Parser_Command_set__option___elambda__1___closed__8; lean_object* l_Lean_Parser_Command_declValSimple___elambda__1___closed__1; lean_object* l_Lean_Parser_Command_axiom_parenthesizer___closed__2; lean_object* l_Lean_Parser_Command_mutual___elambda__1___closed__12; +extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; lean_object* l_Lean_Parser_Command_structure_formatter___closed__21; lean_object* l_Lean_Parser_Command_structSimpleBinder_parenthesizer___closed__5; lean_object* l_Lean_Parser_Command_inferMod_parenthesizer___closed__2; @@ -905,7 +903,6 @@ lean_object* l___regBuiltin_Lean_Parser_Command_open_parenthesizer(lean_object*) lean_object* l_Lean_Parser_Command_classTk_formatter___closed__2; lean_object* l_Lean_Parser_Command_declaration_parenthesizer___closed__9; lean_object* l_Lean_Parser_Command_builtin__initialize_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__39; lean_object* l_Lean_Parser_Command_attribute___closed__5; lean_object* l_Lean_Parser_Command_classInductive___closed__7; lean_object* l_Lean_Parser_Command_declModifiers_parenthesizer___closed__19; @@ -1128,6 +1125,7 @@ lean_object* l_Lean_Parser_Command_abbrev_parenthesizer(lean_object*, lean_objec extern lean_object* l_Lean_Parser_Term_explicitUniv___closed__3; lean_object* l_Lean_PrettyPrinter_Formatter_unicodeSymbol_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_openRenamingItem___closed__2; +extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__39; lean_object* l_Lean_Parser_Command_structExplicitBinder___elambda__1___closed__13; lean_object* l_Lean_Parser_Command_structure_parenthesizer___closed__5; lean_object* l_Lean_Parser_Command_openRenaming___elambda__1___closed__8; @@ -1171,6 +1169,7 @@ lean_object* l_Lean_Parser_Command_inductive___closed__2; lean_object* l_Lean_Parser_Command_eval_formatter___closed__3; lean_object* l_Lean_Parser_Command_structure___closed__11; lean_object* l_Lean_Parser_Command_structInstBinder_formatter___closed__7; +extern lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__13; lean_object* l_Lean_Parser_Command_axiom___closed__3; lean_object* l_Lean_Parser_Command_declModifiers_parenthesizer___closed__10; lean_object* l_Lean_Parser_Command_structFields_parenthesizer___closed__1; @@ -1463,6 +1462,7 @@ lean_object* l_Lean_Parser_Command_declModifiers___elambda__1___closed__9; lean_object* l_Lean_Parser_Command_constant___elambda__1___closed__6; lean_object* l_Lean_Parser_Command_theorem_formatter___closed__1; lean_object* l_Lean_Parser_Command_open_formatter___closed__3; +extern lean_object* l_Lean_Parser_Term_dynamicQuot_formatter___closed__2; extern lean_object* l_Lean_Parser_Term_emptyC___elambda__1___closed__5; lean_object* l_Lean_Parser_Command_ctor_formatter___closed__4; lean_object* l___regBuiltin_Lean_Parser_Command_printAxioms_formatter___closed__1; @@ -1489,7 +1489,6 @@ lean_object* l_Lean_Parser_Command_theorem___elambda__1___closed__5; lean_object* l_Lean_Parser_Command_structImplicitBinder___elambda__1___closed__12; lean_object* l_Lean_Parser_Command_abbrev___closed__8; lean_object* l_Lean_Parser_Command_inductive___elambda__1___closed__1; -extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__39; lean_object* l_Lean_Parser_Command_initialize_formatter___closed__3; lean_object* l_Lean_Parser_Command_exit_formatter___closed__1; extern lean_object* l_Lean_Parser_antiquotNestedExpr_formatter___closed__1; @@ -1645,6 +1644,7 @@ lean_object* l_Lean_Parser_Command_openRenamingItem___elambda__1___closed__7; lean_object* l_Lean_Parser_Command_declVal_parenthesizer___closed__3; lean_object* l_Lean_Parser_Command_structSimpleBinder; lean_object* l_Lean_Parser_Command_extends___closed__4; +extern lean_object* l_Lean_Parser_Term_dynamicQuot___closed__6; lean_object* l_Lean_Parser_Term_quot_formatter___closed__3; lean_object* l_Lean_Parser_Command_noncomputable___elambda__1___closed__5; lean_object* l_Lean_Parser_Command_check___elambda__1___closed__9; @@ -2495,7 +2495,6 @@ lean_object* l_Lean_Parser_Command_attribute___closed__4; lean_object* l_Lean_Parser_Command_ctor___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_quot_parenthesizer___closed__8; lean_object* l_Lean_Parser_Command_namespace___elambda__1___closed__7; -lean_object* l_Lean_Parser_Term_quot___elambda__1___closed__15; lean_object* l_Lean_Parser_withResultOfInfo(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_many_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_declSig; @@ -2609,7 +2608,6 @@ lean_object* l_Lean_Parser_Command_declModifiers_formatter___closed__1; lean_object* l_Lean_Parser_Command_docComment_formatter___closed__6; lean_object* l_Lean_Parser_Command_structure_formatter___closed__18; lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Term_quot___elambda__1___closed__14; lean_object* l_Lean_Parser_Command_declaration___closed__14; lean_object* l_Lean_Parser_Command_example___closed__1; lean_object* l_Lean_Parser_Command_protected_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2700,7 +2698,7 @@ static lean_object* _init_l_Lean_Parser_Term_quot___elambda__1___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; 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); @@ -2767,35 +2765,8 @@ return x_3; static lean_object* _init_l_Lean_Parser_Term_quot___elambda__1___closed__10() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("`("); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Term_quot___elambda__1___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_quot___elambda__1___closed__10; -x_2 = l_String_trim(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Term_quot___elambda__1___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_quot___elambda__1___closed__11; -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_Term_quot___elambda__1___closed__13() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_quot___elambda__1___closed__12; +x_1 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__13; x_2 = l_Lean_Parser_Term_quot___elambda__1___closed__9; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -2803,24 +2774,24 @@ lean_closure_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Term_quot___elambda__1___closed__14() { +static lean_object* _init_l_Lean_Parser_Term_quot___elambda__1___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_quot___elambda__1___closed__1; -x_2 = l_Lean_Parser_Term_quot___elambda__1___closed__13; +x_2 = l_Lean_Parser_Term_quot___elambda__1___closed__10; 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_Term_quot___elambda__1___closed__15() { +static lean_object* _init_l_Lean_Parser_Term_quot___elambda__1___closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__8; -x_2 = l_Lean_Parser_Term_quot___elambda__1___closed__14; +x_2 = l_Lean_Parser_Term_quot___elambda__1___closed__11; 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); @@ -2834,7 +2805,7 @@ lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_3 = l_Lean_Parser_Term_quot___elambda__1___closed__3; x_4 = lean_ctor_get(x_3, 1); lean_inc(x_4); -x_5 = l_Lean_Parser_Term_quot___elambda__1___closed__15; +x_5 = l_Lean_Parser_Term_quot___elambda__1___closed__12; x_6 = 1; x_7 = l_Lean_Parser_orelseFnCore(x_4, x_5, x_6, x_1, x_2); return x_7; @@ -2844,7 +2815,7 @@ static lean_object* _init_l_Lean_Parser_Term_quot___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_2 = lean_unsigned_to_nat(0u); x_3 = l_Lean_Parser_categoryParser(x_1, x_2); return x_3; @@ -2886,19 +2857,20 @@ return x_3; static lean_object* _init_l_Lean_Parser_Term_quot___closed__5() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_quot___elambda__1___closed__11; -x_2 = l_Lean_Parser_symbolInfo(x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_dynamicQuot___closed__6; +x_2 = l_Lean_Parser_Term_quot___closed__4; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Parser_Term_quot___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_quot___closed__5; -x_2 = l_Lean_Parser_Term_quot___closed__4; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +x_1 = l_Lean_Parser_Term_quot___elambda__1___closed__1; +x_2 = l_Lean_Parser_Term_quot___closed__5; +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; } } @@ -2906,35 +2878,25 @@ static lean_object* _init_l_Lean_Parser_Term_quot___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_quot___elambda__1___closed__1; +x_1 = l_Lean_Parser_epsilonInfo; x_2 = l_Lean_Parser_Term_quot___closed__6; -x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } } static lean_object* _init_l_Lean_Parser_Term_quot___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_Term_quot___closed__7; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Term_quot___closed__9() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_quot___elambda__1___closed__3; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_Term_quot___closed__8; +x_3 = l_Lean_Parser_Term_quot___closed__7; x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Term_quot___closed__10() { +static lean_object* _init_l_Lean_Parser_Term_quot___closed__9() { _start: { lean_object* x_1; @@ -2942,12 +2904,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_quot___elambda__1), 2, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_Term_quot___closed__11() { +static lean_object* _init_l_Lean_Parser_Term_quot___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_quot___closed__9; -x_2 = l_Lean_Parser_Term_quot___closed__10; +x_1 = l_Lean_Parser_Term_quot___closed__8; +x_2 = l_Lean_Parser_Term_quot___closed__9; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -2958,7 +2920,7 @@ static lean_object* _init_l_Lean_Parser_Term_quot() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Term_quot___closed__11; +x_1 = l_Lean_Parser_Term_quot___closed__10; return x_1; } } @@ -2993,59 +2955,61 @@ return x_5; static lean_object* _init_l_Lean_Parser_Term_quot_formatter___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_quot___elambda__1___closed__10; -x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_symbol_formatter), 6, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Term_quot_formatter___closed__3() { -_start: -{ lean_object* x_1; x_1 = lean_alloc_closure((void*)(l_Lean_Parser_commandParser_formatter___rarg), 5, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_Term_quot_formatter___closed__4() { +static lean_object* _init_l_Lean_Parser_Term_quot_formatter___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_quot_formatter___closed__3; +x_1 = l_Lean_Parser_Term_quot_formatter___closed__2; x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_many1Unbox_formatter), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Term_quot_formatter___closed__5() { +static lean_object* _init_l_Lean_Parser_Term_quot_formatter___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_antiquotNestedExpr_formatter___closed__2; -x_2 = l_Lean_Parser_Term_quot_formatter___closed__4; +x_2 = l_Lean_Parser_Term_quot_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_Term_quot_formatter___closed__6() { +static lean_object* _init_l_Lean_Parser_Term_quot_formatter___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_quot_formatter___closed__5; +x_1 = l_Lean_Parser_Term_quot_formatter___closed__4; x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_toggleInsideQuot_formatter), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } +static lean_object* _init_l_Lean_Parser_Term_quot_formatter___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_quot_formatter___closed__5; +x_2 = l_Lean_Parser_antiquotNestedExpr_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_Term_quot_formatter___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_quot_formatter___closed__6; -x_2 = l_Lean_Parser_antiquotNestedExpr_formatter___closed__4; +x_1 = l_Lean_Parser_Term_dynamicQuot_formatter___closed__2; +x_2 = l_Lean_Parser_Term_quot_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); @@ -3055,22 +3019,10 @@ return x_3; static lean_object* _init_l_Lean_Parser_Term_quot_formatter___closed__8() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_quot_formatter___closed__2; -x_2 = l_Lean_Parser_Term_quot_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_Term_quot_formatter___closed__9() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_quot___elambda__1___closed__1; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Term_quot_formatter___closed__8; +x_3 = l_Lean_Parser_Term_quot_formatter___closed__7; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); lean_closure_set(x_4, 0, x_1); lean_closure_set(x_4, 1, x_2); @@ -3083,7 +3035,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Term_quot_formatter___closed__1; -x_7 = l_Lean_Parser_Term_quot_formatter___closed__9; +x_7 = l_Lean_Parser_Term_quot_formatter___closed__8; x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -11449,7 +11401,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Command_declaration(lean_object* x _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_3 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1161____closed__4; x_4 = 1; x_5 = l_Lean_Parser_Command_declaration; @@ -14262,7 +14214,7 @@ static lean_object* _init_l_Lean_Parser_Command_structFields_formatter___closed_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__39; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__39; x_2 = l_Lean_Parser_Command_structFields_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); @@ -17192,7 +17144,7 @@ static lean_object* _init_l_Lean_Parser_Command_structFields_parenthesizer___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__39; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__39; x_2 = l_Lean_Parser_Command_structFields_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); @@ -17945,7 +17897,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Command_section(lean_object* x_1) _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_3 = l_Lean_Parser_Command_section___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Command_section; @@ -18322,7 +18274,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Command_namespace(lean_object* x_1 _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_3 = l_Lean_Parser_Command_namespace___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Command_namespace; @@ -18677,7 +18629,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Command_end(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_3 = l_Lean_Parser_Command_end___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Command_end; @@ -19016,7 +18968,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Command_variable(lean_object* x_1) _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_3 = l_Lean_Parser_Command_variable___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Command_variable; @@ -19377,7 +19329,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Command_variables(lean_object* x_1 _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_3 = l_Lean_Parser_Command_variables___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Command_variables; @@ -19754,7 +19706,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Command_universe(lean_object* x_1) _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_3 = l_Lean_Parser_Command_universe___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Command_universe; @@ -20099,7 +20051,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Command_universes(lean_object* x_1 _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_3 = l_Lean_Parser_Command_universes___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Command_universes; @@ -20456,7 +20408,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Command_check(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_3 = l_Lean_Parser_Command_check___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Command_check; @@ -20801,7 +20753,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Command_check__failure(lean_object _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_3 = l_Lean_Parser_Command_check__failure___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Command_check__failure; @@ -21146,7 +21098,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Command_eval(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_3 = l_Lean_Parser_Command_eval___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Command_eval; @@ -21491,7 +21443,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Command_synth(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_3 = l_Lean_Parser_Command_synth___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Command_synth; @@ -21812,7 +21764,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Command_exit(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_3 = l_Lean_Parser_Command_exit___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Command_exit; @@ -22169,7 +22121,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Command_print(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_3 = l_Lean_Parser_Command_print___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Command_print; @@ -22573,7 +22525,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Command_printAxioms(lean_object* x _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_3 = l_Lean_Parser_Command_printAxioms___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Command_printAxioms; @@ -22954,7 +22906,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Command_resolve__name(lean_object* _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_3 = l_Lean_Parser_Command_resolve__name___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Command_resolve__name; @@ -23267,7 +23219,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Command_init__quot(lean_object* x_ _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_3 = l_Lean_Parser_Command_init__quot___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Command_init__quot; @@ -23724,7 +23676,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Command_set__option(lean_object* x _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_3 = l_Lean_Parser_Command_set__option___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Command_set__option; @@ -24352,7 +24304,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Command_attribute(lean_object* x_1 _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_3 = l_Lean_Parser_Command_attribute___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Command_attribute; @@ -24891,7 +24843,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Command_export(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_3 = l_Lean_Parser_Command_export___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Command_export; @@ -26439,7 +26391,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Command_open(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_3 = l_Lean_Parser_Command_open___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Command_open; @@ -27686,7 +27638,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Command_mutual(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_3 = l_Lean_Parser_Command_mutual___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Command_mutual; @@ -27735,7 +27687,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_mutual_formatter___closed__3; -x_2 = l_Lean_Parser_Term_quot_formatter___closed__3; +x_2 = l_Lean_Parser_Term_quot_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); @@ -28242,7 +28194,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Command_initialize(lean_object* x_ _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_3 = l_Lean_Parser_Command_initialize___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Command_initialize; @@ -28709,7 +28661,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Command_builtin__initialize(lean_o _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_3 = l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Command_builtin__initialize; @@ -28916,7 +28868,7 @@ lean_inc(x_11); if (lean_obj_tag(x_11) == 0) { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_12 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_12 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_13 = lean_unsigned_to_nat(0u); x_14 = l_Lean_Parser_categoryParser___elambda__1(x_12, x_13, x_1, x_10); x_15 = l_Lean_Parser_Command_in___elambda__1___closed__2; @@ -29007,7 +28959,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Command_in(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_3 = l_Lean_Parser_Command_in___elambda__1___closed__2; x_4 = 0; x_5 = l_Lean_Parser_Command_in; @@ -29021,7 +28973,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_doFor_formatter___closed__3; -x_2 = l_Lean_Parser_Term_quot_formatter___closed__3; +x_2 = l_Lean_Parser_Term_quot_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); @@ -29141,12 +29093,6 @@ l_Lean_Parser_Term_quot___elambda__1___closed__11 = _init_l_Lean_Parser_Term_quo lean_mark_persistent(l_Lean_Parser_Term_quot___elambda__1___closed__11); l_Lean_Parser_Term_quot___elambda__1___closed__12 = _init_l_Lean_Parser_Term_quot___elambda__1___closed__12(); lean_mark_persistent(l_Lean_Parser_Term_quot___elambda__1___closed__12); -l_Lean_Parser_Term_quot___elambda__1___closed__13 = _init_l_Lean_Parser_Term_quot___elambda__1___closed__13(); -lean_mark_persistent(l_Lean_Parser_Term_quot___elambda__1___closed__13); -l_Lean_Parser_Term_quot___elambda__1___closed__14 = _init_l_Lean_Parser_Term_quot___elambda__1___closed__14(); -lean_mark_persistent(l_Lean_Parser_Term_quot___elambda__1___closed__14); -l_Lean_Parser_Term_quot___elambda__1___closed__15 = _init_l_Lean_Parser_Term_quot___elambda__1___closed__15(); -lean_mark_persistent(l_Lean_Parser_Term_quot___elambda__1___closed__15); l_Lean_Parser_Term_quot___closed__1 = _init_l_Lean_Parser_Term_quot___closed__1(); lean_mark_persistent(l_Lean_Parser_Term_quot___closed__1); l_Lean_Parser_Term_quot___closed__2 = _init_l_Lean_Parser_Term_quot___closed__2(); @@ -29167,8 +29113,6 @@ l_Lean_Parser_Term_quot___closed__9 = _init_l_Lean_Parser_Term_quot___closed__9( lean_mark_persistent(l_Lean_Parser_Term_quot___closed__9); l_Lean_Parser_Term_quot___closed__10 = _init_l_Lean_Parser_Term_quot___closed__10(); lean_mark_persistent(l_Lean_Parser_Term_quot___closed__10); -l_Lean_Parser_Term_quot___closed__11 = _init_l_Lean_Parser_Term_quot___closed__11(); -lean_mark_persistent(l_Lean_Parser_Term_quot___closed__11); l_Lean_Parser_Term_quot = _init_l_Lean_Parser_Term_quot(); lean_mark_persistent(l_Lean_Parser_Term_quot); res = l___regBuiltinParser_Lean_Parser_Term_quot(lean_io_mk_world()); @@ -29190,8 +29134,6 @@ l_Lean_Parser_Term_quot_formatter___closed__7 = _init_l_Lean_Parser_Term_quot_fo lean_mark_persistent(l_Lean_Parser_Term_quot_formatter___closed__7); l_Lean_Parser_Term_quot_formatter___closed__8 = _init_l_Lean_Parser_Term_quot_formatter___closed__8(); lean_mark_persistent(l_Lean_Parser_Term_quot_formatter___closed__8); -l_Lean_Parser_Term_quot_formatter___closed__9 = _init_l_Lean_Parser_Term_quot_formatter___closed__9(); -lean_mark_persistent(l_Lean_Parser_Term_quot_formatter___closed__9); l___regBuiltin_Lean_Parser_Term_quot_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_quot_formatter___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_quot_formatter___closed__1); res = l___regBuiltin_Lean_Parser_Term_quot_formatter(lean_io_mk_world()); diff --git a/stage0/stdlib/Lean/Parser/Do.c b/stage0/stdlib/Lean/Parser/Do.c index 750ce46966..988720b483 100644 --- a/stage0/stdlib/Lean/Parser/Do.c +++ b/stage0/stdlib/Lean/Parser/Do.c @@ -65,7 +65,6 @@ extern lean_object* l_Lean_Syntax_isQuot_match__1___rarg___closed__1; lean_object* l_Lean_Parser_Term_doElem_quot___closed__7; extern lean_object* l_Lean_Parser_Term_optType___closed__2; lean_object* l_Lean_Parser_Term_doLet_formatter___closed__4; -extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__37; lean_object* l_Lean_Parser_Term_doElem_quot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doReturn___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_doIdDecl_parenthesizer___closed__7; @@ -414,6 +413,7 @@ lean_object* l_Lean_Parser_Term_liftMethod___closed__5; lean_object* l_Lean_Parser_Term_elseIf___elambda__1___closed__4; extern lean_object* l_Lean_Parser_Term_letPatDecl___closed__6; lean_object* l_Lean_Parser_Term_doIf; +extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__39; lean_object* l_Lean_PrettyPrinter_Parenthesizer_atomic_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_elseIf_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_doMatchAlt___elambda__1___closed__3; @@ -505,7 +505,6 @@ lean_object* l_Lean_Parser_Term_doReturn_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_termReturn___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_doLet___elambda__1___closed__11; lean_object* l_Lean_Parser_Term_termUnless_formatter___closed__2; -extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__39; lean_object* l_Lean_Parser_Term_doIdDecl_parenthesizer___closed__6; lean_object* l___regBuiltin_Lean_Parser_Term_termTry_formatter(lean_object*); extern lean_object* l___kind_term____x40_Init_Notation___hyg_19____closed__14; @@ -660,6 +659,7 @@ lean_object* l_Lean_Parser_Term_doCatchMatch___closed__6; lean_object* l_Lean_Parser_Term_termUnless___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_doCatch___elambda__1___closed__14; lean_object* l_Lean_PrettyPrinter_Formatter_unicodeSymbol_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__39; lean_object* l_Lean_Parser_Term_doCatch___elambda__1___closed__3; lean_object* l___regBuiltin_Lean_Parser_Term_doHave_formatter___closed__1; lean_object* l_Lean_Parser_Term_doIf_parenthesizer___closed__2; @@ -872,7 +872,6 @@ lean_object* l_Lean_Parser_Term_liftMethod___closed__3; lean_object* l_Lean_Parser_Term_termFor___closed__2; lean_object* l_Lean_Parser_Term_termFor___elambda__1___closed__2; extern lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed___closed__3; -extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__39; lean_object* l_Lean_Parser_Term_doCatchMatch___closed__2; lean_object* l_Lean_Parser_Term_doLet___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_doFinally___elambda__1___closed__1; @@ -1294,10 +1293,10 @@ lean_object* l_Lean_Parser_Term_doSeqItem___closed__3; lean_object* l_Lean_Parser_Term_termFor___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_doLet___closed__2; lean_object* l_Lean_Parser_Term_doLetArrow___elambda__1___closed__3; -extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__37; extern lean_object* l_Lean_Parser_Term_match___elambda__1___closed__10; lean_object* l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_doCatch_formatter___closed__3; +extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__37; lean_object* l_Lean_Parser_Term_doReturn_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doTry_parenthesizer___closed__7; lean_object* l___regBuiltinParser_Lean_Parser_Term_doReassignArrow(lean_object*); @@ -1474,6 +1473,7 @@ lean_object* l_Lean_Parser_Term_do___elambda__1(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_many1Indent___closed__1; lean_object* l_Lean_Parser_Term_doIdDecl_formatter___closed__5; lean_object* l_Lean_Parser_Term_doElem_quot___elambda__1___closed__8; +extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__37; lean_object* l_Lean_Parser_Term_doBreak___closed__3; lean_object* l_Lean_Parser_Term_doLetArrow_formatter___closed__4; lean_object* l_Lean_PrettyPrinter_Parenthesizer_many_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2417,291 +2417,430 @@ uint8_t x_4; x_4 = !lean_is_exclusive(x_2); if (x_4 == 0) { -lean_object* x_5; lean_object* x_6; uint8_t x_7; +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, 4); -lean_dec(x_6); -x_7 = !lean_is_exclusive(x_5); -if (x_7 == 0) +x_6 = lean_ctor_get(x_2, 1); +x_7 = lean_ctor_get(x_2, 4); +lean_dec(x_7); +x_8 = !lean_is_exclusive(x_5); +if (x_8 == 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; uint8_t x_15; -x_8 = lean_ctor_get(x_5, 2); -lean_inc(x_8); -x_9 = lean_ctor_get(x_3, 1); +lean_object* x_9; uint8_t x_10; +x_9 = lean_ctor_get(x_5, 2); lean_inc(x_9); -lean_inc(x_9); -x_10 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_2, 4, x_10); -x_11 = lean_ctor_get(x_3, 0); +x_10 = !lean_is_exclusive(x_6); +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; uint8_t x_17; +x_11 = lean_ctor_get(x_3, 1); lean_inc(x_11); -x_12 = lean_array_get_size(x_11); -lean_dec(x_11); -x_13 = l_Lean_FileMap_toPosition(x_8, x_9); -lean_dec(x_8); -x_14 = lean_ctor_get(x_13, 1); -lean_inc(x_14); +lean_inc(x_11); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_2, 4, x_12); +x_13 = lean_ctor_get(x_3, 0); +lean_inc(x_13); +x_14 = lean_array_get_size(x_13); lean_dec(x_13); -x_15 = lean_nat_dec_le(x_14, x_14); -lean_dec(x_14); -if (x_15 == 0) +x_15 = l_Lean_FileMap_toPosition(x_9, x_11); +lean_dec(x_9); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec(x_15); +x_17 = lean_nat_dec_le(x_16, x_16); +lean_dec(x_16); +if (x_17 == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_dec(x_2); lean_dec(x_1); -x_16 = l_Lean_Parser_many1Indent___lambda__1___closed__1; -x_17 = l_Lean_Parser_ParserState_mkError(x_3, x_16); -x_18 = l_Lean_nullKind; -x_19 = l_Lean_Parser_ParserState_mkNode(x_17, x_18, x_12); -return x_19; +x_18 = l_Lean_Parser_many1Indent___lambda__1___closed__1; +x_19 = l_Lean_Parser_ParserState_mkError(x_3, x_18); +x_20 = l_Lean_nullKind; +x_21 = l_Lean_Parser_ParserState_mkNode(x_19, x_20, x_14); +return x_21; } else { -lean_object* x_20; -x_20 = lean_ctor_get(x_3, 3); -lean_inc(x_20); -if (lean_obj_tag(x_20) == 0) -{ -lean_object* x_21; lean_object* x_22; -lean_inc(x_2); -x_21 = l_Lean_Parser_Term_doSeqItem___elambda__1(x_2, x_3); -x_22 = lean_ctor_get(x_21, 3); +lean_object* x_22; +x_22 = lean_ctor_get(x_3, 3); lean_inc(x_22); if (lean_obj_tag(x_22) == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = l_Lean_Parser_manyAux(x_1, x_2, x_21); -x_24 = l_Lean_nullKind; -x_25 = l_Lean_Parser_ParserState_mkNode(x_23, x_24, x_12); -return x_25; -} -else +lean_object* x_23; lean_object* x_24; +lean_inc(x_2); +x_23 = l_Lean_Parser_Term_doSeqItem___elambda__1(x_2, x_3); +x_24 = lean_ctor_get(x_23, 3); +lean_inc(x_24); +if (lean_obj_tag(x_24) == 0) { -lean_object* x_26; lean_object* x_27; -lean_dec(x_22); -lean_dec(x_2); -lean_dec(x_1); +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = l_Lean_Parser_manyAux(x_1, x_2, x_23); x_26 = l_Lean_nullKind; -x_27 = l_Lean_Parser_ParserState_mkNode(x_21, x_26, x_12); +x_27 = l_Lean_Parser_ParserState_mkNode(x_25, x_26, x_14); return x_27; } -} else { lean_object* x_28; lean_object* x_29; -lean_dec(x_20); +lean_dec(x_24); lean_dec(x_2); lean_dec(x_1); x_28 = l_Lean_nullKind; -x_29 = l_Lean_Parser_ParserState_mkNode(x_3, x_28, x_12); +x_29 = l_Lean_Parser_ParserState_mkNode(x_23, x_28, x_14); 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; lean_object* x_38; lean_object* x_39; uint8_t x_40; -x_30 = lean_ctor_get(x_5, 0); -x_31 = lean_ctor_get(x_5, 1); -x_32 = lean_ctor_get(x_5, 2); -lean_inc(x_32); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_5); -lean_inc(x_32); -x_33 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_33, 0, x_30); -lean_ctor_set(x_33, 1, x_31); -lean_ctor_set(x_33, 2, x_32); -x_34 = lean_ctor_get(x_3, 1); -lean_inc(x_34); -lean_inc(x_34); -x_35 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_2, 4, x_35); -lean_ctor_set(x_2, 0, x_33); -x_36 = lean_ctor_get(x_3, 0); -lean_inc(x_36); -x_37 = lean_array_get_size(x_36); -lean_dec(x_36); -x_38 = l_Lean_FileMap_toPosition(x_32, x_34); -lean_dec(x_32); -x_39 = lean_ctor_get(x_38, 1); -lean_inc(x_39); -lean_dec(x_38); -x_40 = lean_nat_dec_le(x_39, x_39); -lean_dec(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_30; lean_object* x_31; +lean_dec(x_22); lean_dec(x_2); lean_dec(x_1); -x_41 = l_Lean_Parser_many1Indent___lambda__1___closed__1; -x_42 = l_Lean_Parser_ParserState_mkError(x_3, x_41); -x_43 = l_Lean_nullKind; -x_44 = l_Lean_Parser_ParserState_mkNode(x_42, x_43, x_37); -return x_44; +x_30 = l_Lean_nullKind; +x_31 = l_Lean_Parser_ParserState_mkNode(x_3, x_30, x_14); +return x_31; +} +} } else { -lean_object* x_45; -x_45 = lean_ctor_get(x_3, 3); -lean_inc(x_45); -if (lean_obj_tag(x_45) == 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; uint8_t x_42; +x_32 = lean_ctor_get(x_6, 0); +x_33 = lean_ctor_get(x_6, 1); +x_34 = lean_ctor_get(x_6, 2); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_6); +x_35 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_35, 0, x_32); +lean_ctor_set(x_35, 1, x_33); +lean_ctor_set(x_35, 2, x_34); +x_36 = lean_ctor_get(x_3, 1); +lean_inc(x_36); +lean_inc(x_36); +x_37 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_2, 4, x_37); +lean_ctor_set(x_2, 1, x_35); +x_38 = lean_ctor_get(x_3, 0); +lean_inc(x_38); +x_39 = lean_array_get_size(x_38); +lean_dec(x_38); +x_40 = l_Lean_FileMap_toPosition(x_9, x_36); +lean_dec(x_9); +x_41 = lean_ctor_get(x_40, 1); +lean_inc(x_41); +lean_dec(x_40); +x_42 = lean_nat_dec_le(x_41, x_41); +lean_dec(x_41); +if (x_42 == 0) { -lean_object* x_46; lean_object* x_47; -lean_inc(x_2); -x_46 = l_Lean_Parser_Term_doSeqItem___elambda__1(x_2, x_3); -x_47 = lean_ctor_get(x_46, 3); +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +lean_dec(x_2); +lean_dec(x_1); +x_43 = l_Lean_Parser_many1Indent___lambda__1___closed__1; +x_44 = l_Lean_Parser_ParserState_mkError(x_3, x_43); +x_45 = l_Lean_nullKind; +x_46 = l_Lean_Parser_ParserState_mkNode(x_44, x_45, x_39); +return x_46; +} +else +{ +lean_object* x_47; +x_47 = lean_ctor_get(x_3, 3); lean_inc(x_47); if (lean_obj_tag(x_47) == 0) { -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = l_Lean_Parser_manyAux(x_1, x_2, x_46); -x_49 = l_Lean_nullKind; -x_50 = l_Lean_Parser_ParserState_mkNode(x_48, x_49, x_37); -return x_50; -} -else +lean_object* x_48; lean_object* x_49; +lean_inc(x_2); +x_48 = l_Lean_Parser_Term_doSeqItem___elambda__1(x_2, x_3); +x_49 = lean_ctor_get(x_48, 3); +lean_inc(x_49); +if (lean_obj_tag(x_49) == 0) { -lean_object* x_51; lean_object* x_52; -lean_dec(x_47); -lean_dec(x_2); -lean_dec(x_1); +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = l_Lean_Parser_manyAux(x_1, x_2, x_48); x_51 = l_Lean_nullKind; -x_52 = l_Lean_Parser_ParserState_mkNode(x_46, x_51, x_37); +x_52 = l_Lean_Parser_ParserState_mkNode(x_50, x_51, x_39); return x_52; } -} else { lean_object* x_53; lean_object* x_54; -lean_dec(x_45); +lean_dec(x_49); lean_dec(x_2); lean_dec(x_1); x_53 = l_Lean_nullKind; -x_54 = l_Lean_Parser_ParserState_mkNode(x_3, x_53, x_37); +x_54 = l_Lean_Parser_ParserState_mkNode(x_48, x_53, x_39); return x_54; } } +else +{ +lean_object* x_55; lean_object* x_56; +lean_dec(x_47); +lean_dec(x_2); +lean_dec(x_1); +x_55 = l_Lean_nullKind; +x_56 = l_Lean_Parser_ParserState_mkNode(x_3, x_55, x_39); +return x_56; +} +} } } else { -lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; uint8_t 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; uint8_t x_74; -x_55 = lean_ctor_get(x_2, 0); -x_56 = lean_ctor_get(x_2, 1); -x_57 = lean_ctor_get(x_2, 2); -x_58 = lean_ctor_get(x_2, 3); -x_59 = lean_ctor_get_uint8(x_2, sizeof(void*)*6); -x_60 = lean_ctor_get_uint8(x_2, sizeof(void*)*6 + 1); -x_61 = lean_ctor_get(x_2, 5); -lean_inc(x_61); +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; uint8_t x_72; +x_57 = lean_ctor_get(x_5, 0); +x_58 = lean_ctor_get(x_5, 1); +x_59 = lean_ctor_get(x_5, 2); +lean_inc(x_59); lean_inc(x_58); lean_inc(x_57); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_2); -x_62 = lean_ctor_get(x_55, 0); +lean_dec(x_5); +lean_inc(x_59); +x_60 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_60, 0, x_57); +lean_ctor_set(x_60, 1, x_58); +lean_ctor_set(x_60, 2, x_59); +x_61 = lean_ctor_get(x_6, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_6, 1); lean_inc(x_62); -x_63 = lean_ctor_get(x_55, 1); +x_63 = lean_ctor_get(x_6, 2); lean_inc(x_63); -x_64 = lean_ctor_get(x_55, 2); -lean_inc(x_64); -if (lean_is_exclusive(x_55)) { - lean_ctor_release(x_55, 0); - lean_ctor_release(x_55, 1); - lean_ctor_release(x_55, 2); - x_65 = x_55; +if (lean_is_exclusive(x_6)) { + lean_ctor_release(x_6, 0); + lean_ctor_release(x_6, 1); + lean_ctor_release(x_6, 2); + x_64 = x_6; } else { - lean_dec_ref(x_55); - x_65 = lean_box(0); + lean_dec_ref(x_6); + x_64 = lean_box(0); } -lean_inc(x_64); -if (lean_is_scalar(x_65)) { - x_66 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_64)) { + x_65 = lean_alloc_ctor(0, 3, 0); } else { - x_66 = x_65; + x_65 = x_64; } -lean_ctor_set(x_66, 0, x_62); -lean_ctor_set(x_66, 1, x_63); -lean_ctor_set(x_66, 2, x_64); -x_67 = lean_ctor_get(x_3, 1); -lean_inc(x_67); -lean_inc(x_67); -x_68 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_68, 0, x_67); -x_69 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_69, 0, x_66); -lean_ctor_set(x_69, 1, x_56); -lean_ctor_set(x_69, 2, x_57); -lean_ctor_set(x_69, 3, x_58); -lean_ctor_set(x_69, 4, x_68); -lean_ctor_set(x_69, 5, x_61); -lean_ctor_set_uint8(x_69, sizeof(void*)*6, x_59); -lean_ctor_set_uint8(x_69, sizeof(void*)*6 + 1, x_60); -x_70 = lean_ctor_get(x_3, 0); -lean_inc(x_70); -x_71 = lean_array_get_size(x_70); +lean_ctor_set(x_65, 0, x_61); +lean_ctor_set(x_65, 1, x_62); +lean_ctor_set(x_65, 2, x_63); +x_66 = lean_ctor_get(x_3, 1); +lean_inc(x_66); +lean_inc(x_66); +x_67 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_2, 4, x_67); +lean_ctor_set(x_2, 1, x_65); +lean_ctor_set(x_2, 0, x_60); +x_68 = lean_ctor_get(x_3, 0); +lean_inc(x_68); +x_69 = lean_array_get_size(x_68); +lean_dec(x_68); +x_70 = l_Lean_FileMap_toPosition(x_59, x_66); +lean_dec(x_59); +x_71 = lean_ctor_get(x_70, 1); +lean_inc(x_71); lean_dec(x_70); -x_72 = l_Lean_FileMap_toPosition(x_64, x_67); -lean_dec(x_64); -x_73 = lean_ctor_get(x_72, 1); -lean_inc(x_73); -lean_dec(x_72); -x_74 = lean_nat_dec_le(x_73, x_73); -lean_dec(x_73); -if (x_74 == 0) +x_72 = lean_nat_dec_le(x_71, x_71); +lean_dec(x_71); +if (x_72 == 0) { -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -lean_dec(x_69); +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +lean_dec(x_2); lean_dec(x_1); -x_75 = l_Lean_Parser_many1Indent___lambda__1___closed__1; -x_76 = l_Lean_Parser_ParserState_mkError(x_3, x_75); -x_77 = l_Lean_nullKind; -x_78 = l_Lean_Parser_ParserState_mkNode(x_76, x_77, x_71); -return x_78; +x_73 = l_Lean_Parser_many1Indent___lambda__1___closed__1; +x_74 = l_Lean_Parser_ParserState_mkError(x_3, x_73); +x_75 = l_Lean_nullKind; +x_76 = l_Lean_Parser_ParserState_mkNode(x_74, x_75, x_69); +return x_76; } else { -lean_object* x_79; -x_79 = lean_ctor_get(x_3, 3); +lean_object* x_77; +x_77 = lean_ctor_get(x_3, 3); +lean_inc(x_77); +if (lean_obj_tag(x_77) == 0) +{ +lean_object* x_78; lean_object* x_79; +lean_inc(x_2); +x_78 = l_Lean_Parser_Term_doSeqItem___elambda__1(x_2, x_3); +x_79 = lean_ctor_get(x_78, 3); lean_inc(x_79); if (lean_obj_tag(x_79) == 0) { -lean_object* x_80; lean_object* x_81; -lean_inc(x_69); -x_80 = l_Lean_Parser_Term_doSeqItem___elambda__1(x_69, x_3); -x_81 = lean_ctor_get(x_80, 3); -lean_inc(x_81); -if (lean_obj_tag(x_81) == 0) +lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_80 = l_Lean_Parser_manyAux(x_1, x_2, x_78); +x_81 = l_Lean_nullKind; +x_82 = l_Lean_Parser_ParserState_mkNode(x_80, x_81, x_69); +return x_82; +} +else { -lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_82 = l_Lean_Parser_manyAux(x_1, x_69, x_80); +lean_object* x_83; lean_object* x_84; +lean_dec(x_79); +lean_dec(x_2); +lean_dec(x_1); x_83 = l_Lean_nullKind; -x_84 = l_Lean_Parser_ParserState_mkNode(x_82, x_83, x_71); +x_84 = l_Lean_Parser_ParserState_mkNode(x_78, x_83, x_69); return x_84; } +} else { lean_object* x_85; lean_object* x_86; -lean_dec(x_81); -lean_dec(x_69); +lean_dec(x_77); +lean_dec(x_2); lean_dec(x_1); x_85 = l_Lean_nullKind; -x_86 = l_Lean_Parser_ParserState_mkNode(x_80, x_85, x_71); +x_86 = l_Lean_Parser_ParserState_mkNode(x_3, x_85, x_69); return x_86; } } +} +} else { -lean_object* x_87; lean_object* x_88; -lean_dec(x_79); -lean_dec(x_69); +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; uint8_t 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; uint8_t x_111; +x_87 = lean_ctor_get(x_2, 0); +x_88 = lean_ctor_get(x_2, 1); +x_89 = lean_ctor_get(x_2, 2); +x_90 = lean_ctor_get(x_2, 3); +x_91 = lean_ctor_get_uint8(x_2, sizeof(void*)*6); +x_92 = lean_ctor_get_uint8(x_2, sizeof(void*)*6 + 1); +x_93 = lean_ctor_get(x_2, 5); +lean_inc(x_93); +lean_inc(x_90); +lean_inc(x_89); +lean_inc(x_88); +lean_inc(x_87); +lean_dec(x_2); +x_94 = lean_ctor_get(x_87, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_87, 1); +lean_inc(x_95); +x_96 = lean_ctor_get(x_87, 2); +lean_inc(x_96); +if (lean_is_exclusive(x_87)) { + lean_ctor_release(x_87, 0); + lean_ctor_release(x_87, 1); + lean_ctor_release(x_87, 2); + x_97 = x_87; +} else { + lean_dec_ref(x_87); + x_97 = lean_box(0); +} +lean_inc(x_96); +if (lean_is_scalar(x_97)) { + x_98 = lean_alloc_ctor(0, 3, 0); +} else { + x_98 = x_97; +} +lean_ctor_set(x_98, 0, x_94); +lean_ctor_set(x_98, 1, x_95); +lean_ctor_set(x_98, 2, x_96); +x_99 = lean_ctor_get(x_88, 0); +lean_inc(x_99); +x_100 = lean_ctor_get(x_88, 1); +lean_inc(x_100); +x_101 = lean_ctor_get(x_88, 2); +lean_inc(x_101); +if (lean_is_exclusive(x_88)) { + lean_ctor_release(x_88, 0); + lean_ctor_release(x_88, 1); + lean_ctor_release(x_88, 2); + x_102 = x_88; +} else { + lean_dec_ref(x_88); + x_102 = lean_box(0); +} +if (lean_is_scalar(x_102)) { + x_103 = lean_alloc_ctor(0, 3, 0); +} else { + x_103 = x_102; +} +lean_ctor_set(x_103, 0, x_99); +lean_ctor_set(x_103, 1, x_100); +lean_ctor_set(x_103, 2, x_101); +x_104 = lean_ctor_get(x_3, 1); +lean_inc(x_104); +lean_inc(x_104); +x_105 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_105, 0, x_104); +x_106 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_106, 0, x_98); +lean_ctor_set(x_106, 1, x_103); +lean_ctor_set(x_106, 2, x_89); +lean_ctor_set(x_106, 3, x_90); +lean_ctor_set(x_106, 4, x_105); +lean_ctor_set(x_106, 5, x_93); +lean_ctor_set_uint8(x_106, sizeof(void*)*6, x_91); +lean_ctor_set_uint8(x_106, sizeof(void*)*6 + 1, x_92); +x_107 = lean_ctor_get(x_3, 0); +lean_inc(x_107); +x_108 = lean_array_get_size(x_107); +lean_dec(x_107); +x_109 = l_Lean_FileMap_toPosition(x_96, x_104); +lean_dec(x_96); +x_110 = lean_ctor_get(x_109, 1); +lean_inc(x_110); +lean_dec(x_109); +x_111 = lean_nat_dec_le(x_110, x_110); +lean_dec(x_110); +if (x_111 == 0) +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +lean_dec(x_106); lean_dec(x_1); -x_87 = l_Lean_nullKind; -x_88 = l_Lean_Parser_ParserState_mkNode(x_3, x_87, x_71); -return x_88; +x_112 = l_Lean_Parser_many1Indent___lambda__1___closed__1; +x_113 = l_Lean_Parser_ParserState_mkError(x_3, x_112); +x_114 = l_Lean_nullKind; +x_115 = l_Lean_Parser_ParserState_mkNode(x_113, x_114, x_108); +return x_115; +} +else +{ +lean_object* x_116; +x_116 = lean_ctor_get(x_3, 3); +lean_inc(x_116); +if (lean_obj_tag(x_116) == 0) +{ +lean_object* x_117; lean_object* x_118; +lean_inc(x_106); +x_117 = l_Lean_Parser_Term_doSeqItem___elambda__1(x_106, x_3); +x_118 = lean_ctor_get(x_117, 3); +lean_inc(x_118); +if (lean_obj_tag(x_118) == 0) +{ +lean_object* x_119; lean_object* x_120; lean_object* x_121; +x_119 = l_Lean_Parser_manyAux(x_1, x_106, x_117); +x_120 = l_Lean_nullKind; +x_121 = l_Lean_Parser_ParserState_mkNode(x_119, x_120, x_108); +return x_121; +} +else +{ +lean_object* x_122; lean_object* x_123; +lean_dec(x_118); +lean_dec(x_106); +lean_dec(x_1); +x_122 = l_Lean_nullKind; +x_123 = l_Lean_Parser_ParserState_mkNode(x_117, x_122, x_108); +return x_123; +} +} +else +{ +lean_object* x_124; lean_object* x_125; +lean_dec(x_116); +lean_dec(x_106); +lean_dec(x_1); +x_124 = l_Lean_nullKind; +x_125 = l_Lean_Parser_ParserState_mkNode(x_3, x_124, x_108); +return x_125; } } } @@ -2866,162 +3005,259 @@ uint8_t x_3; x_3 = !lean_is_exclusive(x_1); if (x_3 == 0) { -lean_object* x_4; lean_object* x_5; uint8_t x_6; +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; x_4 = lean_ctor_get(x_1, 0); -x_5 = lean_ctor_get(x_1, 4); -lean_dec(x_5); -x_6 = !lean_is_exclusive(x_4); -if (x_6 == 0) +x_5 = lean_ctor_get(x_1, 1); +x_6 = lean_ctor_get(x_1, 4); +lean_dec(x_6); +x_7 = !lean_is_exclusive(x_4); +if (x_7 == 0) { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_7 = lean_box(0); -lean_ctor_set(x_1, 4, x_7); -x_8 = lean_ctor_get(x_2, 0); -lean_inc(x_8); -x_9 = lean_array_get_size(x_8); -lean_dec(x_8); +uint8_t x_8; +x_8 = !lean_is_exclusive(x_5); +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_box(0); +lean_ctor_set(x_1, 4, x_9); +x_10 = lean_ctor_get(x_2, 0); +lean_inc(x_10); +x_11 = lean_array_get_size(x_10); +lean_dec(x_10); lean_inc(x_1); -x_10 = l_Lean_Parser_Term_doSeqItem___elambda__1(x_1, x_2); -x_11 = lean_ctor_get(x_10, 3); -lean_inc(x_11); -if (lean_obj_tag(x_11) == 0) +x_12 = l_Lean_Parser_Term_doSeqItem___elambda__1(x_1, x_2); +x_13 = lean_ctor_get(x_12, 3); +lean_inc(x_13); +if (lean_obj_tag(x_13) == 0) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_12 = l_Lean_Parser_Term_doSeqItem___closed__9; -x_13 = l_Lean_Parser_manyAux(x_12, x_1, x_10); -x_14 = l_Lean_nullKind; -x_15 = l_Lean_Parser_ParserState_mkNode(x_13, x_14, x_9); -return x_15; -} -else -{ -lean_object* x_16; lean_object* x_17; -lean_dec(x_11); -lean_dec(x_1); +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = l_Lean_Parser_Term_doSeqItem___closed__9; +x_15 = l_Lean_Parser_manyAux(x_14, x_1, x_12); x_16 = l_Lean_nullKind; -x_17 = l_Lean_Parser_ParserState_mkNode(x_10, x_16, x_9); +x_17 = l_Lean_Parser_ParserState_mkNode(x_15, x_16, 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; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_18 = lean_ctor_get(x_4, 0); -x_19 = lean_ctor_get(x_4, 1); -x_20 = lean_ctor_get(x_4, 2); -lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_4); -x_21 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_21, 0, x_18); -lean_ctor_set(x_21, 1, x_19); -lean_ctor_set(x_21, 2, x_20); -x_22 = lean_box(0); -lean_ctor_set(x_1, 4, x_22); -lean_ctor_set(x_1, 0, x_21); -x_23 = lean_ctor_get(x_2, 0); -lean_inc(x_23); -x_24 = lean_array_get_size(x_23); -lean_dec(x_23); -lean_inc(x_1); -x_25 = l_Lean_Parser_Term_doSeqItem___elambda__1(x_1, x_2); -x_26 = lean_ctor_get(x_25, 3); -lean_inc(x_26); -if (lean_obj_tag(x_26) == 0) -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_27 = l_Lean_Parser_Term_doSeqItem___closed__9; -x_28 = l_Lean_Parser_manyAux(x_27, x_1, x_25); -x_29 = l_Lean_nullKind; -x_30 = l_Lean_Parser_ParserState_mkNode(x_28, x_29, x_24); -return x_30; -} -else -{ -lean_object* x_31; lean_object* x_32; -lean_dec(x_26); +lean_object* x_18; lean_object* x_19; +lean_dec(x_13); lean_dec(x_1); +x_18 = l_Lean_nullKind; +x_19 = l_Lean_Parser_ParserState_mkNode(x_12, x_18, x_11); +return x_19; +} +} +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; +x_20 = lean_ctor_get(x_5, 0); +x_21 = lean_ctor_get(x_5, 1); +x_22 = lean_ctor_get(x_5, 2); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_5); +x_23 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_23, 0, x_20); +lean_ctor_set(x_23, 1, x_21); +lean_ctor_set(x_23, 2, x_22); +x_24 = lean_box(0); +lean_ctor_set(x_1, 4, x_24); +lean_ctor_set(x_1, 1, x_23); +x_25 = lean_ctor_get(x_2, 0); +lean_inc(x_25); +x_26 = lean_array_get_size(x_25); +lean_dec(x_25); +lean_inc(x_1); +x_27 = l_Lean_Parser_Term_doSeqItem___elambda__1(x_1, x_2); +x_28 = lean_ctor_get(x_27, 3); +lean_inc(x_28); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_29 = l_Lean_Parser_Term_doSeqItem___closed__9; +x_30 = l_Lean_Parser_manyAux(x_29, x_1, x_27); x_31 = l_Lean_nullKind; -x_32 = l_Lean_Parser_ParserState_mkNode(x_25, x_31, x_24); +x_32 = l_Lean_Parser_ParserState_mkNode(x_30, x_31, x_26); return x_32; } +else +{ +lean_object* x_33; lean_object* x_34; +lean_dec(x_28); +lean_dec(x_1); +x_33 = l_Lean_nullKind; +x_34 = l_Lean_Parser_ParserState_mkNode(x_27, x_33, x_26); +return x_34; +} } } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t 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; lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_33 = lean_ctor_get(x_1, 0); -x_34 = lean_ctor_get(x_1, 1); -x_35 = lean_ctor_get(x_1, 2); -x_36 = lean_ctor_get(x_1, 3); -x_37 = lean_ctor_get_uint8(x_1, sizeof(void*)*6); -x_38 = lean_ctor_get_uint8(x_1, sizeof(void*)*6 + 1); -x_39 = lean_ctor_get(x_1, 5); -lean_inc(x_39); +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_35 = lean_ctor_get(x_4, 0); +x_36 = lean_ctor_get(x_4, 1); +x_37 = lean_ctor_get(x_4, 2); +lean_inc(x_37); lean_inc(x_36); lean_inc(x_35); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_1); -x_40 = lean_ctor_get(x_33, 0); +lean_dec(x_4); +x_38 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_38, 0, x_35); +lean_ctor_set(x_38, 1, x_36); +lean_ctor_set(x_38, 2, x_37); +x_39 = lean_ctor_get(x_5, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_5, 1); lean_inc(x_40); -x_41 = lean_ctor_get(x_33, 1); +x_41 = lean_ctor_get(x_5, 2); lean_inc(x_41); -x_42 = lean_ctor_get(x_33, 2); -lean_inc(x_42); -if (lean_is_exclusive(x_33)) { - lean_ctor_release(x_33, 0); - lean_ctor_release(x_33, 1); - lean_ctor_release(x_33, 2); - x_43 = x_33; +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_42 = x_5; } else { - lean_dec_ref(x_33); - x_43 = lean_box(0); + lean_dec_ref(x_5); + x_42 = lean_box(0); } -if (lean_is_scalar(x_43)) { - x_44 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_42)) { + x_43 = lean_alloc_ctor(0, 3, 0); } else { - x_44 = x_43; + x_43 = x_42; } -lean_ctor_set(x_44, 0, x_40); -lean_ctor_set(x_44, 1, x_41); -lean_ctor_set(x_44, 2, x_42); -x_45 = lean_box(0); -x_46 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_34); -lean_ctor_set(x_46, 2, x_35); -lean_ctor_set(x_46, 3, x_36); -lean_ctor_set(x_46, 4, x_45); -lean_ctor_set(x_46, 5, x_39); -lean_ctor_set_uint8(x_46, sizeof(void*)*6, x_37); -lean_ctor_set_uint8(x_46, sizeof(void*)*6 + 1, x_38); -x_47 = lean_ctor_get(x_2, 0); -lean_inc(x_47); -x_48 = lean_array_get_size(x_47); -lean_dec(x_47); -lean_inc(x_46); -x_49 = l_Lean_Parser_Term_doSeqItem___elambda__1(x_46, x_2); -x_50 = lean_ctor_get(x_49, 3); -lean_inc(x_50); -if (lean_obj_tag(x_50) == 0) +lean_ctor_set(x_43, 0, x_39); +lean_ctor_set(x_43, 1, x_40); +lean_ctor_set(x_43, 2, x_41); +x_44 = lean_box(0); +lean_ctor_set(x_1, 4, x_44); +lean_ctor_set(x_1, 1, x_43); +lean_ctor_set(x_1, 0, x_38); +x_45 = lean_ctor_get(x_2, 0); +lean_inc(x_45); +x_46 = lean_array_get_size(x_45); +lean_dec(x_45); +lean_inc(x_1); +x_47 = l_Lean_Parser_Term_doSeqItem___elambda__1(x_1, x_2); +x_48 = lean_ctor_get(x_47, 3); +lean_inc(x_48); +if (lean_obj_tag(x_48) == 0) { -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_51 = l_Lean_Parser_Term_doSeqItem___closed__9; -x_52 = l_Lean_Parser_manyAux(x_51, x_46, x_49); -x_53 = l_Lean_nullKind; -x_54 = l_Lean_Parser_ParserState_mkNode(x_52, x_53, x_48); -return x_54; +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_49 = l_Lean_Parser_Term_doSeqItem___closed__9; +x_50 = l_Lean_Parser_manyAux(x_49, x_1, x_47); +x_51 = l_Lean_nullKind; +x_52 = l_Lean_Parser_ParserState_mkNode(x_50, x_51, x_46); +return x_52; } else { -lean_object* x_55; lean_object* x_56; -lean_dec(x_50); -lean_dec(x_46); -x_55 = l_Lean_nullKind; -x_56 = l_Lean_Parser_ParserState_mkNode(x_49, x_55, x_48); -return x_56; +lean_object* x_53; lean_object* x_54; +lean_dec(x_48); +lean_dec(x_1); +x_53 = l_Lean_nullKind; +x_54 = l_Lean_Parser_ParserState_mkNode(x_47, x_53, x_46); +return x_54; +} +} +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; uint8_t x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_55 = lean_ctor_get(x_1, 0); +x_56 = lean_ctor_get(x_1, 1); +x_57 = lean_ctor_get(x_1, 2); +x_58 = lean_ctor_get(x_1, 3); +x_59 = lean_ctor_get_uint8(x_1, sizeof(void*)*6); +x_60 = lean_ctor_get_uint8(x_1, sizeof(void*)*6 + 1); +x_61 = lean_ctor_get(x_1, 5); +lean_inc(x_61); +lean_inc(x_58); +lean_inc(x_57); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_1); +x_62 = lean_ctor_get(x_55, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_55, 1); +lean_inc(x_63); +x_64 = lean_ctor_get(x_55, 2); +lean_inc(x_64); +if (lean_is_exclusive(x_55)) { + lean_ctor_release(x_55, 0); + lean_ctor_release(x_55, 1); + lean_ctor_release(x_55, 2); + x_65 = x_55; +} else { + lean_dec_ref(x_55); + x_65 = lean_box(0); +} +if (lean_is_scalar(x_65)) { + x_66 = lean_alloc_ctor(0, 3, 0); +} else { + x_66 = x_65; +} +lean_ctor_set(x_66, 0, x_62); +lean_ctor_set(x_66, 1, x_63); +lean_ctor_set(x_66, 2, x_64); +x_67 = lean_ctor_get(x_56, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_56, 1); +lean_inc(x_68); +x_69 = lean_ctor_get(x_56, 2); +lean_inc(x_69); +if (lean_is_exclusive(x_56)) { + lean_ctor_release(x_56, 0); + lean_ctor_release(x_56, 1); + lean_ctor_release(x_56, 2); + x_70 = x_56; +} else { + lean_dec_ref(x_56); + x_70 = lean_box(0); +} +if (lean_is_scalar(x_70)) { + x_71 = lean_alloc_ctor(0, 3, 0); +} else { + x_71 = x_70; +} +lean_ctor_set(x_71, 0, x_67); +lean_ctor_set(x_71, 1, x_68); +lean_ctor_set(x_71, 2, x_69); +x_72 = lean_box(0); +x_73 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_73, 0, x_66); +lean_ctor_set(x_73, 1, x_71); +lean_ctor_set(x_73, 2, x_57); +lean_ctor_set(x_73, 3, x_58); +lean_ctor_set(x_73, 4, x_72); +lean_ctor_set(x_73, 5, x_61); +lean_ctor_set_uint8(x_73, sizeof(void*)*6, x_59); +lean_ctor_set_uint8(x_73, sizeof(void*)*6 + 1, x_60); +x_74 = lean_ctor_get(x_2, 0); +lean_inc(x_74); +x_75 = lean_array_get_size(x_74); +lean_dec(x_74); +lean_inc(x_73); +x_76 = l_Lean_Parser_Term_doSeqItem___elambda__1(x_73, x_2); +x_77 = lean_ctor_get(x_76, 3); +lean_inc(x_77); +if (lean_obj_tag(x_77) == 0) +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_78 = l_Lean_Parser_Term_doSeqItem___closed__9; +x_79 = l_Lean_Parser_manyAux(x_78, x_73, x_76); +x_80 = l_Lean_nullKind; +x_81 = l_Lean_Parser_ParserState_mkNode(x_79, x_80, x_75); +return x_81; +} +else +{ +lean_object* x_82; lean_object* x_83; +lean_dec(x_77); +lean_dec(x_73); +x_82 = l_Lean_nullKind; +x_83 = l_Lean_Parser_ParserState_mkNode(x_76, x_82, x_75); +return x_83; } } } @@ -4983,206 +5219,317 @@ uint8_t x_5; x_5 = !lean_is_exclusive(x_3); if (x_5 == 0) { -lean_object* x_6; lean_object* x_7; uint8_t x_8; +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_3, 4); -lean_dec(x_7); -x_8 = !lean_is_exclusive(x_6); -if (x_8 == 0) +x_7 = lean_ctor_get(x_3, 1); +x_8 = lean_ctor_get(x_3, 4); +lean_dec(x_8); +x_9 = !lean_is_exclusive(x_6); +if (x_9 == 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; -x_9 = lean_ctor_get(x_4, 1); -lean_inc(x_9); -x_10 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_3, 4, x_10); -x_11 = l_instReprChar___closed__1; -x_12 = lean_string_append(x_11, x_1); -x_13 = lean_string_append(x_12, x_11); -lean_inc(x_3); -x_14 = l_Lean_Parser_symbolFnAux(x_1, x_13, x_3, x_4); -x_15 = lean_ctor_get(x_14, 3); -lean_inc(x_15); -if (lean_obj_tag(x_15) == 0) +uint8_t x_10; +x_10 = !lean_is_exclusive(x_7); +if (x_10 == 0) { -lean_object* x_16; lean_object* x_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_4, 1); +lean_inc(x_11); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_3, 4, x_12); +x_13 = l_instReprChar___closed__1; +x_14 = lean_string_append(x_13, x_1); +x_15 = lean_string_append(x_14, x_13); lean_inc(x_3); -x_16 = l_Lean_Parser_optionalFn(x_2, x_3, x_14); +x_16 = l_Lean_Parser_symbolFnAux(x_1, x_15, x_3, x_4); x_17 = lean_ctor_get(x_16, 3); lean_inc(x_17); if (lean_obj_tag(x_17) == 0) { -lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; -x_18 = l_Lean_Parser_Term_doIdDecl___closed__7; -x_19 = l_Lean_Parser_Term_doPatDecl___closed__11; -x_20 = 1; -x_21 = l_Lean_Parser_orelseFnCore(x_18, x_19, x_20, x_3, x_16); -return x_21; +lean_object* x_18; lean_object* x_19; +lean_inc(x_3); +x_18 = l_Lean_Parser_optionalFn(x_2, x_3, x_16); +x_19 = lean_ctor_get(x_18, 3); +lean_inc(x_19); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; +x_20 = l_Lean_Parser_Term_doIdDecl___closed__7; +x_21 = l_Lean_Parser_Term_doPatDecl___closed__11; +x_22 = 1; +x_23 = l_Lean_Parser_orelseFnCore(x_20, x_21, x_22, x_3, x_18); +return x_23; +} +else +{ +lean_dec(x_19); +lean_dec(x_3); +return x_18; +} } else { lean_dec(x_17); lean_dec(x_3); +lean_dec(x_2); return x_16; } } else { -lean_dec(x_15); -lean_dec(x_3); -lean_dec(x_2); -return x_14; -} -} -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_object* x_30; lean_object* x_31; lean_object* x_32; -x_22 = lean_ctor_get(x_6, 0); -x_23 = lean_ctor_get(x_6, 1); -x_24 = lean_ctor_get(x_6, 2); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_6); -x_25 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_25, 0, x_22); -lean_ctor_set(x_25, 1, x_23); -lean_ctor_set(x_25, 2, x_24); -x_26 = lean_ctor_get(x_4, 1); +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 = lean_ctor_get(x_7, 0); +x_25 = lean_ctor_get(x_7, 1); +x_26 = lean_ctor_get(x_7, 2); lean_inc(x_26); -x_27 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_3, 4, x_27); -lean_ctor_set(x_3, 0, x_25); -x_28 = l_instReprChar___closed__1; -x_29 = lean_string_append(x_28, x_1); -x_30 = lean_string_append(x_29, x_28); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_7); +x_27 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_27, 0, x_24); +lean_ctor_set(x_27, 1, x_25); +lean_ctor_set(x_27, 2, x_26); +x_28 = lean_ctor_get(x_4, 1); +lean_inc(x_28); +x_29 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_3, 4, x_29); +lean_ctor_set(x_3, 1, x_27); +x_30 = l_instReprChar___closed__1; +x_31 = lean_string_append(x_30, x_1); +x_32 = lean_string_append(x_31, x_30); lean_inc(x_3); -x_31 = l_Lean_Parser_symbolFnAux(x_1, x_30, x_3, x_4); -x_32 = lean_ctor_get(x_31, 3); -lean_inc(x_32); -if (lean_obj_tag(x_32) == 0) -{ -lean_object* x_33; lean_object* x_34; -lean_inc(x_3); -x_33 = l_Lean_Parser_optionalFn(x_2, x_3, x_31); +x_33 = l_Lean_Parser_symbolFnAux(x_1, x_32, x_3, x_4); x_34 = lean_ctor_get(x_33, 3); lean_inc(x_34); if (lean_obj_tag(x_34) == 0) { -lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; -x_35 = l_Lean_Parser_Term_doIdDecl___closed__7; -x_36 = l_Lean_Parser_Term_doPatDecl___closed__11; -x_37 = 1; -x_38 = l_Lean_Parser_orelseFnCore(x_35, x_36, x_37, x_3, x_33); -return x_38; +lean_object* x_35; lean_object* x_36; +lean_inc(x_3); +x_35 = l_Lean_Parser_optionalFn(x_2, x_3, x_33); +x_36 = lean_ctor_get(x_35, 3); +lean_inc(x_36); +if (lean_obj_tag(x_36) == 0) +{ +lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_object* x_40; +x_37 = l_Lean_Parser_Term_doIdDecl___closed__7; +x_38 = l_Lean_Parser_Term_doPatDecl___closed__11; +x_39 = 1; +x_40 = l_Lean_Parser_orelseFnCore(x_37, x_38, x_39, x_3, x_35); +return x_40; +} +else +{ +lean_dec(x_36); +lean_dec(x_3); +return x_35; +} } else { lean_dec(x_34); lean_dec(x_3); +lean_dec(x_2); return x_33; } } -else -{ -lean_dec(x_32); -lean_dec(x_3); -lean_dec(x_2); -return x_31; -} -} } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; uint8_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; -x_39 = lean_ctor_get(x_3, 0); -x_40 = lean_ctor_get(x_3, 1); -x_41 = lean_ctor_get(x_3, 2); -x_42 = lean_ctor_get(x_3, 3); -x_43 = lean_ctor_get_uint8(x_3, sizeof(void*)*6); -x_44 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 1); -x_45 = lean_ctor_get(x_3, 5); -lean_inc(x_45); +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_41 = lean_ctor_get(x_6, 0); +x_42 = lean_ctor_get(x_6, 1); +x_43 = lean_ctor_get(x_6, 2); +lean_inc(x_43); lean_inc(x_42); lean_inc(x_41); -lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_3); -x_46 = lean_ctor_get(x_39, 0); +lean_dec(x_6); +x_44 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_44, 0, x_41); +lean_ctor_set(x_44, 1, x_42); +lean_ctor_set(x_44, 2, x_43); +x_45 = lean_ctor_get(x_7, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_7, 1); lean_inc(x_46); -x_47 = lean_ctor_get(x_39, 1); +x_47 = lean_ctor_get(x_7, 2); lean_inc(x_47); -x_48 = lean_ctor_get(x_39, 2); -lean_inc(x_48); -if (lean_is_exclusive(x_39)) { - lean_ctor_release(x_39, 0); - lean_ctor_release(x_39, 1); - lean_ctor_release(x_39, 2); - x_49 = x_39; +if (lean_is_exclusive(x_7)) { + lean_ctor_release(x_7, 0); + lean_ctor_release(x_7, 1); + lean_ctor_release(x_7, 2); + x_48 = x_7; } else { - lean_dec_ref(x_39); - x_49 = lean_box(0); + lean_dec_ref(x_7); + x_48 = lean_box(0); } -if (lean_is_scalar(x_49)) { - x_50 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_48)) { + x_49 = lean_alloc_ctor(0, 3, 0); } else { - x_50 = x_49; + x_49 = x_48; } -lean_ctor_set(x_50, 0, x_46); -lean_ctor_set(x_50, 1, x_47); -lean_ctor_set(x_50, 2, x_48); -x_51 = lean_ctor_get(x_4, 1); -lean_inc(x_51); -x_52 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_52, 0, x_51); -x_53 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_53, 0, x_50); -lean_ctor_set(x_53, 1, x_40); -lean_ctor_set(x_53, 2, x_41); -lean_ctor_set(x_53, 3, x_42); -lean_ctor_set(x_53, 4, x_52); -lean_ctor_set(x_53, 5, x_45); -lean_ctor_set_uint8(x_53, sizeof(void*)*6, x_43); -lean_ctor_set_uint8(x_53, sizeof(void*)*6 + 1, x_44); -x_54 = l_instReprChar___closed__1; -x_55 = lean_string_append(x_54, x_1); -x_56 = lean_string_append(x_55, x_54); -lean_inc(x_53); -x_57 = l_Lean_Parser_symbolFnAux(x_1, x_56, x_53, x_4); +lean_ctor_set(x_49, 0, x_45); +lean_ctor_set(x_49, 1, x_46); +lean_ctor_set(x_49, 2, x_47); +x_50 = lean_ctor_get(x_4, 1); +lean_inc(x_50); +x_51 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_3, 4, x_51); +lean_ctor_set(x_3, 1, x_49); +lean_ctor_set(x_3, 0, x_44); +x_52 = l_instReprChar___closed__1; +x_53 = lean_string_append(x_52, x_1); +x_54 = lean_string_append(x_53, x_52); +lean_inc(x_3); +x_55 = l_Lean_Parser_symbolFnAux(x_1, x_54, x_3, x_4); +x_56 = lean_ctor_get(x_55, 3); +lean_inc(x_56); +if (lean_obj_tag(x_56) == 0) +{ +lean_object* x_57; lean_object* x_58; +lean_inc(x_3); +x_57 = l_Lean_Parser_optionalFn(x_2, x_3, x_55); x_58 = lean_ctor_get(x_57, 3); lean_inc(x_58); if (lean_obj_tag(x_58) == 0) { -lean_object* x_59; lean_object* x_60; -lean_inc(x_53); -x_59 = l_Lean_Parser_optionalFn(x_2, x_53, x_57); -x_60 = lean_ctor_get(x_59, 3); -lean_inc(x_60); -if (lean_obj_tag(x_60) == 0) -{ -lean_object* x_61; lean_object* x_62; uint8_t x_63; lean_object* x_64; -x_61 = l_Lean_Parser_Term_doIdDecl___closed__7; -x_62 = l_Lean_Parser_Term_doPatDecl___closed__11; -x_63 = 1; -x_64 = l_Lean_Parser_orelseFnCore(x_61, x_62, x_63, x_53, x_59); -return x_64; -} -else -{ -lean_dec(x_60); -lean_dec(x_53); -return x_59; -} +lean_object* x_59; lean_object* x_60; uint8_t x_61; lean_object* x_62; +x_59 = l_Lean_Parser_Term_doIdDecl___closed__7; +x_60 = l_Lean_Parser_Term_doPatDecl___closed__11; +x_61 = 1; +x_62 = l_Lean_Parser_orelseFnCore(x_59, x_60, x_61, x_3, x_57); +return x_62; } else { lean_dec(x_58); -lean_dec(x_53); -lean_dec(x_2); +lean_dec(x_3); return x_57; } } +else +{ +lean_dec(x_56); +lean_dec(x_3); +lean_dec(x_2); +return x_55; +} +} +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; uint8_t 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_63 = lean_ctor_get(x_3, 0); +x_64 = lean_ctor_get(x_3, 1); +x_65 = lean_ctor_get(x_3, 2); +x_66 = lean_ctor_get(x_3, 3); +x_67 = lean_ctor_get_uint8(x_3, sizeof(void*)*6); +x_68 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 1); +x_69 = lean_ctor_get(x_3, 5); +lean_inc(x_69); +lean_inc(x_66); +lean_inc(x_65); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_3); +x_70 = lean_ctor_get(x_63, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_63, 1); +lean_inc(x_71); +x_72 = lean_ctor_get(x_63, 2); +lean_inc(x_72); +if (lean_is_exclusive(x_63)) { + lean_ctor_release(x_63, 0); + lean_ctor_release(x_63, 1); + lean_ctor_release(x_63, 2); + x_73 = x_63; +} else { + lean_dec_ref(x_63); + x_73 = lean_box(0); +} +if (lean_is_scalar(x_73)) { + x_74 = lean_alloc_ctor(0, 3, 0); +} else { + x_74 = x_73; +} +lean_ctor_set(x_74, 0, x_70); +lean_ctor_set(x_74, 1, x_71); +lean_ctor_set(x_74, 2, x_72); +x_75 = lean_ctor_get(x_64, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_64, 1); +lean_inc(x_76); +x_77 = lean_ctor_get(x_64, 2); +lean_inc(x_77); +if (lean_is_exclusive(x_64)) { + lean_ctor_release(x_64, 0); + lean_ctor_release(x_64, 1); + lean_ctor_release(x_64, 2); + x_78 = x_64; +} else { + lean_dec_ref(x_64); + x_78 = lean_box(0); +} +if (lean_is_scalar(x_78)) { + x_79 = lean_alloc_ctor(0, 3, 0); +} else { + x_79 = x_78; +} +lean_ctor_set(x_79, 0, x_75); +lean_ctor_set(x_79, 1, x_76); +lean_ctor_set(x_79, 2, x_77); +x_80 = lean_ctor_get(x_4, 1); +lean_inc(x_80); +x_81 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_81, 0, x_80); +x_82 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_82, 0, x_74); +lean_ctor_set(x_82, 1, x_79); +lean_ctor_set(x_82, 2, x_65); +lean_ctor_set(x_82, 3, x_66); +lean_ctor_set(x_82, 4, x_81); +lean_ctor_set(x_82, 5, x_69); +lean_ctor_set_uint8(x_82, sizeof(void*)*6, x_67); +lean_ctor_set_uint8(x_82, sizeof(void*)*6 + 1, x_68); +x_83 = l_instReprChar___closed__1; +x_84 = lean_string_append(x_83, x_1); +x_85 = lean_string_append(x_84, x_83); +lean_inc(x_82); +x_86 = l_Lean_Parser_symbolFnAux(x_1, x_85, x_82, x_4); +x_87 = lean_ctor_get(x_86, 3); +lean_inc(x_87); +if (lean_obj_tag(x_87) == 0) +{ +lean_object* x_88; lean_object* x_89; +lean_inc(x_82); +x_88 = l_Lean_Parser_optionalFn(x_2, x_82, x_86); +x_89 = lean_ctor_get(x_88, 3); +lean_inc(x_89); +if (lean_obj_tag(x_89) == 0) +{ +lean_object* x_90; lean_object* x_91; uint8_t x_92; lean_object* x_93; +x_90 = l_Lean_Parser_Term_doIdDecl___closed__7; +x_91 = l_Lean_Parser_Term_doPatDecl___closed__11; +x_92 = 1; +x_93 = l_Lean_Parser_orelseFnCore(x_90, x_91, x_92, x_82, x_88); +return x_93; +} +else +{ +lean_dec(x_89); +lean_dec(x_82); +return x_88; +} +} +else +{ +lean_dec(x_87); +lean_dec(x_82); +lean_dec(x_2); +return x_86; +} +} } } static lean_object* _init_l_Lean_Parser_Term_doLetArrow___elambda__1___closed__1() { @@ -5571,7 +5918,7 @@ static lean_object* _init_l_Lean_Parser_Term_doPatDecl_formatter___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__37; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__37; x_2 = l_Lean_Parser_Term_doPatDecl_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); @@ -5910,7 +6257,7 @@ static lean_object* _init_l_Lean_Parser_Term_doPatDecl_parenthesizer___closed__5 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__37; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__37; x_2 = l_Lean_Parser_Term_doPatDecl_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); @@ -6752,109 +7099,188 @@ uint8_t x_3; x_3 = !lean_is_exclusive(x_1); if (x_3 == 0) { -lean_object* x_4; lean_object* x_5; uint8_t x_6; +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; x_4 = lean_ctor_get(x_1, 0); -x_5 = lean_ctor_get(x_1, 4); -lean_dec(x_5); -x_6 = !lean_is_exclusive(x_4); -if (x_6 == 0) +x_5 = lean_ctor_get(x_1, 1); +x_6 = lean_ctor_get(x_1, 4); +lean_dec(x_6); +x_7 = !lean_is_exclusive(x_4); +if (x_7 == 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_2, 1); -lean_inc(x_7); -x_8 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_1, 4, x_8); -x_9 = l_Lean_Parser_Term_doIdDecl___closed__7; -x_10 = l_Lean_Parser_Term_doPatDecl___closed__11; -x_11 = 1; -x_12 = l_Lean_Parser_orelseFnCore(x_9, x_10, x_11, x_1, x_2); -return x_12; +uint8_t x_8; +x_8 = !lean_is_exclusive(x_5); +if (x_8 == 0) +{ +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_9 = lean_ctor_get(x_2, 1); +lean_inc(x_9); +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_1, 4, x_10); +x_11 = l_Lean_Parser_Term_doIdDecl___closed__7; +x_12 = l_Lean_Parser_Term_doPatDecl___closed__11; +x_13 = 1; +x_14 = l_Lean_Parser_orelseFnCore(x_11, x_12, x_13, x_1, x_2); +return x_14; } 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; uint8_t x_21; lean_object* x_22; -x_13 = lean_ctor_get(x_4, 0); -x_14 = lean_ctor_get(x_4, 1); -x_15 = lean_ctor_get(x_4, 2); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_dec(x_4); -x_16 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_16, 0, x_13); -lean_ctor_set(x_16, 1, x_14); -lean_ctor_set(x_16, 2, x_15); -x_17 = lean_ctor_get(x_2, 1); +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; uint8_t x_23; lean_object* x_24; +x_15 = lean_ctor_get(x_5, 0); +x_16 = lean_ctor_get(x_5, 1); +x_17 = lean_ctor_get(x_5, 2); lean_inc(x_17); -x_18 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_1, 4, x_18); -lean_ctor_set(x_1, 0, x_16); -x_19 = l_Lean_Parser_Term_doIdDecl___closed__7; -x_20 = l_Lean_Parser_Term_doPatDecl___closed__11; -x_21 = 1; -x_22 = l_Lean_Parser_orelseFnCore(x_19, x_20, x_21, x_1, x_2); -return x_22; +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_5); +x_18 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_18, 0, x_15); +lean_ctor_set(x_18, 1, x_16); +lean_ctor_set(x_18, 2, x_17); +x_19 = lean_ctor_get(x_2, 1); +lean_inc(x_19); +x_20 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_1, 4, x_20); +lean_ctor_set(x_1, 1, x_18); +x_21 = l_Lean_Parser_Term_doIdDecl___closed__7; +x_22 = l_Lean_Parser_Term_doPatDecl___closed__11; +x_23 = 1; +x_24 = l_Lean_Parser_orelseFnCore(x_21, x_22, x_23, x_1, x_2); +return x_24; } } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; uint8_t 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; uint8_t x_40; lean_object* x_41; -x_23 = lean_ctor_get(x_1, 0); -x_24 = lean_ctor_get(x_1, 1); -x_25 = lean_ctor_get(x_1, 2); -x_26 = lean_ctor_get(x_1, 3); -x_27 = lean_ctor_get_uint8(x_1, sizeof(void*)*6); -x_28 = lean_ctor_get_uint8(x_1, sizeof(void*)*6 + 1); -x_29 = lean_ctor_get(x_1, 5); -lean_inc(x_29); +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; uint8_t x_38; lean_object* x_39; +x_25 = lean_ctor_get(x_4, 0); +x_26 = lean_ctor_get(x_4, 1); +x_27 = lean_ctor_get(x_4, 2); +lean_inc(x_27); lean_inc(x_26); lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_1); -x_30 = lean_ctor_get(x_23, 0); +lean_dec(x_4); +x_28 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_28, 0, x_25); +lean_ctor_set(x_28, 1, x_26); +lean_ctor_set(x_28, 2, x_27); +x_29 = lean_ctor_get(x_5, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_5, 1); lean_inc(x_30); -x_31 = lean_ctor_get(x_23, 1); +x_31 = lean_ctor_get(x_5, 2); lean_inc(x_31); -x_32 = lean_ctor_get(x_23, 2); -lean_inc(x_32); -if (lean_is_exclusive(x_23)) { - lean_ctor_release(x_23, 0); - lean_ctor_release(x_23, 1); - lean_ctor_release(x_23, 2); - x_33 = x_23; +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_32 = x_5; } else { - lean_dec_ref(x_23); - x_33 = lean_box(0); + lean_dec_ref(x_5); + x_32 = lean_box(0); } -if (lean_is_scalar(x_33)) { - x_34 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_32)) { + x_33 = lean_alloc_ctor(0, 3, 0); } else { - x_34 = x_33; + x_33 = x_32; } -lean_ctor_set(x_34, 0, x_30); -lean_ctor_set(x_34, 1, x_31); -lean_ctor_set(x_34, 2, x_32); -x_35 = lean_ctor_get(x_2, 1); -lean_inc(x_35); -x_36 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_36, 0, x_35); -x_37 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_37, 0, x_34); -lean_ctor_set(x_37, 1, x_24); -lean_ctor_set(x_37, 2, x_25); -lean_ctor_set(x_37, 3, x_26); -lean_ctor_set(x_37, 4, x_36); -lean_ctor_set(x_37, 5, x_29); -lean_ctor_set_uint8(x_37, sizeof(void*)*6, x_27); -lean_ctor_set_uint8(x_37, sizeof(void*)*6 + 1, x_28); -x_38 = l_Lean_Parser_Term_doIdDecl___closed__7; -x_39 = l_Lean_Parser_Term_doPatDecl___closed__11; -x_40 = 1; -x_41 = l_Lean_Parser_orelseFnCore(x_38, x_39, x_40, x_37, x_2); -return x_41; +lean_ctor_set(x_33, 0, x_29); +lean_ctor_set(x_33, 1, x_30); +lean_ctor_set(x_33, 2, x_31); +x_34 = lean_ctor_get(x_2, 1); +lean_inc(x_34); +x_35 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_1, 4, x_35); +lean_ctor_set(x_1, 1, x_33); +lean_ctor_set(x_1, 0, x_28); +x_36 = l_Lean_Parser_Term_doIdDecl___closed__7; +x_37 = l_Lean_Parser_Term_doPatDecl___closed__11; +x_38 = 1; +x_39 = l_Lean_Parser_orelseFnCore(x_36, x_37, x_38, x_1, x_2); +return x_39; +} +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; uint8_t 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; uint8_t x_62; lean_object* x_63; +x_40 = lean_ctor_get(x_1, 0); +x_41 = lean_ctor_get(x_1, 1); +x_42 = lean_ctor_get(x_1, 2); +x_43 = lean_ctor_get(x_1, 3); +x_44 = lean_ctor_get_uint8(x_1, sizeof(void*)*6); +x_45 = lean_ctor_get_uint8(x_1, sizeof(void*)*6 + 1); +x_46 = lean_ctor_get(x_1, 5); +lean_inc(x_46); +lean_inc(x_43); +lean_inc(x_42); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_1); +x_47 = lean_ctor_get(x_40, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_40, 1); +lean_inc(x_48); +x_49 = lean_ctor_get(x_40, 2); +lean_inc(x_49); +if (lean_is_exclusive(x_40)) { + lean_ctor_release(x_40, 0); + lean_ctor_release(x_40, 1); + lean_ctor_release(x_40, 2); + x_50 = x_40; +} else { + lean_dec_ref(x_40); + x_50 = lean_box(0); +} +if (lean_is_scalar(x_50)) { + x_51 = lean_alloc_ctor(0, 3, 0); +} else { + x_51 = x_50; +} +lean_ctor_set(x_51, 0, x_47); +lean_ctor_set(x_51, 1, x_48); +lean_ctor_set(x_51, 2, x_49); +x_52 = lean_ctor_get(x_41, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_41, 1); +lean_inc(x_53); +x_54 = lean_ctor_get(x_41, 2); +lean_inc(x_54); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + lean_ctor_release(x_41, 2); + x_55 = x_41; +} else { + lean_dec_ref(x_41); + x_55 = lean_box(0); +} +if (lean_is_scalar(x_55)) { + x_56 = lean_alloc_ctor(0, 3, 0); +} else { + x_56 = x_55; +} +lean_ctor_set(x_56, 0, x_52); +lean_ctor_set(x_56, 1, x_53); +lean_ctor_set(x_56, 2, x_54); +x_57 = lean_ctor_get(x_2, 1); +lean_inc(x_57); +x_58 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_58, 0, x_57); +x_59 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_59, 0, x_51); +lean_ctor_set(x_59, 1, x_56); +lean_ctor_set(x_59, 2, x_42); +lean_ctor_set(x_59, 3, x_43); +lean_ctor_set(x_59, 4, x_58); +lean_ctor_set(x_59, 5, x_46); +lean_ctor_set_uint8(x_59, sizeof(void*)*6, x_44); +lean_ctor_set_uint8(x_59, sizeof(void*)*6 + 1, x_45); +x_60 = l_Lean_Parser_Term_doIdDecl___closed__7; +x_61 = l_Lean_Parser_Term_doPatDecl___closed__11; +x_62 = 1; +x_63 = l_Lean_Parser_orelseFnCore(x_60, x_61, x_62, x_59, x_2); +return x_63; } } } @@ -7497,247 +7923,371 @@ uint8_t x_5; x_5 = !lean_is_exclusive(x_3); if (x_5 == 0) { -lean_object* x_6; lean_object* x_7; uint8_t x_8; +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_3, 4); -lean_dec(x_7); -x_8 = !lean_is_exclusive(x_6); -if (x_8 == 0) +x_7 = lean_ctor_get(x_3, 1); +x_8 = lean_ctor_get(x_3, 4); +lean_dec(x_8); +x_9 = !lean_is_exclusive(x_6); +if (x_9 == 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; -x_9 = lean_ctor_get(x_6, 2); -lean_inc(x_9); -x_10 = lean_ctor_get(x_4, 1); +lean_object* x_10; uint8_t x_11; +x_10 = lean_ctor_get(x_6, 2); lean_inc(x_10); -lean_inc(x_10); -x_11 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_3, 4, x_11); -x_12 = l_instReprChar___closed__1; -x_13 = lean_string_append(x_12, x_1); -x_14 = lean_string_append(x_13, x_12); +x_11 = !lean_is_exclusive(x_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; +x_12 = lean_ctor_get(x_4, 1); +lean_inc(x_12); +lean_inc(x_12); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_3, 4, x_13); +x_14 = l_instReprChar___closed__1; +x_15 = lean_string_append(x_14, x_1); +x_16 = lean_string_append(x_15, x_14); lean_inc(x_3); -x_15 = l_Lean_Parser_symbolFnAux(x_1, x_14, x_3, x_4); -x_16 = lean_ctor_get(x_15, 3); -lean_inc(x_16); -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_17 = l_Lean_FileMap_toPosition(x_9, x_10); -x_18 = lean_ctor_get(x_15, 1); +x_17 = l_Lean_Parser_symbolFnAux(x_1, x_16, x_3, x_4); +x_18 = lean_ctor_get(x_17, 3); lean_inc(x_18); -x_19 = l_Lean_FileMap_toPosition(x_9, x_18); -lean_dec(x_9); -x_20 = lean_ctor_get(x_19, 0); +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; +x_19 = l_Lean_FileMap_toPosition(x_10, x_12); +x_20 = lean_ctor_get(x_17, 1); lean_inc(x_20); -lean_dec(x_19); -x_21 = lean_ctor_get(x_17, 0); -lean_inc(x_21); -lean_dec(x_17); -x_22 = lean_nat_dec_eq(x_20, x_21); -lean_dec(x_21); -lean_dec(x_20); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; -lean_dec(x_3); -x_23 = l_Lean_Parser_Term_elseIf___elambda__1___lambda__1___closed__1; -x_24 = l_Lean_Parser_ParserState_mkError(x_15, x_23); -return x_24; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_string_append(x_12, x_2); -x_26 = lean_string_append(x_25, x_12); -x_27 = l_Lean_Parser_symbolFnAux(x_2, x_26, x_3, x_15); -return x_27; -} -} -else -{ -lean_dec(x_16); -lean_dec(x_3); +x_21 = l_Lean_FileMap_toPosition(x_10, x_20); lean_dec(x_10); -lean_dec(x_9); -return x_15; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +lean_dec(x_21); +x_23 = lean_ctor_get(x_19, 0); +lean_inc(x_23); +lean_dec(x_19); +x_24 = lean_nat_dec_eq(x_22, x_23); +lean_dec(x_23); +lean_dec(x_22); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; +lean_dec(x_3); +x_25 = l_Lean_Parser_Term_elseIf___elambda__1___lambda__1___closed__1; +x_26 = l_Lean_Parser_ParserState_mkError(x_17, x_25); +return x_26; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_string_append(x_14, x_2); +x_28 = lean_string_append(x_27, x_14); +x_29 = l_Lean_Parser_symbolFnAux(x_2, x_28, x_3, x_17); +return x_29; } } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_28 = lean_ctor_get(x_6, 0); -x_29 = lean_ctor_get(x_6, 1); -x_30 = lean_ctor_get(x_6, 2); -lean_inc(x_30); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_6); -lean_inc(x_30); -x_31 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_31, 0, x_28); -lean_ctor_set(x_31, 1, x_29); -lean_ctor_set(x_31, 2, x_30); -x_32 = lean_ctor_get(x_4, 1); +lean_dec(x_18); +lean_dec(x_3); +lean_dec(x_12); +lean_dec(x_10); +return x_17; +} +} +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; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_30 = lean_ctor_get(x_7, 0); +x_31 = lean_ctor_get(x_7, 1); +x_32 = lean_ctor_get(x_7, 2); lean_inc(x_32); -lean_inc(x_32); -x_33 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_3, 4, x_33); -lean_ctor_set(x_3, 0, x_31); -x_34 = l_instReprChar___closed__1; -x_35 = lean_string_append(x_34, x_1); -x_36 = lean_string_append(x_35, x_34); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_7); +x_33 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_33, 0, x_30); +lean_ctor_set(x_33, 1, x_31); +lean_ctor_set(x_33, 2, x_32); +x_34 = lean_ctor_get(x_4, 1); +lean_inc(x_34); +lean_inc(x_34); +x_35 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_3, 4, x_35); +lean_ctor_set(x_3, 1, x_33); +x_36 = l_instReprChar___closed__1; +x_37 = lean_string_append(x_36, x_1); +x_38 = lean_string_append(x_37, x_36); lean_inc(x_3); -x_37 = l_Lean_Parser_symbolFnAux(x_1, x_36, x_3, x_4); -x_38 = lean_ctor_get(x_37, 3); -lean_inc(x_38); -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; uint8_t x_44; -x_39 = l_Lean_FileMap_toPosition(x_30, x_32); -x_40 = lean_ctor_get(x_37, 1); +x_39 = l_Lean_Parser_symbolFnAux(x_1, x_38, x_3, x_4); +x_40 = lean_ctor_get(x_39, 3); lean_inc(x_40); -x_41 = l_Lean_FileMap_toPosition(x_30, x_40); -lean_dec(x_30); -x_42 = lean_ctor_get(x_41, 0); +if (lean_obj_tag(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 = l_Lean_FileMap_toPosition(x_10, x_34); +x_42 = lean_ctor_get(x_39, 1); lean_inc(x_42); -lean_dec(x_41); -x_43 = lean_ctor_get(x_39, 0); -lean_inc(x_43); -lean_dec(x_39); -x_44 = lean_nat_dec_eq(x_42, x_43); +x_43 = l_Lean_FileMap_toPosition(x_10, x_42); +lean_dec(x_10); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); lean_dec(x_43); -lean_dec(x_42); -if (x_44 == 0) +x_45 = lean_ctor_get(x_41, 0); +lean_inc(x_45); +lean_dec(x_41); +x_46 = lean_nat_dec_eq(x_44, x_45); +lean_dec(x_45); +lean_dec(x_44); +if (x_46 == 0) { -lean_object* x_45; lean_object* x_46; +lean_object* x_47; lean_object* x_48; lean_dec(x_3); -x_45 = l_Lean_Parser_Term_elseIf___elambda__1___lambda__1___closed__1; -x_46 = l_Lean_Parser_ParserState_mkError(x_37, x_45); -return x_46; +x_47 = l_Lean_Parser_Term_elseIf___elambda__1___lambda__1___closed__1; +x_48 = l_Lean_Parser_ParserState_mkError(x_39, x_47); +return x_48; } else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_string_append(x_34, x_2); -x_48 = lean_string_append(x_47, x_34); -x_49 = l_Lean_Parser_symbolFnAux(x_2, x_48, x_3, x_37); -return x_49; +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_string_append(x_36, x_2); +x_50 = lean_string_append(x_49, x_36); +x_51 = l_Lean_Parser_symbolFnAux(x_2, x_50, x_3, x_39); +return x_51; } } else { -lean_dec(x_38); +lean_dec(x_40); lean_dec(x_3); -lean_dec(x_32); -lean_dec(x_30); -return x_37; +lean_dec(x_34); +lean_dec(x_10); +return x_39; } } } else { -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; uint8_t 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_50 = lean_ctor_get(x_3, 0); -x_51 = lean_ctor_get(x_3, 1); -x_52 = lean_ctor_get(x_3, 2); -x_53 = lean_ctor_get(x_3, 3); -x_54 = lean_ctor_get_uint8(x_3, sizeof(void*)*6); -x_55 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 1); -x_56 = lean_ctor_get(x_3, 5); -lean_inc(x_56); +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_52 = lean_ctor_get(x_6, 0); +x_53 = lean_ctor_get(x_6, 1); +x_54 = lean_ctor_get(x_6, 2); +lean_inc(x_54); lean_inc(x_53); lean_inc(x_52); -lean_inc(x_51); -lean_inc(x_50); -lean_dec(x_3); -x_57 = lean_ctor_get(x_50, 0); +lean_dec(x_6); +lean_inc(x_54); +x_55 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_55, 0, x_52); +lean_ctor_set(x_55, 1, x_53); +lean_ctor_set(x_55, 2, x_54); +x_56 = lean_ctor_get(x_7, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_7, 1); lean_inc(x_57); -x_58 = lean_ctor_get(x_50, 1); +x_58 = lean_ctor_get(x_7, 2); lean_inc(x_58); -x_59 = lean_ctor_get(x_50, 2); -lean_inc(x_59); -if (lean_is_exclusive(x_50)) { - lean_ctor_release(x_50, 0); - lean_ctor_release(x_50, 1); - lean_ctor_release(x_50, 2); - x_60 = x_50; +if (lean_is_exclusive(x_7)) { + lean_ctor_release(x_7, 0); + lean_ctor_release(x_7, 1); + lean_ctor_release(x_7, 2); + x_59 = x_7; } else { - lean_dec_ref(x_50); - x_60 = lean_box(0); + lean_dec_ref(x_7); + x_59 = lean_box(0); } -lean_inc(x_59); -if (lean_is_scalar(x_60)) { - x_61 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_59)) { + x_60 = lean_alloc_ctor(0, 3, 0); } else { - x_61 = x_60; + x_60 = x_59; } -lean_ctor_set(x_61, 0, x_57); -lean_ctor_set(x_61, 1, x_58); -lean_ctor_set(x_61, 2, x_59); -x_62 = lean_ctor_get(x_4, 1); -lean_inc(x_62); -lean_inc(x_62); -x_63 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_63, 0, x_62); -x_64 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_64, 0, x_61); -lean_ctor_set(x_64, 1, x_51); -lean_ctor_set(x_64, 2, x_52); -lean_ctor_set(x_64, 3, x_53); -lean_ctor_set(x_64, 4, x_63); -lean_ctor_set(x_64, 5, x_56); -lean_ctor_set_uint8(x_64, sizeof(void*)*6, x_54); -lean_ctor_set_uint8(x_64, sizeof(void*)*6 + 1, x_55); -x_65 = l_instReprChar___closed__1; -x_66 = lean_string_append(x_65, x_1); -x_67 = lean_string_append(x_66, x_65); -lean_inc(x_64); -x_68 = l_Lean_Parser_symbolFnAux(x_1, x_67, x_64, x_4); -x_69 = lean_ctor_get(x_68, 3); +lean_ctor_set(x_60, 0, x_56); +lean_ctor_set(x_60, 1, x_57); +lean_ctor_set(x_60, 2, x_58); +x_61 = lean_ctor_get(x_4, 1); +lean_inc(x_61); +lean_inc(x_61); +x_62 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_3, 4, x_62); +lean_ctor_set(x_3, 1, x_60); +lean_ctor_set(x_3, 0, x_55); +x_63 = l_instReprChar___closed__1; +x_64 = lean_string_append(x_63, x_1); +x_65 = lean_string_append(x_64, x_63); +lean_inc(x_3); +x_66 = l_Lean_Parser_symbolFnAux(x_1, x_65, x_3, x_4); +x_67 = lean_ctor_get(x_66, 3); +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; uint8_t x_73; +x_68 = l_Lean_FileMap_toPosition(x_54, x_61); +x_69 = lean_ctor_get(x_66, 1); lean_inc(x_69); -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; uint8_t x_75; -x_70 = l_Lean_FileMap_toPosition(x_59, x_62); -x_71 = lean_ctor_get(x_68, 1); +x_70 = l_Lean_FileMap_toPosition(x_54, x_69); +lean_dec(x_54); +x_71 = lean_ctor_get(x_70, 0); lean_inc(x_71); -x_72 = l_Lean_FileMap_toPosition(x_59, x_71); -lean_dec(x_59); -x_73 = lean_ctor_get(x_72, 0); -lean_inc(x_73); -lean_dec(x_72); -x_74 = lean_ctor_get(x_70, 0); -lean_inc(x_74); lean_dec(x_70); -x_75 = lean_nat_dec_eq(x_73, x_74); -lean_dec(x_74); -lean_dec(x_73); -if (x_75 == 0) +x_72 = lean_ctor_get(x_68, 0); +lean_inc(x_72); +lean_dec(x_68); +x_73 = lean_nat_dec_eq(x_71, x_72); +lean_dec(x_72); +lean_dec(x_71); +if (x_73 == 0) { -lean_object* x_76; lean_object* x_77; -lean_dec(x_64); -x_76 = l_Lean_Parser_Term_elseIf___elambda__1___lambda__1___closed__1; -x_77 = l_Lean_Parser_ParserState_mkError(x_68, x_76); -return x_77; +lean_object* x_74; lean_object* x_75; +lean_dec(x_3); +x_74 = l_Lean_Parser_Term_elseIf___elambda__1___lambda__1___closed__1; +x_75 = l_Lean_Parser_ParserState_mkError(x_66, x_74); +return x_75; } else { -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_string_append(x_65, x_2); -x_79 = lean_string_append(x_78, x_65); -x_80 = l_Lean_Parser_symbolFnAux(x_2, x_79, x_64, x_68); -return x_80; +lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_76 = lean_string_append(x_63, x_2); +x_77 = lean_string_append(x_76, x_63); +x_78 = l_Lean_Parser_symbolFnAux(x_2, x_77, x_3, x_66); +return x_78; } } else { -lean_dec(x_69); -lean_dec(x_64); -lean_dec(x_62); -lean_dec(x_59); -return x_68; +lean_dec(x_67); +lean_dec(x_3); +lean_dec(x_61); +lean_dec(x_54); +return x_66; +} +} +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; uint8_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; +x_79 = lean_ctor_get(x_3, 0); +x_80 = lean_ctor_get(x_3, 1); +x_81 = lean_ctor_get(x_3, 2); +x_82 = lean_ctor_get(x_3, 3); +x_83 = lean_ctor_get_uint8(x_3, sizeof(void*)*6); +x_84 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 1); +x_85 = lean_ctor_get(x_3, 5); +lean_inc(x_85); +lean_inc(x_82); +lean_inc(x_81); +lean_inc(x_80); +lean_inc(x_79); +lean_dec(x_3); +x_86 = lean_ctor_get(x_79, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_79, 1); +lean_inc(x_87); +x_88 = lean_ctor_get(x_79, 2); +lean_inc(x_88); +if (lean_is_exclusive(x_79)) { + lean_ctor_release(x_79, 0); + lean_ctor_release(x_79, 1); + lean_ctor_release(x_79, 2); + x_89 = x_79; +} else { + lean_dec_ref(x_79); + x_89 = lean_box(0); +} +lean_inc(x_88); +if (lean_is_scalar(x_89)) { + x_90 = lean_alloc_ctor(0, 3, 0); +} else { + x_90 = x_89; +} +lean_ctor_set(x_90, 0, x_86); +lean_ctor_set(x_90, 1, x_87); +lean_ctor_set(x_90, 2, x_88); +x_91 = lean_ctor_get(x_80, 0); +lean_inc(x_91); +x_92 = lean_ctor_get(x_80, 1); +lean_inc(x_92); +x_93 = lean_ctor_get(x_80, 2); +lean_inc(x_93); +if (lean_is_exclusive(x_80)) { + lean_ctor_release(x_80, 0); + lean_ctor_release(x_80, 1); + lean_ctor_release(x_80, 2); + x_94 = x_80; +} else { + lean_dec_ref(x_80); + x_94 = lean_box(0); +} +if (lean_is_scalar(x_94)) { + x_95 = lean_alloc_ctor(0, 3, 0); +} else { + x_95 = x_94; +} +lean_ctor_set(x_95, 0, x_91); +lean_ctor_set(x_95, 1, x_92); +lean_ctor_set(x_95, 2, x_93); +x_96 = lean_ctor_get(x_4, 1); +lean_inc(x_96); +lean_inc(x_96); +x_97 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_97, 0, x_96); +x_98 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_98, 0, x_90); +lean_ctor_set(x_98, 1, x_95); +lean_ctor_set(x_98, 2, x_81); +lean_ctor_set(x_98, 3, x_82); +lean_ctor_set(x_98, 4, x_97); +lean_ctor_set(x_98, 5, x_85); +lean_ctor_set_uint8(x_98, sizeof(void*)*6, x_83); +lean_ctor_set_uint8(x_98, sizeof(void*)*6 + 1, x_84); +x_99 = l_instReprChar___closed__1; +x_100 = lean_string_append(x_99, x_1); +x_101 = lean_string_append(x_100, x_99); +lean_inc(x_98); +x_102 = l_Lean_Parser_symbolFnAux(x_1, x_101, x_98, x_4); +x_103 = lean_ctor_get(x_102, 3); +lean_inc(x_103); +if (lean_obj_tag(x_103) == 0) +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; uint8_t x_109; +x_104 = l_Lean_FileMap_toPosition(x_88, x_96); +x_105 = lean_ctor_get(x_102, 1); +lean_inc(x_105); +x_106 = l_Lean_FileMap_toPosition(x_88, x_105); +lean_dec(x_88); +x_107 = lean_ctor_get(x_106, 0); +lean_inc(x_107); +lean_dec(x_106); +x_108 = lean_ctor_get(x_104, 0); +lean_inc(x_108); +lean_dec(x_104); +x_109 = lean_nat_dec_eq(x_107, x_108); +lean_dec(x_108); +lean_dec(x_107); +if (x_109 == 0) +{ +lean_object* x_110; lean_object* x_111; +lean_dec(x_98); +x_110 = l_Lean_Parser_Term_elseIf___elambda__1___lambda__1___closed__1; +x_111 = l_Lean_Parser_ParserState_mkError(x_102, x_110); +return x_111; +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_112 = lean_string_append(x_99, x_2); +x_113 = lean_string_append(x_112, x_99); +x_114 = l_Lean_Parser_symbolFnAux(x_2, x_113, x_98, x_102); +return x_114; +} +} +else +{ +lean_dec(x_103); +lean_dec(x_98); +lean_dec(x_96); +lean_dec(x_88); +return x_102; } } } @@ -7894,112 +8444,127 @@ uint8_t x_8; x_8 = !lean_is_exclusive(x_6); if (x_8 == 0) { -lean_object* x_9; lean_object* x_10; uint8_t x_11; +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; x_9 = lean_ctor_get(x_6, 0); -x_10 = lean_ctor_get(x_6, 4); -lean_dec(x_10); -x_11 = !lean_is_exclusive(x_9); -if (x_11 == 0) +x_10 = lean_ctor_get(x_6, 1); +x_11 = lean_ctor_get(x_6, 4); +lean_dec(x_11); +x_12 = !lean_is_exclusive(x_9); +if (x_12 == 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_7, 1); -lean_inc(x_12); -x_13 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_6, 4, x_13); -x_14 = l_instReprChar___closed__1; -x_15 = lean_string_append(x_14, x_1); -x_16 = lean_string_append(x_15, x_14); -lean_inc(x_6); -x_17 = l_Lean_Parser_symbolFnAux(x_1, x_16, x_6, x_7); -x_18 = lean_ctor_get(x_17, 3); -lean_inc(x_18); -if (lean_obj_tag(x_18) == 0) +uint8_t x_13; +x_13 = !lean_is_exclusive(x_10); +if (x_13 == 0) { -lean_object* x_19; lean_object* x_20; +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_14 = lean_ctor_get(x_7, 1); +lean_inc(x_14); +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_6, 4, x_15); +x_16 = l_instReprChar___closed__1; +x_17 = lean_string_append(x_16, x_1); +x_18 = lean_string_append(x_17, x_16); lean_inc(x_6); -x_19 = l_Lean_Parser_Term_optIdent___elambda__1(x_6, x_17); +x_19 = l_Lean_Parser_symbolFnAux(x_1, x_18, x_6, x_7); x_20 = lean_ctor_get(x_19, 3); lean_inc(x_20); if (lean_obj_tag(x_20) == 0) { -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_unsigned_to_nat(0u); +lean_object* x_21; lean_object* x_22; lean_inc(x_6); -x_22 = l_Lean_Parser_categoryParser___elambda__1(x_2, x_21, x_6, x_19); -x_23 = lean_ctor_get(x_22, 3); -lean_inc(x_23); -if (lean_obj_tag(x_23) == 0) +x_21 = l_Lean_Parser_Term_optIdent___elambda__1(x_6, x_19); +x_22 = lean_ctor_get(x_21, 3); +lean_inc(x_22); +if (lean_obj_tag(x_22) == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_24 = lean_string_append(x_14, x_3); -x_25 = lean_string_append(x_24, x_14); +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_unsigned_to_nat(0u); lean_inc(x_6); -x_26 = l_Lean_Parser_symbolFnAux(x_3, x_25, x_6, x_22); -x_27 = lean_ctor_get(x_26, 3); -lean_inc(x_27); -if (lean_obj_tag(x_27) == 0) +x_24 = l_Lean_Parser_categoryParser___elambda__1(x_2, x_23, x_6, x_21); +x_25 = lean_ctor_get(x_24, 3); +lean_inc(x_25); +if (lean_obj_tag(x_25) == 0) { -lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; -x_28 = l_Lean_Parser_Term_doSeqBracketed___closed__6; -x_29 = l_Lean_Parser_Term_doSeqIndent___closed__5; -x_30 = 1; +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_26 = lean_string_append(x_16, x_3); +x_27 = lean_string_append(x_26, x_16); lean_inc(x_6); -x_31 = l_Lean_Parser_orelseFnCore(x_28, x_29, x_30, x_6, x_26); -x_32 = lean_ctor_get(x_31, 3); -lean_inc(x_32); -if (lean_obj_tag(x_32) == 0) +x_28 = l_Lean_Parser_symbolFnAux(x_3, x_27, x_6, x_24); +x_29 = lean_ctor_get(x_28, 3); +lean_inc(x_29); +if (lean_obj_tag(x_29) == 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; -x_33 = lean_ctor_get(x_31, 0); -lean_inc(x_33); -x_34 = lean_array_get_size(x_33); -lean_dec(x_33); +lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; lean_object* x_34; +x_30 = l_Lean_Parser_Term_doSeqBracketed___closed__6; +x_31 = l_Lean_Parser_Term_doSeqIndent___closed__5; +x_32 = 1; lean_inc(x_6); -x_35 = l_Lean_Parser_manyAux(x_4, x_6, x_31); -x_36 = l_Lean_nullKind; -x_37 = l_Lean_Parser_ParserState_mkNode(x_35, x_36, x_34); -x_38 = lean_ctor_get(x_37, 3); -lean_inc(x_38); -if (lean_obj_tag(x_38) == 0) +x_33 = l_Lean_Parser_orelseFnCore(x_30, x_31, x_32, x_6, x_28); +x_34 = lean_ctor_get(x_33, 3); +lean_inc(x_34); +if (lean_obj_tag(x_34) == 0) { -lean_object* x_39; -x_39 = l_Lean_Parser_optionalFn(x_5, x_6, x_37); +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_33, 0); +lean_inc(x_35); +x_36 = lean_array_get_size(x_35); +lean_dec(x_35); +lean_inc(x_6); +x_37 = l_Lean_Parser_manyAux(x_4, x_6, x_33); +x_38 = l_Lean_nullKind; +x_39 = l_Lean_Parser_ParserState_mkNode(x_37, x_38, x_36); +x_40 = lean_ctor_get(x_39, 3); +lean_inc(x_40); +if (lean_obj_tag(x_40) == 0) +{ +lean_object* x_41; +x_41 = l_Lean_Parser_optionalFn(x_5, x_6, x_39); +return x_41; +} +else +{ +lean_dec(x_40); +lean_dec(x_6); +lean_dec(x_5); return x_39; } -else -{ -lean_dec(x_38); -lean_dec(x_6); -lean_dec(x_5); -return x_37; -} } else { -lean_dec(x_32); +lean_dec(x_34); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_31; +return x_33; } } else { -lean_dec(x_27); +lean_dec(x_29); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_26; +return x_28; } } else { -lean_dec(x_23); +lean_dec(x_25); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_22; +return x_24; +} +} +else +{ +lean_dec(x_22); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +return x_21; } } else @@ -8014,127 +8579,127 @@ return x_19; } else { -lean_dec(x_18); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -return x_17; -} -} -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; -x_40 = lean_ctor_get(x_9, 0); -x_41 = lean_ctor_get(x_9, 1); -x_42 = lean_ctor_get(x_9, 2); -lean_inc(x_42); -lean_inc(x_41); -lean_inc(x_40); -lean_dec(x_9); -x_43 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_43, 0, x_40); -lean_ctor_set(x_43, 1, x_41); -lean_ctor_set(x_43, 2, x_42); -x_44 = lean_ctor_get(x_7, 1); +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_42 = lean_ctor_get(x_10, 0); +x_43 = lean_ctor_get(x_10, 1); +x_44 = lean_ctor_get(x_10, 2); lean_inc(x_44); -x_45 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_6, 4, x_45); -lean_ctor_set(x_6, 0, x_43); -x_46 = l_instReprChar___closed__1; -x_47 = lean_string_append(x_46, x_1); -x_48 = lean_string_append(x_47, x_46); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_10); +x_45 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_45, 0, x_42); +lean_ctor_set(x_45, 1, x_43); +lean_ctor_set(x_45, 2, x_44); +x_46 = lean_ctor_get(x_7, 1); +lean_inc(x_46); +x_47 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_6, 4, x_47); +lean_ctor_set(x_6, 1, x_45); +x_48 = l_instReprChar___closed__1; +x_49 = lean_string_append(x_48, x_1); +x_50 = lean_string_append(x_49, x_48); lean_inc(x_6); -x_49 = l_Lean_Parser_symbolFnAux(x_1, x_48, x_6, x_7); -x_50 = lean_ctor_get(x_49, 3); -lean_inc(x_50); -if (lean_obj_tag(x_50) == 0) -{ -lean_object* x_51; lean_object* x_52; -lean_inc(x_6); -x_51 = l_Lean_Parser_Term_optIdent___elambda__1(x_6, x_49); +x_51 = l_Lean_Parser_symbolFnAux(x_1, x_50, x_6, x_7); x_52 = lean_ctor_get(x_51, 3); lean_inc(x_52); if (lean_obj_tag(x_52) == 0) { -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_unsigned_to_nat(0u); +lean_object* x_53; lean_object* x_54; lean_inc(x_6); -x_54 = l_Lean_Parser_categoryParser___elambda__1(x_2, x_53, x_6, x_51); -x_55 = lean_ctor_get(x_54, 3); -lean_inc(x_55); -if (lean_obj_tag(x_55) == 0) +x_53 = l_Lean_Parser_Term_optIdent___elambda__1(x_6, x_51); +x_54 = lean_ctor_get(x_53, 3); +lean_inc(x_54); +if (lean_obj_tag(x_54) == 0) { -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_56 = lean_string_append(x_46, x_3); -x_57 = lean_string_append(x_56, x_46); +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_unsigned_to_nat(0u); lean_inc(x_6); -x_58 = l_Lean_Parser_symbolFnAux(x_3, x_57, x_6, x_54); -x_59 = lean_ctor_get(x_58, 3); -lean_inc(x_59); -if (lean_obj_tag(x_59) == 0) +x_56 = l_Lean_Parser_categoryParser___elambda__1(x_2, x_55, x_6, x_53); +x_57 = lean_ctor_get(x_56, 3); +lean_inc(x_57); +if (lean_obj_tag(x_57) == 0) { -lean_object* x_60; lean_object* x_61; uint8_t x_62; lean_object* x_63; lean_object* x_64; -x_60 = l_Lean_Parser_Term_doSeqBracketed___closed__6; -x_61 = l_Lean_Parser_Term_doSeqIndent___closed__5; -x_62 = 1; +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_58 = lean_string_append(x_48, x_3); +x_59 = lean_string_append(x_58, x_48); lean_inc(x_6); -x_63 = l_Lean_Parser_orelseFnCore(x_60, x_61, x_62, x_6, x_58); -x_64 = lean_ctor_get(x_63, 3); -lean_inc(x_64); -if (lean_obj_tag(x_64) == 0) +x_60 = l_Lean_Parser_symbolFnAux(x_3, x_59, x_6, x_56); +x_61 = lean_ctor_get(x_60, 3); +lean_inc(x_61); +if (lean_obj_tag(x_61) == 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; -x_65 = lean_ctor_get(x_63, 0); -lean_inc(x_65); -x_66 = lean_array_get_size(x_65); -lean_dec(x_65); +lean_object* x_62; lean_object* x_63; uint8_t x_64; lean_object* x_65; lean_object* x_66; +x_62 = l_Lean_Parser_Term_doSeqBracketed___closed__6; +x_63 = l_Lean_Parser_Term_doSeqIndent___closed__5; +x_64 = 1; lean_inc(x_6); -x_67 = l_Lean_Parser_manyAux(x_4, x_6, x_63); -x_68 = l_Lean_nullKind; -x_69 = l_Lean_Parser_ParserState_mkNode(x_67, x_68, x_66); -x_70 = lean_ctor_get(x_69, 3); -lean_inc(x_70); -if (lean_obj_tag(x_70) == 0) +x_65 = l_Lean_Parser_orelseFnCore(x_62, x_63, x_64, x_6, x_60); +x_66 = lean_ctor_get(x_65, 3); +lean_inc(x_66); +if (lean_obj_tag(x_66) == 0) { -lean_object* x_71; -x_71 = l_Lean_Parser_optionalFn(x_5, x_6, x_69); +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_67 = lean_ctor_get(x_65, 0); +lean_inc(x_67); +x_68 = lean_array_get_size(x_67); +lean_dec(x_67); +lean_inc(x_6); +x_69 = l_Lean_Parser_manyAux(x_4, x_6, x_65); +x_70 = l_Lean_nullKind; +x_71 = l_Lean_Parser_ParserState_mkNode(x_69, x_70, x_68); +x_72 = lean_ctor_get(x_71, 3); +lean_inc(x_72); +if (lean_obj_tag(x_72) == 0) +{ +lean_object* x_73; +x_73 = l_Lean_Parser_optionalFn(x_5, x_6, x_71); +return x_73; +} +else +{ +lean_dec(x_72); +lean_dec(x_6); +lean_dec(x_5); return x_71; } -else -{ -lean_dec(x_70); -lean_dec(x_6); -lean_dec(x_5); -return x_69; -} } else { -lean_dec(x_64); +lean_dec(x_66); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_63; +return x_65; } } else { -lean_dec(x_59); +lean_dec(x_61); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_58; +return x_60; } } else { -lean_dec(x_55); +lean_dec(x_57); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_54; +return x_56; +} +} +else +{ +lean_dec(x_54); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +return x_53; } } else @@ -8147,184 +8712,357 @@ lean_dec(x_2); return x_51; } } -else -{ -lean_dec(x_50); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -return x_49; -} -} } else { -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; uint8_t x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_72 = lean_ctor_get(x_6, 0); -x_73 = lean_ctor_get(x_6, 1); -x_74 = lean_ctor_get(x_6, 2); -x_75 = lean_ctor_get(x_6, 3); -x_76 = lean_ctor_get_uint8(x_6, sizeof(void*)*6); -x_77 = lean_ctor_get_uint8(x_6, sizeof(void*)*6 + 1); -x_78 = lean_ctor_get(x_6, 5); -lean_inc(x_78); +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_9, 0); +x_75 = lean_ctor_get(x_9, 1); +x_76 = lean_ctor_get(x_9, 2); +lean_inc(x_76); lean_inc(x_75); lean_inc(x_74); -lean_inc(x_73); -lean_inc(x_72); -lean_dec(x_6); -x_79 = lean_ctor_get(x_72, 0); +lean_dec(x_9); +x_77 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_77, 0, x_74); +lean_ctor_set(x_77, 1, x_75); +lean_ctor_set(x_77, 2, x_76); +x_78 = lean_ctor_get(x_10, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_10, 1); lean_inc(x_79); -x_80 = lean_ctor_get(x_72, 1); +x_80 = lean_ctor_get(x_10, 2); lean_inc(x_80); -x_81 = lean_ctor_get(x_72, 2); -lean_inc(x_81); -if (lean_is_exclusive(x_72)) { - lean_ctor_release(x_72, 0); - lean_ctor_release(x_72, 1); - lean_ctor_release(x_72, 2); - x_82 = x_72; +if (lean_is_exclusive(x_10)) { + lean_ctor_release(x_10, 0); + lean_ctor_release(x_10, 1); + lean_ctor_release(x_10, 2); + x_81 = x_10; } else { - lean_dec_ref(x_72); - x_82 = lean_box(0); + lean_dec_ref(x_10); + x_81 = lean_box(0); } -if (lean_is_scalar(x_82)) { - x_83 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_81)) { + x_82 = lean_alloc_ctor(0, 3, 0); } else { - x_83 = x_82; + x_82 = x_81; } -lean_ctor_set(x_83, 0, x_79); -lean_ctor_set(x_83, 1, x_80); -lean_ctor_set(x_83, 2, x_81); -x_84 = lean_ctor_get(x_7, 1); -lean_inc(x_84); -x_85 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_85, 0, x_84); -x_86 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_86, 0, x_83); -lean_ctor_set(x_86, 1, x_73); -lean_ctor_set(x_86, 2, x_74); -lean_ctor_set(x_86, 3, x_75); -lean_ctor_set(x_86, 4, x_85); -lean_ctor_set(x_86, 5, x_78); -lean_ctor_set_uint8(x_86, sizeof(void*)*6, x_76); -lean_ctor_set_uint8(x_86, sizeof(void*)*6 + 1, x_77); -x_87 = l_instReprChar___closed__1; -x_88 = lean_string_append(x_87, x_1); -x_89 = lean_string_append(x_88, x_87); -lean_inc(x_86); -x_90 = l_Lean_Parser_symbolFnAux(x_1, x_89, x_86, x_7); +lean_ctor_set(x_82, 0, x_78); +lean_ctor_set(x_82, 1, x_79); +lean_ctor_set(x_82, 2, x_80); +x_83 = lean_ctor_get(x_7, 1); +lean_inc(x_83); +x_84 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_6, 4, x_84); +lean_ctor_set(x_6, 1, x_82); +lean_ctor_set(x_6, 0, x_77); +x_85 = l_instReprChar___closed__1; +x_86 = lean_string_append(x_85, x_1); +x_87 = lean_string_append(x_86, x_85); +lean_inc(x_6); +x_88 = l_Lean_Parser_symbolFnAux(x_1, x_87, x_6, x_7); +x_89 = lean_ctor_get(x_88, 3); +lean_inc(x_89); +if (lean_obj_tag(x_89) == 0) +{ +lean_object* x_90; lean_object* x_91; +lean_inc(x_6); +x_90 = l_Lean_Parser_Term_optIdent___elambda__1(x_6, x_88); x_91 = lean_ctor_get(x_90, 3); lean_inc(x_91); if (lean_obj_tag(x_91) == 0) { -lean_object* x_92; lean_object* x_93; -lean_inc(x_86); -x_92 = l_Lean_Parser_Term_optIdent___elambda__1(x_86, x_90); -x_93 = lean_ctor_get(x_92, 3); -lean_inc(x_93); -if (lean_obj_tag(x_93) == 0) +lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_92 = lean_unsigned_to_nat(0u); +lean_inc(x_6); +x_93 = l_Lean_Parser_categoryParser___elambda__1(x_2, x_92, x_6, x_90); +x_94 = lean_ctor_get(x_93, 3); +lean_inc(x_94); +if (lean_obj_tag(x_94) == 0) { -lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_94 = lean_unsigned_to_nat(0u); -lean_inc(x_86); -x_95 = l_Lean_Parser_categoryParser___elambda__1(x_2, x_94, x_86, x_92); -x_96 = lean_ctor_get(x_95, 3); -lean_inc(x_96); -if (lean_obj_tag(x_96) == 0) +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_95 = lean_string_append(x_85, x_3); +x_96 = lean_string_append(x_95, x_85); +lean_inc(x_6); +x_97 = l_Lean_Parser_symbolFnAux(x_3, x_96, x_6, x_93); +x_98 = lean_ctor_get(x_97, 3); +lean_inc(x_98); +if (lean_obj_tag(x_98) == 0) { -lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; -x_97 = lean_string_append(x_87, x_3); -x_98 = lean_string_append(x_97, x_87); -lean_inc(x_86); -x_99 = l_Lean_Parser_symbolFnAux(x_3, x_98, x_86, x_95); -x_100 = lean_ctor_get(x_99, 3); -lean_inc(x_100); -if (lean_obj_tag(x_100) == 0) +lean_object* x_99; lean_object* x_100; uint8_t x_101; lean_object* x_102; lean_object* x_103; +x_99 = l_Lean_Parser_Term_doSeqBracketed___closed__6; +x_100 = l_Lean_Parser_Term_doSeqIndent___closed__5; +x_101 = 1; +lean_inc(x_6); +x_102 = l_Lean_Parser_orelseFnCore(x_99, x_100, x_101, x_6, x_97); +x_103 = lean_ctor_get(x_102, 3); +lean_inc(x_103); +if (lean_obj_tag(x_103) == 0) { -lean_object* x_101; lean_object* x_102; uint8_t x_103; lean_object* x_104; lean_object* x_105; -x_101 = l_Lean_Parser_Term_doSeqBracketed___closed__6; -x_102 = l_Lean_Parser_Term_doSeqIndent___closed__5; -x_103 = 1; -lean_inc(x_86); -x_104 = l_Lean_Parser_orelseFnCore(x_101, x_102, x_103, x_86, x_99); -x_105 = lean_ctor_get(x_104, 3); -lean_inc(x_105); -if (lean_obj_tag(x_105) == 0) +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; +x_104 = lean_ctor_get(x_102, 0); +lean_inc(x_104); +x_105 = lean_array_get_size(x_104); +lean_dec(x_104); +lean_inc(x_6); +x_106 = l_Lean_Parser_manyAux(x_4, x_6, x_102); +x_107 = l_Lean_nullKind; +x_108 = l_Lean_Parser_ParserState_mkNode(x_106, x_107, x_105); +x_109 = lean_ctor_get(x_108, 3); +lean_inc(x_109); +if (lean_obj_tag(x_109) == 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; -x_106 = lean_ctor_get(x_104, 0); -lean_inc(x_106); -x_107 = lean_array_get_size(x_106); -lean_dec(x_106); -lean_inc(x_86); -x_108 = l_Lean_Parser_manyAux(x_4, x_86, x_104); -x_109 = l_Lean_nullKind; -x_110 = l_Lean_Parser_ParserState_mkNode(x_108, x_109, x_107); -x_111 = lean_ctor_get(x_110, 3); -lean_inc(x_111); -if (lean_obj_tag(x_111) == 0) -{ -lean_object* x_112; -x_112 = l_Lean_Parser_optionalFn(x_5, x_86, x_110); -return x_112; -} -else -{ -lean_dec(x_111); -lean_dec(x_86); -lean_dec(x_5); +lean_object* x_110; +x_110 = l_Lean_Parser_optionalFn(x_5, x_6, x_108); return x_110; } -} else { -lean_dec(x_105); -lean_dec(x_86); +lean_dec(x_109); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); -return x_104; +return x_108; } } else { -lean_dec(x_100); -lean_dec(x_86); +lean_dec(x_103); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_99; +return x_102; } } else { -lean_dec(x_96); -lean_dec(x_86); +lean_dec(x_98); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_95; +return x_97; } } else { -lean_dec(x_93); -lean_dec(x_86); +lean_dec(x_94); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_2); -return x_92; +return x_93; } } else { lean_dec(x_91); -lean_dec(x_86); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); return x_90; } } +else +{ +lean_dec(x_89); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +return x_88; +} +} +} +else +{ +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t 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; +x_111 = lean_ctor_get(x_6, 0); +x_112 = lean_ctor_get(x_6, 1); +x_113 = lean_ctor_get(x_6, 2); +x_114 = lean_ctor_get(x_6, 3); +x_115 = lean_ctor_get_uint8(x_6, sizeof(void*)*6); +x_116 = lean_ctor_get_uint8(x_6, sizeof(void*)*6 + 1); +x_117 = lean_ctor_get(x_6, 5); +lean_inc(x_117); +lean_inc(x_114); +lean_inc(x_113); +lean_inc(x_112); +lean_inc(x_111); +lean_dec(x_6); +x_118 = lean_ctor_get(x_111, 0); +lean_inc(x_118); +x_119 = lean_ctor_get(x_111, 1); +lean_inc(x_119); +x_120 = lean_ctor_get(x_111, 2); +lean_inc(x_120); +if (lean_is_exclusive(x_111)) { + lean_ctor_release(x_111, 0); + lean_ctor_release(x_111, 1); + lean_ctor_release(x_111, 2); + x_121 = x_111; +} else { + lean_dec_ref(x_111); + x_121 = lean_box(0); +} +if (lean_is_scalar(x_121)) { + x_122 = lean_alloc_ctor(0, 3, 0); +} else { + x_122 = x_121; +} +lean_ctor_set(x_122, 0, x_118); +lean_ctor_set(x_122, 1, x_119); +lean_ctor_set(x_122, 2, x_120); +x_123 = lean_ctor_get(x_112, 0); +lean_inc(x_123); +x_124 = lean_ctor_get(x_112, 1); +lean_inc(x_124); +x_125 = lean_ctor_get(x_112, 2); +lean_inc(x_125); +if (lean_is_exclusive(x_112)) { + lean_ctor_release(x_112, 0); + lean_ctor_release(x_112, 1); + lean_ctor_release(x_112, 2); + x_126 = x_112; +} else { + lean_dec_ref(x_112); + x_126 = lean_box(0); +} +if (lean_is_scalar(x_126)) { + x_127 = lean_alloc_ctor(0, 3, 0); +} else { + x_127 = x_126; +} +lean_ctor_set(x_127, 0, x_123); +lean_ctor_set(x_127, 1, x_124); +lean_ctor_set(x_127, 2, x_125); +x_128 = lean_ctor_get(x_7, 1); +lean_inc(x_128); +x_129 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_129, 0, x_128); +x_130 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_130, 0, x_122); +lean_ctor_set(x_130, 1, x_127); +lean_ctor_set(x_130, 2, x_113); +lean_ctor_set(x_130, 3, x_114); +lean_ctor_set(x_130, 4, x_129); +lean_ctor_set(x_130, 5, x_117); +lean_ctor_set_uint8(x_130, sizeof(void*)*6, x_115); +lean_ctor_set_uint8(x_130, sizeof(void*)*6 + 1, x_116); +x_131 = l_instReprChar___closed__1; +x_132 = lean_string_append(x_131, x_1); +x_133 = lean_string_append(x_132, x_131); +lean_inc(x_130); +x_134 = l_Lean_Parser_symbolFnAux(x_1, x_133, x_130, x_7); +x_135 = lean_ctor_get(x_134, 3); +lean_inc(x_135); +if (lean_obj_tag(x_135) == 0) +{ +lean_object* x_136; lean_object* x_137; +lean_inc(x_130); +x_136 = l_Lean_Parser_Term_optIdent___elambda__1(x_130, x_134); +x_137 = lean_ctor_get(x_136, 3); +lean_inc(x_137); +if (lean_obj_tag(x_137) == 0) +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; +x_138 = lean_unsigned_to_nat(0u); +lean_inc(x_130); +x_139 = l_Lean_Parser_categoryParser___elambda__1(x_2, x_138, x_130, x_136); +x_140 = lean_ctor_get(x_139, 3); +lean_inc(x_140); +if (lean_obj_tag(x_140) == 0) +{ +lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; +x_141 = lean_string_append(x_131, x_3); +x_142 = lean_string_append(x_141, x_131); +lean_inc(x_130); +x_143 = l_Lean_Parser_symbolFnAux(x_3, x_142, x_130, x_139); +x_144 = lean_ctor_get(x_143, 3); +lean_inc(x_144); +if (lean_obj_tag(x_144) == 0) +{ +lean_object* x_145; lean_object* x_146; uint8_t x_147; lean_object* x_148; lean_object* x_149; +x_145 = l_Lean_Parser_Term_doSeqBracketed___closed__6; +x_146 = l_Lean_Parser_Term_doSeqIndent___closed__5; +x_147 = 1; +lean_inc(x_130); +x_148 = l_Lean_Parser_orelseFnCore(x_145, x_146, x_147, x_130, x_143); +x_149 = lean_ctor_get(x_148, 3); +lean_inc(x_149); +if (lean_obj_tag(x_149) == 0) +{ +lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; +x_150 = lean_ctor_get(x_148, 0); +lean_inc(x_150); +x_151 = lean_array_get_size(x_150); +lean_dec(x_150); +lean_inc(x_130); +x_152 = l_Lean_Parser_manyAux(x_4, x_130, x_148); +x_153 = l_Lean_nullKind; +x_154 = l_Lean_Parser_ParserState_mkNode(x_152, x_153, x_151); +x_155 = lean_ctor_get(x_154, 3); +lean_inc(x_155); +if (lean_obj_tag(x_155) == 0) +{ +lean_object* x_156; +x_156 = l_Lean_Parser_optionalFn(x_5, x_130, x_154); +return x_156; +} +else +{ +lean_dec(x_155); +lean_dec(x_130); +lean_dec(x_5); +return x_154; +} +} +else +{ +lean_dec(x_149); +lean_dec(x_130); +lean_dec(x_5); +lean_dec(x_4); +return x_148; +} +} +else +{ +lean_dec(x_144); +lean_dec(x_130); +lean_dec(x_5); +lean_dec(x_4); +return x_143; +} +} +else +{ +lean_dec(x_140); +lean_dec(x_130); +lean_dec(x_5); +lean_dec(x_4); +return x_139; +} +} +else +{ +lean_dec(x_137); +lean_dec(x_130); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +return x_136; +} +} +else +{ +lean_dec(x_135); +lean_dec(x_130); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +return x_134; +} +} } } static lean_object* _init_l_Lean_Parser_Term_doIf___elambda__1___closed__1() { @@ -9308,7 +10046,7 @@ static lean_object* _init_l_Lean_Parser_Term_doIf_formatter___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__39; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__39; x_2 = l_Lean_Parser_Term_doIf_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); @@ -9342,7 +10080,7 @@ static lean_object* _init_l_Lean_Parser_Term_doIf_formatter___closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__39; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__39; x_2 = l_Lean_Parser_Term_doIf_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); @@ -9851,7 +10589,7 @@ static lean_object* _init_l_Lean_Parser_Term_doIf_parenthesizer___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__39; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__39; x_2 = l_Lean_Parser_Term_doIf_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); @@ -9873,7 +10611,7 @@ static lean_object* _init_l_Lean_Parser_Term_doIf_parenthesizer___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__39; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__39; x_2 = l_Lean_Parser_Term_doIf_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); @@ -10033,94 +10771,168 @@ uint8_t x_4; x_4 = !lean_is_exclusive(x_2); if (x_4 == 0) { -lean_object* x_5; lean_object* x_6; uint8_t x_7; +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, 5); -lean_dec(x_6); -x_7 = !lean_is_exclusive(x_5); -if (x_7 == 0) +x_6 = lean_ctor_get(x_2, 1); +x_7 = lean_ctor_get(x_2, 5); +lean_dec(x_7); +x_8 = !lean_is_exclusive(x_5); +if (x_8 == 0) { -lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = l_Lean_Parser_Term_doUnless___elambda__1___lambda__1___closed__1; -lean_ctor_set(x_2, 5, x_8); -x_9 = lean_unsigned_to_nat(0u); -x_10 = l_Lean_Parser_categoryParser___elambda__1(x_1, x_9, x_2, x_3); -return x_10; +uint8_t x_9; +x_9 = !lean_is_exclusive(x_6); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = l_Lean_Parser_Term_doUnless___elambda__1___lambda__1___closed__1; +lean_ctor_set(x_2, 5, x_10); +x_11 = lean_unsigned_to_nat(0u); +x_12 = l_Lean_Parser_categoryParser___elambda__1(x_1, x_11, x_2, x_3); +return x_12; } else { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_11 = lean_ctor_get(x_5, 0); -x_12 = lean_ctor_get(x_5, 1); -x_13 = lean_ctor_get(x_5, 2); +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_ctor_get(x_6, 0); +x_14 = lean_ctor_get(x_6, 1); +x_15 = lean_ctor_get(x_6, 2); +lean_inc(x_15); +lean_inc(x_14); lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_dec(x_5); -x_14 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_14, 0, x_11); -lean_ctor_set(x_14, 1, x_12); -lean_ctor_set(x_14, 2, x_13); -x_15 = l_Lean_Parser_Term_doUnless___elambda__1___lambda__1___closed__1; -lean_ctor_set(x_2, 5, x_15); -lean_ctor_set(x_2, 0, x_14); -x_16 = lean_unsigned_to_nat(0u); -x_17 = l_Lean_Parser_categoryParser___elambda__1(x_1, x_16, x_2, x_3); -return x_17; +lean_dec(x_6); +x_16 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_16, 0, x_13); +lean_ctor_set(x_16, 1, x_14); +lean_ctor_set(x_16, 2, x_15); +x_17 = l_Lean_Parser_Term_doUnless___elambda__1___lambda__1___closed__1; +lean_ctor_set(x_2, 5, x_17); +lean_ctor_set(x_2, 1, x_16); +x_18 = lean_unsigned_to_nat(0u); +x_19 = l_Lean_Parser_categoryParser___elambda__1(x_1, x_18, x_2, x_3); +return x_19; } } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; uint8_t 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_18 = lean_ctor_get(x_2, 0); -x_19 = lean_ctor_get(x_2, 1); -x_20 = lean_ctor_get(x_2, 2); -x_21 = lean_ctor_get(x_2, 3); -x_22 = lean_ctor_get_uint8(x_2, sizeof(void*)*6); -x_23 = lean_ctor_get_uint8(x_2, sizeof(void*)*6 + 1); -x_24 = lean_ctor_get(x_2, 4); -lean_inc(x_24); +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); +x_22 = lean_ctor_get(x_5, 2); +lean_inc(x_22); lean_inc(x_21); lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_2); -x_25 = lean_ctor_get(x_18, 0); +lean_dec(x_5); +x_23 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_23, 0, x_20); +lean_ctor_set(x_23, 1, x_21); +lean_ctor_set(x_23, 2, x_22); +x_24 = lean_ctor_get(x_6, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_6, 1); lean_inc(x_25); -x_26 = lean_ctor_get(x_18, 1); +x_26 = lean_ctor_get(x_6, 2); lean_inc(x_26); -x_27 = lean_ctor_get(x_18, 2); -lean_inc(x_27); -if (lean_is_exclusive(x_18)) { - lean_ctor_release(x_18, 0); - lean_ctor_release(x_18, 1); - lean_ctor_release(x_18, 2); - x_28 = x_18; +if (lean_is_exclusive(x_6)) { + lean_ctor_release(x_6, 0); + lean_ctor_release(x_6, 1); + lean_ctor_release(x_6, 2); + x_27 = x_6; } else { - lean_dec_ref(x_18); - x_28 = lean_box(0); + lean_dec_ref(x_6); + x_27 = lean_box(0); } -if (lean_is_scalar(x_28)) { - x_29 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_27)) { + x_28 = lean_alloc_ctor(0, 3, 0); } else { - x_29 = x_28; + x_28 = x_27; } -lean_ctor_set(x_29, 0, x_25); -lean_ctor_set(x_29, 1, x_26); -lean_ctor_set(x_29, 2, x_27); -x_30 = l_Lean_Parser_Term_doUnless___elambda__1___lambda__1___closed__1; -x_31 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_19); -lean_ctor_set(x_31, 2, x_20); -lean_ctor_set(x_31, 3, x_21); -lean_ctor_set(x_31, 4, x_24); -lean_ctor_set(x_31, 5, x_30); -lean_ctor_set_uint8(x_31, sizeof(void*)*6, x_22); -lean_ctor_set_uint8(x_31, sizeof(void*)*6 + 1, x_23); -x_32 = lean_unsigned_to_nat(0u); -x_33 = l_Lean_Parser_categoryParser___elambda__1(x_1, x_32, x_31, x_3); -return x_33; +lean_ctor_set(x_28, 0, x_24); +lean_ctor_set(x_28, 1, x_25); +lean_ctor_set(x_28, 2, x_26); +x_29 = l_Lean_Parser_Term_doUnless___elambda__1___lambda__1___closed__1; +lean_ctor_set(x_2, 5, x_29); +lean_ctor_set(x_2, 1, x_28); +lean_ctor_set(x_2, 0, x_23); +x_30 = lean_unsigned_to_nat(0u); +x_31 = l_Lean_Parser_categoryParser___elambda__1(x_1, x_30, x_2, x_3); +return x_31; +} +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; uint8_t 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_32 = lean_ctor_get(x_2, 0); +x_33 = lean_ctor_get(x_2, 1); +x_34 = lean_ctor_get(x_2, 2); +x_35 = lean_ctor_get(x_2, 3); +x_36 = lean_ctor_get_uint8(x_2, sizeof(void*)*6); +x_37 = lean_ctor_get_uint8(x_2, sizeof(void*)*6 + 1); +x_38 = lean_ctor_get(x_2, 4); +lean_inc(x_38); +lean_inc(x_35); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_2); +x_39 = lean_ctor_get(x_32, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_32, 1); +lean_inc(x_40); +x_41 = lean_ctor_get(x_32, 2); +lean_inc(x_41); +if (lean_is_exclusive(x_32)) { + lean_ctor_release(x_32, 0); + lean_ctor_release(x_32, 1); + lean_ctor_release(x_32, 2); + x_42 = x_32; +} else { + lean_dec_ref(x_32); + x_42 = lean_box(0); +} +if (lean_is_scalar(x_42)) { + x_43 = lean_alloc_ctor(0, 3, 0); +} else { + x_43 = x_42; +} +lean_ctor_set(x_43, 0, x_39); +lean_ctor_set(x_43, 1, x_40); +lean_ctor_set(x_43, 2, x_41); +x_44 = lean_ctor_get(x_33, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_33, 1); +lean_inc(x_45); +x_46 = lean_ctor_get(x_33, 2); +lean_inc(x_46); +if (lean_is_exclusive(x_33)) { + lean_ctor_release(x_33, 0); + lean_ctor_release(x_33, 1); + lean_ctor_release(x_33, 2); + x_47 = x_33; +} else { + lean_dec_ref(x_33); + x_47 = lean_box(0); +} +if (lean_is_scalar(x_47)) { + x_48 = lean_alloc_ctor(0, 3, 0); +} else { + x_48 = x_47; +} +lean_ctor_set(x_48, 0, x_44); +lean_ctor_set(x_48, 1, x_45); +lean_ctor_set(x_48, 2, x_46); +x_49 = l_Lean_Parser_Term_doUnless___elambda__1___lambda__1___closed__1; +x_50 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_50, 0, x_43); +lean_ctor_set(x_50, 1, x_48); +lean_ctor_set(x_50, 2, x_34); +lean_ctor_set(x_50, 3, x_35); +lean_ctor_set(x_50, 4, x_38); +lean_ctor_set(x_50, 5, x_49); +lean_ctor_set_uint8(x_50, sizeof(void*)*6, x_36); +lean_ctor_set_uint8(x_50, sizeof(void*)*6 + 1, x_37); +x_51 = lean_unsigned_to_nat(0u); +x_52 = l_Lean_Parser_categoryParser___elambda__1(x_1, x_51, x_50, x_3); +return x_52; } } } @@ -11313,150 +12125,243 @@ uint8_t x_5; x_5 = !lean_is_exclusive(x_3); if (x_5 == 0) { -lean_object* x_6; lean_object* x_7; uint8_t x_8; +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_3, 4); -lean_dec(x_7); -x_8 = !lean_is_exclusive(x_6); -if (x_8 == 0) +x_7 = lean_ctor_get(x_3, 1); +x_8 = lean_ctor_get(x_3, 4); +lean_dec(x_8); +x_9 = !lean_is_exclusive(x_6); +if (x_9 == 0) { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_9 = lean_ctor_get(x_4, 1); -lean_inc(x_9); -x_10 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_3, 4, x_10); +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; lean_object* x_14; +x_11 = lean_ctor_get(x_4, 1); +lean_inc(x_11); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_3, 4, x_12); lean_inc(x_3); -x_11 = l_Lean_Parser_optionalFn(x_1, x_3, x_4); -x_12 = lean_ctor_get(x_11, 3); -lean_inc(x_12); -if (lean_obj_tag(x_12) == 0) +x_13 = l_Lean_Parser_optionalFn(x_1, x_3, x_4); +x_14 = lean_ctor_get(x_13, 3); +lean_inc(x_14); +if (lean_obj_tag(x_14) == 0) { -uint8_t x_13; lean_object* x_14; lean_object* x_15; -x_13 = 0; -x_14 = l_Lean_Parser_Term_doMatchAlt___closed__6; -x_15 = l_Lean_Parser_sepBy1Fn(x_13, x_14, x_2, x_3, x_11); -return x_15; +uint8_t x_15; lean_object* x_16; lean_object* x_17; +x_15 = 0; +x_16 = l_Lean_Parser_Term_doMatchAlt___closed__6; +x_17 = l_Lean_Parser_sepBy1Fn(x_15, x_16, x_2, x_3, x_13); +return x_17; } else { -lean_dec(x_12); +lean_dec(x_14); lean_dec(x_3); lean_dec(x_2); -return x_11; +return x_13; } } 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; -x_16 = lean_ctor_get(x_6, 0); -x_17 = lean_ctor_get(x_6, 1); -x_18 = lean_ctor_get(x_6, 2); -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_6); -x_19 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_19, 0, x_16); -lean_ctor_set(x_19, 1, x_17); -lean_ctor_set(x_19, 2, x_18); -x_20 = lean_ctor_get(x_4, 1); +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_7, 0); +x_19 = lean_ctor_get(x_7, 1); +x_20 = lean_ctor_get(x_7, 2); lean_inc(x_20); -x_21 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_3, 4, x_21); -lean_ctor_set(x_3, 0, x_19); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_7); +x_21 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_21, 0, x_18); +lean_ctor_set(x_21, 1, x_19); +lean_ctor_set(x_21, 2, x_20); +x_22 = lean_ctor_get(x_4, 1); +lean_inc(x_22); +x_23 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_3, 4, x_23); +lean_ctor_set(x_3, 1, x_21); lean_inc(x_3); -x_22 = l_Lean_Parser_optionalFn(x_1, x_3, x_4); -x_23 = lean_ctor_get(x_22, 3); -lean_inc(x_23); -if (lean_obj_tag(x_23) == 0) +x_24 = l_Lean_Parser_optionalFn(x_1, x_3, x_4); +x_25 = lean_ctor_get(x_24, 3); +lean_inc(x_25); +if (lean_obj_tag(x_25) == 0) { -uint8_t x_24; lean_object* x_25; lean_object* x_26; -x_24 = 0; -x_25 = l_Lean_Parser_Term_doMatchAlt___closed__6; -x_26 = l_Lean_Parser_sepBy1Fn(x_24, x_25, x_2, x_3, x_22); -return x_26; +uint8_t x_26; lean_object* x_27; lean_object* x_28; +x_26 = 0; +x_27 = l_Lean_Parser_Term_doMatchAlt___closed__6; +x_28 = l_Lean_Parser_sepBy1Fn(x_26, x_27, x_2, x_3, x_24); +return x_28; } else { -lean_dec(x_23); +lean_dec(x_25); lean_dec(x_3); lean_dec(x_2); -return x_22; +return x_24; } } } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; uint8_t 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_27 = lean_ctor_get(x_3, 0); -x_28 = lean_ctor_get(x_3, 1); -x_29 = lean_ctor_get(x_3, 2); -x_30 = lean_ctor_get(x_3, 3); -x_31 = lean_ctor_get_uint8(x_3, sizeof(void*)*6); -x_32 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 1); -x_33 = lean_ctor_get(x_3, 5); -lean_inc(x_33); +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; +x_29 = lean_ctor_get(x_6, 0); +x_30 = lean_ctor_get(x_6, 1); +x_31 = lean_ctor_get(x_6, 2); +lean_inc(x_31); lean_inc(x_30); lean_inc(x_29); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_3); -x_34 = lean_ctor_get(x_27, 0); +lean_dec(x_6); +x_32 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_32, 0, x_29); +lean_ctor_set(x_32, 1, x_30); +lean_ctor_set(x_32, 2, x_31); +x_33 = lean_ctor_get(x_7, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_7, 1); lean_inc(x_34); -x_35 = lean_ctor_get(x_27, 1); +x_35 = lean_ctor_get(x_7, 2); lean_inc(x_35); -x_36 = lean_ctor_get(x_27, 2); -lean_inc(x_36); -if (lean_is_exclusive(x_27)) { - lean_ctor_release(x_27, 0); - lean_ctor_release(x_27, 1); - lean_ctor_release(x_27, 2); - x_37 = x_27; +if (lean_is_exclusive(x_7)) { + lean_ctor_release(x_7, 0); + lean_ctor_release(x_7, 1); + lean_ctor_release(x_7, 2); + x_36 = x_7; } else { - lean_dec_ref(x_27); - x_37 = lean_box(0); + lean_dec_ref(x_7); + x_36 = lean_box(0); } -if (lean_is_scalar(x_37)) { - x_38 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_36)) { + x_37 = lean_alloc_ctor(0, 3, 0); } else { - x_38 = x_37; + x_37 = x_36; } -lean_ctor_set(x_38, 0, x_34); -lean_ctor_set(x_38, 1, x_35); -lean_ctor_set(x_38, 2, x_36); -x_39 = lean_ctor_get(x_4, 1); -lean_inc(x_39); -x_40 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_40, 0, x_39); -x_41 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_41, 0, x_38); -lean_ctor_set(x_41, 1, x_28); -lean_ctor_set(x_41, 2, x_29); -lean_ctor_set(x_41, 3, x_30); -lean_ctor_set(x_41, 4, x_40); -lean_ctor_set(x_41, 5, x_33); -lean_ctor_set_uint8(x_41, sizeof(void*)*6, x_31); -lean_ctor_set_uint8(x_41, sizeof(void*)*6 + 1, x_32); +lean_ctor_set(x_37, 0, x_33); +lean_ctor_set(x_37, 1, x_34); +lean_ctor_set(x_37, 2, x_35); +x_38 = lean_ctor_get(x_4, 1); +lean_inc(x_38); +x_39 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_3, 4, x_39); +lean_ctor_set(x_3, 1, x_37); +lean_ctor_set(x_3, 0, x_32); +lean_inc(x_3); +x_40 = l_Lean_Parser_optionalFn(x_1, x_3, x_4); +x_41 = lean_ctor_get(x_40, 3); lean_inc(x_41); -x_42 = l_Lean_Parser_optionalFn(x_1, x_41, x_4); -x_43 = lean_ctor_get(x_42, 3); -lean_inc(x_43); -if (lean_obj_tag(x_43) == 0) +if (lean_obj_tag(x_41) == 0) { -uint8_t x_44; lean_object* x_45; lean_object* x_46; -x_44 = 0; -x_45 = l_Lean_Parser_Term_doMatchAlt___closed__6; -x_46 = l_Lean_Parser_sepBy1Fn(x_44, x_45, x_2, x_41, x_42); -return x_46; +uint8_t x_42; lean_object* x_43; lean_object* x_44; +x_42 = 0; +x_43 = l_Lean_Parser_Term_doMatchAlt___closed__6; +x_44 = l_Lean_Parser_sepBy1Fn(x_42, x_43, x_2, x_3, x_40); +return x_44; } else { -lean_dec(x_43); lean_dec(x_41); +lean_dec(x_3); lean_dec(x_2); -return x_42; +return x_40; +} +} +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t 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; +x_45 = lean_ctor_get(x_3, 0); +x_46 = lean_ctor_get(x_3, 1); +x_47 = lean_ctor_get(x_3, 2); +x_48 = lean_ctor_get(x_3, 3); +x_49 = lean_ctor_get_uint8(x_3, sizeof(void*)*6); +x_50 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 1); +x_51 = lean_ctor_get(x_3, 5); +lean_inc(x_51); +lean_inc(x_48); +lean_inc(x_47); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_3); +x_52 = lean_ctor_get(x_45, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_45, 1); +lean_inc(x_53); +x_54 = lean_ctor_get(x_45, 2); +lean_inc(x_54); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + lean_ctor_release(x_45, 1); + lean_ctor_release(x_45, 2); + x_55 = x_45; +} else { + lean_dec_ref(x_45); + x_55 = lean_box(0); +} +if (lean_is_scalar(x_55)) { + x_56 = lean_alloc_ctor(0, 3, 0); +} else { + x_56 = x_55; +} +lean_ctor_set(x_56, 0, x_52); +lean_ctor_set(x_56, 1, x_53); +lean_ctor_set(x_56, 2, x_54); +x_57 = lean_ctor_get(x_46, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_46, 1); +lean_inc(x_58); +x_59 = lean_ctor_get(x_46, 2); +lean_inc(x_59); +if (lean_is_exclusive(x_46)) { + lean_ctor_release(x_46, 0); + lean_ctor_release(x_46, 1); + lean_ctor_release(x_46, 2); + x_60 = x_46; +} else { + lean_dec_ref(x_46); + x_60 = lean_box(0); +} +if (lean_is_scalar(x_60)) { + x_61 = lean_alloc_ctor(0, 3, 0); +} else { + x_61 = x_60; +} +lean_ctor_set(x_61, 0, x_57); +lean_ctor_set(x_61, 1, x_58); +lean_ctor_set(x_61, 2, x_59); +x_62 = lean_ctor_get(x_4, 1); +lean_inc(x_62); +x_63 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_63, 0, x_62); +x_64 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_64, 0, x_56); +lean_ctor_set(x_64, 1, x_61); +lean_ctor_set(x_64, 2, x_47); +lean_ctor_set(x_64, 3, x_48); +lean_ctor_set(x_64, 4, x_63); +lean_ctor_set(x_64, 5, x_51); +lean_ctor_set_uint8(x_64, sizeof(void*)*6, x_49); +lean_ctor_set_uint8(x_64, sizeof(void*)*6 + 1, x_50); +lean_inc(x_64); +x_65 = l_Lean_Parser_optionalFn(x_1, x_64, x_4); +x_66 = lean_ctor_get(x_65, 3); +lean_inc(x_66); +if (lean_obj_tag(x_66) == 0) +{ +uint8_t x_67; lean_object* x_68; lean_object* x_69; +x_67 = 0; +x_68 = l_Lean_Parser_Term_doMatchAlt___closed__6; +x_69 = l_Lean_Parser_sepBy1Fn(x_67, x_68, x_2, x_64, x_65); +return x_69; +} +else +{ +lean_dec(x_66); +lean_dec(x_64); +lean_dec(x_2); +return x_65; } } } @@ -14628,153 +15533,247 @@ uint8_t x_5; x_5 = !lean_is_exclusive(x_3); if (x_5 == 0) { -lean_object* x_6; lean_object* x_7; uint8_t x_8; +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_3, 4); -lean_dec(x_7); -x_8 = !lean_is_exclusive(x_6); -if (x_8 == 0) +x_7 = lean_ctor_get(x_3, 1); +x_8 = lean_ctor_get(x_3, 4); +lean_dec(x_8); +x_9 = !lean_is_exclusive(x_6); +if (x_9 == 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; -x_9 = lean_ctor_get(x_4, 1); -lean_inc(x_9); -x_10 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_3, 4, x_10); -x_11 = l_instReprChar___closed__1; -x_12 = lean_string_append(x_11, x_1); -x_13 = lean_string_append(x_12, x_11); +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; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_11 = lean_ctor_get(x_4, 1); +lean_inc(x_11); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_3, 4, x_12); +x_13 = l_instReprChar___closed__1; +x_14 = lean_string_append(x_13, x_1); +x_15 = lean_string_append(x_14, x_13); lean_inc(x_3); -x_14 = l_Lean_Parser_symbolFnAux(x_1, x_13, x_3, x_4); -x_15 = lean_ctor_get(x_14, 3); -lean_inc(x_15); -if (lean_obj_tag(x_15) == 0) +x_16 = l_Lean_Parser_symbolFnAux(x_1, x_15, x_3, x_4); +x_17 = lean_ctor_get(x_16, 3); +lean_inc(x_17); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_16; -x_16 = l_Lean_Parser_optionalFn(x_2, x_3, x_14); +lean_object* x_18; +x_18 = l_Lean_Parser_optionalFn(x_2, x_3, x_16); +return x_18; +} +else +{ +lean_dec(x_17); +lean_dec(x_3); +lean_dec(x_2); return x_16; } +} else { -lean_dec(x_15); +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_19 = lean_ctor_get(x_7, 0); +x_20 = lean_ctor_get(x_7, 1); +x_21 = lean_ctor_get(x_7, 2); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_7); +x_22 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_22, 0, x_19); +lean_ctor_set(x_22, 1, x_20); +lean_ctor_set(x_22, 2, x_21); +x_23 = lean_ctor_get(x_4, 1); +lean_inc(x_23); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_3, 4, x_24); +lean_ctor_set(x_3, 1, x_22); +x_25 = l_instReprChar___closed__1; +x_26 = lean_string_append(x_25, x_1); +x_27 = lean_string_append(x_26, x_25); +lean_inc(x_3); +x_28 = l_Lean_Parser_symbolFnAux(x_1, x_27, x_3, x_4); +x_29 = lean_ctor_get(x_28, 3); +lean_inc(x_29); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; +x_30 = l_Lean_Parser_optionalFn(x_2, x_3, x_28); +return x_30; +} +else +{ +lean_dec(x_29); lean_dec(x_3); lean_dec(x_2); -return x_14; -} -} -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; lean_object* x_27; -x_17 = lean_ctor_get(x_6, 0); -x_18 = lean_ctor_get(x_6, 1); -x_19 = lean_ctor_get(x_6, 2); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_6); -x_20 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_20, 0, x_17); -lean_ctor_set(x_20, 1, x_18); -lean_ctor_set(x_20, 2, x_19); -x_21 = lean_ctor_get(x_4, 1); -lean_inc(x_21); -x_22 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_3, 4, x_22); -lean_ctor_set(x_3, 0, x_20); -x_23 = l_instReprChar___closed__1; -x_24 = lean_string_append(x_23, x_1); -x_25 = lean_string_append(x_24, x_23); -lean_inc(x_3); -x_26 = l_Lean_Parser_symbolFnAux(x_1, x_25, x_3, x_4); -x_27 = lean_ctor_get(x_26, 3); -lean_inc(x_27); -if (lean_obj_tag(x_27) == 0) -{ -lean_object* x_28; -x_28 = l_Lean_Parser_optionalFn(x_2, x_3, x_26); return x_28; } -else -{ -lean_dec(x_27); -lean_dec(x_3); -lean_dec(x_2); -return x_26; -} } } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; uint8_t 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_29 = lean_ctor_get(x_3, 0); -x_30 = lean_ctor_get(x_3, 1); -x_31 = lean_ctor_get(x_3, 2); -x_32 = lean_ctor_get(x_3, 3); -x_33 = lean_ctor_get_uint8(x_3, sizeof(void*)*6); -x_34 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 1); -x_35 = lean_ctor_get(x_3, 5); -lean_inc(x_35); +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_31 = lean_ctor_get(x_6, 0); +x_32 = lean_ctor_get(x_6, 1); +x_33 = lean_ctor_get(x_6, 2); +lean_inc(x_33); lean_inc(x_32); lean_inc(x_31); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_3); -x_36 = lean_ctor_get(x_29, 0); +lean_dec(x_6); +x_34 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_34, 0, x_31); +lean_ctor_set(x_34, 1, x_32); +lean_ctor_set(x_34, 2, x_33); +x_35 = lean_ctor_get(x_7, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_7, 1); lean_inc(x_36); -x_37 = lean_ctor_get(x_29, 1); +x_37 = lean_ctor_get(x_7, 2); lean_inc(x_37); -x_38 = lean_ctor_get(x_29, 2); -lean_inc(x_38); -if (lean_is_exclusive(x_29)) { - lean_ctor_release(x_29, 0); - lean_ctor_release(x_29, 1); - lean_ctor_release(x_29, 2); - x_39 = x_29; +if (lean_is_exclusive(x_7)) { + lean_ctor_release(x_7, 0); + lean_ctor_release(x_7, 1); + lean_ctor_release(x_7, 2); + x_38 = x_7; } else { - lean_dec_ref(x_29); - x_39 = lean_box(0); + lean_dec_ref(x_7); + x_38 = lean_box(0); } -if (lean_is_scalar(x_39)) { - x_40 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_38)) { + x_39 = lean_alloc_ctor(0, 3, 0); } else { - x_40 = x_39; + x_39 = x_38; } -lean_ctor_set(x_40, 0, x_36); -lean_ctor_set(x_40, 1, x_37); -lean_ctor_set(x_40, 2, x_38); -x_41 = lean_ctor_get(x_4, 1); -lean_inc(x_41); -x_42 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_42, 0, x_41); -x_43 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_43, 0, x_40); -lean_ctor_set(x_43, 1, x_30); -lean_ctor_set(x_43, 2, x_31); -lean_ctor_set(x_43, 3, x_32); -lean_ctor_set(x_43, 4, x_42); -lean_ctor_set(x_43, 5, x_35); -lean_ctor_set_uint8(x_43, sizeof(void*)*6, x_33); -lean_ctor_set_uint8(x_43, sizeof(void*)*6 + 1, x_34); -x_44 = l_instReprChar___closed__1; -x_45 = lean_string_append(x_44, x_1); -x_46 = lean_string_append(x_45, x_44); -lean_inc(x_43); -x_47 = l_Lean_Parser_symbolFnAux(x_1, x_46, x_43, x_4); -x_48 = lean_ctor_get(x_47, 3); -lean_inc(x_48); -if (lean_obj_tag(x_48) == 0) +lean_ctor_set(x_39, 0, x_35); +lean_ctor_set(x_39, 1, x_36); +lean_ctor_set(x_39, 2, x_37); +x_40 = lean_ctor_get(x_4, 1); +lean_inc(x_40); +x_41 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_3, 4, x_41); +lean_ctor_set(x_3, 1, x_39); +lean_ctor_set(x_3, 0, x_34); +x_42 = l_instReprChar___closed__1; +x_43 = lean_string_append(x_42, x_1); +x_44 = lean_string_append(x_43, x_42); +lean_inc(x_3); +x_45 = l_Lean_Parser_symbolFnAux(x_1, x_44, x_3, x_4); +x_46 = lean_ctor_get(x_45, 3); +lean_inc(x_46); +if (lean_obj_tag(x_46) == 0) { -lean_object* x_49; -x_49 = l_Lean_Parser_optionalFn(x_2, x_43, x_47); -return x_49; +lean_object* x_47; +x_47 = l_Lean_Parser_optionalFn(x_2, x_3, x_45); +return x_47; } else { -lean_dec(x_48); -lean_dec(x_43); +lean_dec(x_46); +lean_dec(x_3); lean_dec(x_2); -return x_47; +return x_45; +} +} +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; uint8_t 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_48 = lean_ctor_get(x_3, 0); +x_49 = lean_ctor_get(x_3, 1); +x_50 = lean_ctor_get(x_3, 2); +x_51 = lean_ctor_get(x_3, 3); +x_52 = lean_ctor_get_uint8(x_3, sizeof(void*)*6); +x_53 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 1); +x_54 = lean_ctor_get(x_3, 5); +lean_inc(x_54); +lean_inc(x_51); +lean_inc(x_50); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_3); +x_55 = lean_ctor_get(x_48, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_48, 1); +lean_inc(x_56); +x_57 = lean_ctor_get(x_48, 2); +lean_inc(x_57); +if (lean_is_exclusive(x_48)) { + lean_ctor_release(x_48, 0); + lean_ctor_release(x_48, 1); + lean_ctor_release(x_48, 2); + x_58 = x_48; +} else { + lean_dec_ref(x_48); + x_58 = lean_box(0); +} +if (lean_is_scalar(x_58)) { + x_59 = lean_alloc_ctor(0, 3, 0); +} else { + x_59 = x_58; +} +lean_ctor_set(x_59, 0, x_55); +lean_ctor_set(x_59, 1, x_56); +lean_ctor_set(x_59, 2, x_57); +x_60 = lean_ctor_get(x_49, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_49, 1); +lean_inc(x_61); +x_62 = lean_ctor_get(x_49, 2); +lean_inc(x_62); +if (lean_is_exclusive(x_49)) { + lean_ctor_release(x_49, 0); + lean_ctor_release(x_49, 1); + lean_ctor_release(x_49, 2); + x_63 = x_49; +} else { + lean_dec_ref(x_49); + x_63 = lean_box(0); +} +if (lean_is_scalar(x_63)) { + x_64 = lean_alloc_ctor(0, 3, 0); +} else { + x_64 = x_63; +} +lean_ctor_set(x_64, 0, x_60); +lean_ctor_set(x_64, 1, x_61); +lean_ctor_set(x_64, 2, x_62); +x_65 = lean_ctor_get(x_4, 1); +lean_inc(x_65); +x_66 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_66, 0, x_65); +x_67 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_67, 0, x_59); +lean_ctor_set(x_67, 1, x_64); +lean_ctor_set(x_67, 2, x_50); +lean_ctor_set(x_67, 3, x_51); +lean_ctor_set(x_67, 4, x_66); +lean_ctor_set(x_67, 5, x_54); +lean_ctor_set_uint8(x_67, sizeof(void*)*6, x_52); +lean_ctor_set_uint8(x_67, sizeof(void*)*6 + 1, x_53); +x_68 = l_instReprChar___closed__1; +x_69 = lean_string_append(x_68, x_1); +x_70 = lean_string_append(x_69, x_68); +lean_inc(x_67); +x_71 = l_Lean_Parser_symbolFnAux(x_1, x_70, x_67, x_4); +x_72 = lean_ctor_get(x_71, 3); +lean_inc(x_72); +if (lean_obj_tag(x_72) == 0) +{ +lean_object* x_73; +x_73 = l_Lean_Parser_optionalFn(x_2, x_67, x_71); +return x_73; +} +else +{ +lean_dec(x_72); +lean_dec(x_67); +lean_dec(x_2); +return x_71; } } } diff --git a/stage0/stdlib/Lean/Parser/Extension.c b/stage0/stdlib/Lean/Parser/Extension.c index 38657926a2..88ebd6d45c 100644 --- a/stage0/stdlib/Lean/Parser/Extension.c +++ b/stage0/stdlib/Lean/Parser/Extension.c @@ -20,7 +20,6 @@ lean_object* l_Lean_Parser_declareLeadingBuiltinParser___closed__2; lean_object* l_Lean_Parser_builtinTokenTable; extern lean_object* l_Lean_Name_toString___closed__1; lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_updateBuiltinTokens_match__1(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3905____closed__1; lean_object* l_List_map___at_Lean_Parser_addLeadingParser___spec__1(lean_object*); extern lean_object* l_Std_RBTree_toList___rarg___closed__1; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1890____closed__39; @@ -34,7 +33,6 @@ lean_object* l_Lean_Parser_declareLeadingBuiltinParser___closed__1; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1890____closed__11; extern lean_object* l_Lean_Syntax_strLitToAtom___closed__3; lean_object* l_Std_PersistentHashMap_containsAtAux___at_Lean_Parser_isValidSyntaxNodeKind___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3885____closed__1; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Extension_0__Lean_Parser_ParserExtension_addImported___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* l_Lean_Parser_andthenInfo(lean_object*, lean_object*); @@ -42,6 +40,7 @@ lean_object* l_Lean_Parser_leadingIdentAsSymbol___boxed(lean_object*, lean_objec lean_object* l_Lean_Parser_notFollowedByTermToken___closed__1; lean_object* l_Lean_Parser_ParserState_mkError(lean_object*, lean_object*); lean_object* l_Lean_Parser_compileParserDescr_visit_match__3___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_Parser_initFn____x40_Lean_Parser_Extension___hyg_3907____closed__1; lean_object* l_Lean_Parser_mkParserContext(lean_object*, lean_object*); extern lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__10; lean_object* l_Std_PersistentHashMap_insert___at___private_Lean_Parser_Extension_0__Lean_Parser_addParserCategoryCore___spec__4(lean_object*, lean_object*, lean_object*); @@ -64,9 +63,11 @@ uint8_t l_USize_decEq(size_t, size_t); lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_BuiltinParserAttribute_add___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3887____closed__1; lean_object* lean_io_error_to_string(lean_object*); extern lean_object* l___kind_term____x40_Init_Notation___hyg_11713____closed__5; lean_object* l_Lean_getConstInfo___at_Lean_KeyedDeclsAttribute_init___spec__8(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__1; lean_object* l_Lean_Parser_getBinaryAlias___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1890____lambda__3(lean_object*, lean_object*); lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1890____lambda__5(lean_object*, lean_object*); @@ -77,27 +78,26 @@ lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2458____clo lean_object* l_Functor_discard___at_Lean_Parser_ensureBinaryParserAlias___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_registerParserAttributeHook(lean_object*, lean_object*); lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2458____closed__3; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3877____closed__1; lean_object* l_Lean_Parser_lookahead(lean_object*); uint8_t l_Lean_Name_quickLt(lean_object*, lean_object*); lean_object* l_List_foldlM___at_Lean_Parser_addParserTokens___spec__1(lean_object*, lean_object*); extern lean_object* l_Lean_LocalContext_fvarIdToDecl___default___closed__1; extern lean_object* l_Lean_Parser_charLit; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1890____closed__44; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3875____closed__1; lean_object* l_Lean_Parser_mkParserOfConstantAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_mkRef___at_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2399____spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2709____lambda__1(lean_object*); lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_addTokenConfig_match__1(lean_object*); lean_object* l_Lean_Parser_registerBuiltinParserAttribute___closed__1; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3875____closed__2; lean_object* l_Lean_Parser_parserExtension___elambda__1___boxed(lean_object*); lean_object* l_List_forM___at___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_getTokenTable___boxed(lean_object*); lean_object* l_Lean_Parser_notFollowedByCategoryTokenFn_match__1(lean_object*); lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1890____closed__1; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3877____closed__2; extern lean_object* l_Lean_identKind___closed__2; extern lean_object* l_Lean_registerInternalExceptionId___closed__2; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__1; lean_object* l_Lean_Parser_addParser(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_categoryParserFnRef; lean_object* l_Lean_Parser_compileParserDescr_visit_match__1(lean_object*); @@ -208,7 +208,6 @@ lean_object* l_Lean_Parser_optional(lean_object*); lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1890____closed__34; lean_object* l_Lean_Parser_parserExtension___closed__3; lean_object* l_Lean_Parser_parserExtension___elambda__2___boxed(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2458____lambda__2___closed__3; lean_object* l_Lean_Parser_declareTrailingBuiltinParser___closed__1; lean_object* l_Lean_Parser_getUnaryAlias(lean_object*); @@ -229,6 +228,7 @@ lean_object* l_List_eraseDups___at_Lean_ResolveName_resolveGlobalName_loop___spe lean_object* l_Lean_Parser_getParserPriority_match__1(lean_object*); lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1890____closed__38; lean_object* l_Lean_Parser_setCategoryParserFnRef(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1890____closed__21; lean_object* l_Lean_Parser_throwUnknownParserCategory(lean_object*); lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -293,10 +293,10 @@ lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2513_(lean_ lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2399_(lean_object*); lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2458_(lean_object*); lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1756_(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895_(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3885_(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3905_(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3875_(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3907_(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3887_(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897_(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3877_(lean_object*); lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_106_(lean_object*); lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_49_(lean_object*); lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4_(lean_object*); @@ -399,7 +399,6 @@ lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_ParserExtensionAdd lean_object* l_Std_PersistentHashMap_foldlMAux_traverse___at___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Trie_insert_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserOfConstantAux(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__2; lean_object* l_Lean_Parser_getCategory___boxed(lean_object*, lean_object*); lean_object* l_Lean_registerBuiltinAttribute(lean_object*, lean_object*); lean_object* l_IO_ofExcept___at___private_Lean_Parser_Extension_0__Lean_Parser_ParserExtension_addImported___spec__1___boxed(lean_object*, lean_object*); @@ -425,11 +424,13 @@ lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_ad lean_object* l_Lean_Parser_registerAliasCore___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_getTokenTable(lean_object*); lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_mkCategoryAntiquotParserFn(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__2; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1890____closed__15; lean_object* l_Lean_Parser_getParserPriority___closed__2; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1890____closed__18; uint8_t l_Std_PersistentHashMap_containsAtAux___at_Lean_Parser_isValidSyntaxNodeKind___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1890____closed__22; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3887____closed__2; lean_object* l_Lean_Parser_isValidSyntaxNodeKind___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_registerAttributeImplBuilder___closed__2; lean_object* l_Lean_Parser_notFollowedByCategoryTokenFn(lean_object*, lean_object*, lean_object*); @@ -442,6 +443,7 @@ lean_object* l_Lean_Parser_addTrailingParser(lean_object*, lean_object*, lean_ob extern lean_object* l_Lean_registerTagAttribute___lambda__6___closed__2; lean_object* l_Lean_ConstantInfo_type(lean_object*); lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2709____spec__1(lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3907____closed__2; lean_object* l_Lean_Parser_trailingNodeFn(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_addBuiltinLeadingParser(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_updateBuiltinTokens_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -449,7 +451,6 @@ extern lean_object* l_Lean___kind_command____x40_Init_NotationExtra___hyg_918___ lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*); size_t l_USize_land(size_t, size_t); lean_object* l_Lean_Parser_parserExtension___elambda__4___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3885____closed__2; lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_addBuiltinParserCategory(lean_object*, uint8_t, lean_object*); lean_object* l_Std_PersistentHashMap_foldlMAux_traverse___at___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add___spec__6(lean_object*); lean_object* l_Lean_Parser_getUnaryAlias___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -467,7 +468,6 @@ lean_object* l_Lean_Parser_categoryParserFnImpl_match__1___rarg(lean_object*, le lean_object* l_Lean_Parser_sepBy1Fn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2458____lambda__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_getConstAlias___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3905____closed__2; lean_object* l_Lean_Parser_declareLeadingBuiltinParser(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_checkColGeFn(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_ParserExtension_addImported___boxed(lean_object*, lean_object*, lean_object*); @@ -11735,116 +11735,119 @@ return x_3; lean_object* l_Lean_Parser_categoryParserFnImpl(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; lean_object* x_8; lean_object* x_9; lean_object* x_10; +lean_object* 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; x_4 = l_Lean_Parser_categoryParserFnImpl___closed__2; x_5 = lean_name_eq(x_1, x_4); -x_6 = lean_ctor_get(x_2, 2); +x_6 = lean_ctor_get(x_2, 1); lean_inc(x_6); -x_7 = l_Lean_Parser_parserExtension; -x_8 = l_Lean_PersistentEnvExtension_getState___rarg(x_7, x_6); +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); lean_dec(x_6); -x_9 = lean_ctor_get(x_8, 2); -lean_inc(x_9); -lean_dec(x_8); +x_8 = l_Lean_Parser_parserExtension; +x_9 = l_Lean_PersistentEnvExtension_getState___rarg(x_8, x_7); +lean_dec(x_7); +x_10 = lean_ctor_get(x_9, 2); +lean_inc(x_10); +lean_dec(x_9); if (x_5 == 0) { -x_10 = x_1; -goto block_33; +x_11 = x_1; +goto block_34; } else { -lean_object* x_34; +lean_object* x_35; lean_dec(x_1); -x_34 = l___kind_stx____x40_Init_Notation___hyg_12802____closed__2; -x_10 = x_34; -goto block_33; +x_35 = l___kind_stx____x40_Init_Notation___hyg_12802____closed__2; +x_11 = x_35; +goto block_34; } -block_33: +block_34: { -lean_object* x_11; -x_11 = l_Std_PersistentHashMap_find_x3f___at_Lean_Parser_getCategory___spec__1(x_9, x_10); -if (lean_obj_tag(x_11) == 0) +lean_object* x_12; +x_12 = l_Std_PersistentHashMap_find_x3f___at_Lean_Parser_getCategory___spec__1(x_10, x_11); +if (lean_obj_tag(x_12) == 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_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_2); -x_12 = l_Lean_Name_toString___closed__1; -x_13 = l_Lean_Name_toStringWithSep(x_12, x_10); -x_14 = l_Lean_Parser_throwUnknownParserCategory___rarg___closed__1; -x_15 = lean_string_append(x_14, x_13); -lean_dec(x_13); -x_16 = l_instReprChar___closed__1; -x_17 = lean_string_append(x_15, x_16); -x_18 = l_Lean_Parser_ParserState_mkUnexpectedError(x_3, x_17); -return x_18; +x_13 = l_Lean_Name_toString___closed__1; +x_14 = l_Lean_Name_toStringWithSep(x_13, x_11); +x_15 = l_Lean_Parser_throwUnknownParserCategory___rarg___closed__1; +x_16 = lean_string_append(x_15, x_14); +lean_dec(x_14); +x_17 = l_instReprChar___closed__1; +x_18 = lean_string_append(x_16, x_17); +x_19 = l_Lean_Parser_ParserState_mkUnexpectedError(x_3, x_18); +return x_19; } else { -lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_19 = lean_ctor_get(x_11, 0); -lean_inc(x_19); -lean_dec(x_11); -x_20 = lean_ctor_get(x_19, 0); +lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_20 = lean_ctor_get(x_12, 0); lean_inc(x_20); -x_21 = lean_ctor_get_uint8(x_19, sizeof(void*)*1); -lean_dec(x_19); -lean_inc(x_10); -x_22 = lean_alloc_closure((void*)(l___private_Lean_Parser_Extension_0__Lean_Parser_mkCategoryAntiquotParserFn), 3, 1); -lean_closure_set(x_22, 0, x_10); -x_23 = lean_box(x_21); -lean_inc(x_20); -lean_inc(x_10); -x_24 = lean_alloc_closure((void*)(l_Lean_Parser_leadingParserAux___boxed), 5, 3); -lean_closure_set(x_24, 0, x_10); -lean_closure_set(x_24, 1, x_20); -lean_closure_set(x_24, 2, x_23); +lean_dec(x_12); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get_uint8(x_20, sizeof(void*)*1); +lean_dec(x_20); +lean_inc(x_11); +x_23 = lean_alloc_closure((void*)(l___private_Lean_Parser_Extension_0__Lean_Parser_mkCategoryAntiquotParserFn), 3, 1); +lean_closure_set(x_23, 0, x_11); +x_24 = lean_box(x_22); +lean_inc(x_21); +lean_inc(x_11); +x_25 = lean_alloc_closure((void*)(l_Lean_Parser_leadingParserAux___boxed), 5, 3); +lean_closure_set(x_25, 0, x_11); +lean_closure_set(x_25, 1, x_21); +lean_closure_set(x_25, 2, x_24); lean_inc(x_3); lean_inc(x_2); -x_25 = l_Lean_Parser_tryAnti(x_2, x_3); -if (x_25 == 0) +x_26 = l_Lean_Parser_tryAnti(x_2, x_3); +if (x_26 == 0) { -lean_object* x_26; lean_object* x_27; -lean_dec(x_24); -lean_dec(x_22); +lean_object* x_27; lean_object* x_28; +lean_dec(x_25); +lean_dec(x_23); lean_inc(x_2); -lean_inc(x_20); -x_26 = l_Lean_Parser_leadingParserAux(x_10, x_20, x_21, x_2, x_3); -x_27 = lean_ctor_get(x_26, 3); -lean_inc(x_27); -if (lean_obj_tag(x_27) == 0) +lean_inc(x_21); +x_27 = l_Lean_Parser_leadingParserAux(x_11, x_21, x_22, x_2, x_3); +x_28 = lean_ctor_get(x_27, 3); +lean_inc(x_28); +if (lean_obj_tag(x_28) == 0) { -lean_object* x_28; -x_28 = l_Lean_Parser_trailingLoop(x_20, x_2, x_26); -return x_28; +lean_object* x_29; +x_29 = l_Lean_Parser_trailingLoop(x_21, x_2, x_27); +return x_29; } else { -lean_dec(x_27); -lean_dec(x_20); +lean_dec(x_28); +lean_dec(x_21); lean_dec(x_2); -return x_26; +return x_27; } } else { -uint8_t x_29; lean_object* x_30; lean_object* x_31; -lean_dec(x_10); -x_29 = 1; +uint8_t x_30; lean_object* x_31; lean_object* x_32; +lean_dec(x_11); +x_30 = 1; lean_inc(x_2); -x_30 = l_Lean_Parser_orelseFnCore(x_22, x_24, x_29, x_2, x_3); -x_31 = lean_ctor_get(x_30, 3); -lean_inc(x_31); -if (lean_obj_tag(x_31) == 0) +x_31 = l_Lean_Parser_orelseFnCore(x_23, x_25, x_30, x_2, x_3); +x_32 = lean_ctor_get(x_31, 3); +lean_inc(x_32); +if (lean_obj_tag(x_32) == 0) { -lean_object* x_32; -x_32 = l_Lean_Parser_trailingLoop(x_20, x_2, x_30); -return x_32; +lean_object* x_33; +x_33 = l_Lean_Parser_trailingLoop(x_21, x_2, x_31); +return x_33; } else { -lean_dec(x_31); -lean_dec(x_20); +lean_dec(x_32); +lean_dec(x_21); lean_dec(x_2); -return x_30; +return x_31; } } } @@ -12377,21 +12380,24 @@ return x_4; lean_object* l_Lean_Parser_mkParserContext(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; -x_3 = l_Lean_Parser_getTokenTable(x_1); -x_4 = lean_box(0); -x_5 = lean_unsigned_to_nat(0u); -x_6 = 0; -x_7 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_7, 0, x_2); -lean_ctor_set(x_7, 1, x_5); -lean_ctor_set(x_7, 2, x_1); -lean_ctor_set(x_7, 3, x_3); -lean_ctor_set(x_7, 4, x_4); -lean_ctor_set(x_7, 5, x_4); -lean_ctor_set_uint8(x_7, sizeof(void*)*6, x_6); -lean_ctor_set_uint8(x_7, sizeof(void*)*6 + 1, x_6); -return x_7; +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +x_4 = l_Lean_Parser_getTokenTable(x_3); +lean_dec(x_3); +x_5 = lean_box(0); +x_6 = lean_unsigned_to_nat(0u); +x_7 = 0; +x_8 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_8, 0, x_1); +lean_ctor_set(x_8, 1, x_2); +lean_ctor_set(x_8, 2, x_6); +lean_ctor_set(x_8, 3, x_4); +lean_ctor_set(x_8, 4, x_5); +lean_ctor_set(x_8, 5, x_5); +lean_ctor_set_uint8(x_8, sizeof(void*)*6, x_7); +lean_ctor_set_uint8(x_8, sizeof(void*)*6 + 1, x_7); +return x_8; } } lean_object* l_Lean_Parser_mkParserState(lean_object* x_1) { @@ -12422,57 +12428,63 @@ return x_2; lean_object* l_Lean_Parser_runParserCategory(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_5; lean_object* 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_inc(x_3); x_5 = l_Lean_Parser_mkInputContext(x_3, x_4); -x_6 = l_Lean_Parser_mkParserContext(x_1, x_5); -x_7 = l_Lean_Parser_mkParserState(x_3); -x_8 = l_Lean_Parser_whitespace(x_6, x_7); -lean_inc(x_6); -x_9 = l_Lean_Parser_categoryParserFnImpl(x_2, x_6, x_8); -x_10 = lean_ctor_get(x_9, 3); -lean_inc(x_10); -if (lean_obj_tag(x_10) == 0) +x_6 = lean_box(0); +x_7 = lean_box(0); +x_8 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_8, 0, x_1); +lean_ctor_set(x_8, 1, x_7); +lean_ctor_set(x_8, 2, x_6); +x_9 = l_Lean_Parser_mkParserContext(x_5, x_8); +x_10 = l_Lean_Parser_mkParserState(x_3); +x_11 = l_Lean_Parser_whitespace(x_9, x_10); +lean_inc(x_9); +x_12 = l_Lean_Parser_categoryParserFnImpl(x_2, x_9, x_11); +x_13 = lean_ctor_get(x_12, 3); +lean_inc(x_13); +if (lean_obj_tag(x_13) == 0) { -lean_object* x_11; uint8_t x_12; -x_11 = lean_ctor_get(x_9, 1); -lean_inc(x_11); -x_12 = lean_string_utf8_at_end(x_3, x_11); -lean_dec(x_11); +lean_object* x_14; uint8_t x_15; +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +x_15 = lean_string_utf8_at_end(x_3, x_14); +lean_dec(x_14); lean_dec(x_3); -if (x_12 == 0) +if (x_15 == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_13 = l_Lean_Parser_ParserState_mkEOIError___closed__1; -x_14 = l_Lean_Parser_ParserState_mkError(x_9, x_13); -x_15 = l_Lean_Parser_ParserState_toErrorMsg(x_6, x_14); -x_16 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_16, 0, x_15); -return x_16; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; -lean_dec(x_6); -x_17 = lean_ctor_get(x_9, 0); -lean_inc(x_17); -lean_dec(x_9); -x_18 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_17); -lean_dec(x_17); -x_19 = lean_alloc_ctor(1, 1, 0); +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = l_Lean_Parser_ParserState_mkEOIError___closed__1; +x_17 = l_Lean_Parser_ParserState_mkError(x_12, x_16); +x_18 = l_Lean_Parser_ParserState_toErrorMsg(x_9, x_17); +x_19 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_19, 0, x_18); return x_19; } +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +lean_dec(x_9); +x_20 = lean_ctor_get(x_12, 0); +lean_inc(x_20); +lean_dec(x_12); +x_21 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_20); +lean_dec(x_20); +x_22 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_22, 0, x_21); +return x_22; +} } else { -lean_object* x_20; lean_object* x_21; -lean_dec(x_10); +lean_object* x_23; lean_object* x_24; +lean_dec(x_13); lean_dec(x_3); -x_20 = l_Lean_Parser_ParserState_toErrorMsg(x_6, x_9); -x_21 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_21, 0, x_20); -return x_21; +x_23 = l_Lean_Parser_ParserState_toErrorMsg(x_9, x_12); +x_24 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_24, 0, x_23); +return x_24; } } } @@ -15861,7 +15873,7 @@ x_7 = l_Lean_Parser_registerParserCategory(x_1, x_2, x_3, x_6, x_5); return x_7; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3875____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3877____closed__1() { _start: { lean_object* x_1; @@ -15869,28 +15881,28 @@ x_1 = lean_mk_string("builtinTermParser"); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3875____closed__2() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3877____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3875____closed__1; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3877____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3875_(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3877_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3875____closed__2; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3877____closed__2; x_3 = l___kind_term____x40_Init_Notation___hyg_19____closed__14; x_4 = 0; x_5 = l_Lean_Parser_registerBuiltinParserAttribute(x_2, x_3, x_4, x_1); return x_5; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3885____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3887____closed__1() { _start: { lean_object* x_1; @@ -15898,27 +15910,27 @@ x_1 = lean_mk_string("termParser"); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3885____closed__2() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3887____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3885____closed__1; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3887____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3885_(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3887_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3885____closed__2; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3887____closed__2; x_3 = l___kind_term____x40_Init_Notation___hyg_19____closed__14; x_4 = l_Lean_Parser_registerBuiltinDynamicParserAttribute(x_2, x_3, x_1); return x_4; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__1() { _start: { lean_object* x_1; @@ -15926,17 +15938,17 @@ x_1 = lean_mk_string("builtinCommandParser"); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__2() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__1; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -15946,18 +15958,18 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895_(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__2; -x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__2; +x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_4 = 0; x_5 = l_Lean_Parser_registerBuiltinParserAttribute(x_2, x_3, x_4, x_1); return x_5; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3905____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3907____closed__1() { _start: { lean_object* x_1; @@ -15965,22 +15977,22 @@ x_1 = lean_mk_string("commandParser"); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3905____closed__2() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3907____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3905____closed__1; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3907____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3905_(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3907_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3905____closed__2; -x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3907____closed__2; +x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_4 = l_Lean_Parser_registerBuiltinDynamicParserAttribute(x_2, x_3, x_1); return x_4; } @@ -15989,7 +16001,7 @@ lean_object* l_Lean_Parser_commandParser(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_3 = l_Lean_Parser_categoryParser(x_2, x_1); return x_3; } @@ -16169,157 +16181,160 @@ goto _start; lean_object* l_Lean_Parser_notFollowedByCategoryTokenFn(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_4 = lean_ctor_get(x_2, 2); +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_4 = lean_ctor_get(x_2, 1); lean_inc(x_4); -x_5 = l_Lean_Parser_parserExtension; -x_6 = l_Lean_PersistentEnvExtension_getState___rarg(x_5, x_4); +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); lean_dec(x_4); -x_7 = lean_ctor_get(x_6, 2); -lean_inc(x_7); -lean_dec(x_6); -x_8 = l_Std_PersistentHashMap_find_x3f___at_Lean_Parser_getCategory___spec__1(x_7, x_1); -if (lean_obj_tag(x_8) == 0) +x_6 = l_Lean_Parser_parserExtension; +x_7 = l_Lean_PersistentEnvExtension_getState___rarg(x_6, x_5); +lean_dec(x_5); +x_8 = lean_ctor_get(x_7, 2); +lean_inc(x_8); +lean_dec(x_7); +x_9 = l_Std_PersistentHashMap_find_x3f___at_Lean_Parser_getCategory___spec__1(x_8, x_1); +if (lean_obj_tag(x_9) == 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_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_dec(x_2); -x_9 = l_Lean_Name_toString___closed__1; -x_10 = l_Lean_Name_toStringWithSep(x_9, x_1); -x_11 = l_Lean_Parser_throwUnknownParserCategory___rarg___closed__1; -x_12 = lean_string_append(x_11, x_10); -lean_dec(x_10); -x_13 = l_instReprChar___closed__1; -x_14 = lean_string_append(x_12, x_13); -x_15 = l_Lean_Parser_ParserState_mkUnexpectedError(x_3, x_14); -return x_15; +x_10 = l_Lean_Name_toString___closed__1; +x_11 = l_Lean_Name_toStringWithSep(x_10, x_1); +x_12 = l_Lean_Parser_throwUnknownParserCategory___rarg___closed__1; +x_13 = lean_string_append(x_12, x_11); +lean_dec(x_11); +x_14 = l_instReprChar___closed__1; +x_15 = lean_string_append(x_13, x_14); +x_16 = l_Lean_Parser_ParserState_mkUnexpectedError(x_3, x_15); +return x_16; } else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_8, 0); -lean_inc(x_16); -lean_dec(x_8); +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_9, 0); +lean_inc(x_17); +lean_dec(x_9); lean_inc(x_2); -x_17 = l_Lean_Parser_peekToken(x_2, x_3); -x_18 = lean_ctor_get(x_17, 1); -lean_inc(x_18); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; -lean_dec(x_16); -lean_dec(x_2); -lean_dec(x_1); -x_19 = lean_ctor_get(x_17, 0); +x_18 = l_Lean_Parser_peekToken(x_2, x_3); +x_19 = lean_ctor_get(x_18, 1); lean_inc(x_19); -lean_dec(x_17); -return x_19; -} -else +if (lean_obj_tag(x_19) == 0) { lean_object* x_20; +lean_dec(x_17); +lean_dec(x_2); +lean_dec(x_1); x_20 = lean_ctor_get(x_18, 0); lean_inc(x_20); lean_dec(x_18); -if (lean_obj_tag(x_20) == 2) +return x_20; +} +else { -uint8_t x_21; -x_21 = lean_ctor_get_uint8(x_2, sizeof(void*)*6); +lean_object* x_21; +x_21 = lean_ctor_get(x_19, 0); +lean_inc(x_21); +lean_dec(x_19); +if (lean_obj_tag(x_21) == 2) +{ +uint8_t x_22; +x_22 = lean_ctor_get_uint8(x_2, sizeof(void*)*6); lean_dec(x_2); -if (x_21 == 0) +if (x_22 == 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_17, 0); -lean_inc(x_22); -lean_dec(x_17); -x_23 = lean_ctor_get(x_20, 1); +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_18, 0); lean_inc(x_23); -lean_dec(x_20); -x_24 = lean_ctor_get(x_16, 0); +lean_dec(x_18); +x_24 = lean_ctor_get(x_21, 1); lean_inc(x_24); -lean_dec(x_16); -x_25 = lean_ctor_get(x_24, 0); +lean_dec(x_21); +x_25 = lean_ctor_get(x_17, 0); lean_inc(x_25); -lean_dec(x_24); -x_26 = lean_box(0); -x_27 = lean_name_mk_string(x_26, x_23); -x_28 = l_Std_RBNode_find___at_Lean_Parser_notFollowedByCategoryTokenFn___spec__1(x_25, x_27); -lean_dec(x_27); -lean_dec(x_25); -if (lean_obj_tag(x_28) == 0) -{ -lean_dec(x_1); -return x_22; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -lean_dec(x_28); -x_29 = l_Lean_Name_toString___closed__1; -x_30 = l_Lean_Name_toStringWithSep(x_29, x_1); -x_31 = l_Lean_Parser_ParserState_mkUnexpectedError(x_22, x_30); -return x_31; -} -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; -x_32 = lean_ctor_get(x_17, 0); -lean_inc(x_32); lean_dec(x_17); -x_33 = lean_ctor_get(x_20, 1); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +lean_dec(x_25); +x_27 = lean_box(0); +x_28 = lean_name_mk_string(x_27, x_24); +x_29 = l_Std_RBNode_find___at_Lean_Parser_notFollowedByCategoryTokenFn___spec__1(x_26, x_28); +lean_dec(x_28); +lean_dec(x_26); +if (lean_obj_tag(x_29) == 0) +{ +lean_dec(x_1); +return x_23; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +lean_dec(x_29); +x_30 = l_Lean_Name_toString___closed__1; +x_31 = l_Lean_Name_toStringWithSep(x_30, x_1); +x_32 = l_Lean_Parser_ParserState_mkUnexpectedError(x_23, x_31); +return x_32; +} +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; +x_33 = lean_ctor_get(x_18, 0); lean_inc(x_33); -lean_dec(x_20); -x_34 = l___kind_term____x40_Init_Notation___hyg_12477____closed__2; -x_35 = lean_string_dec_eq(x_33, x_34); -if (x_35 == 0) +lean_dec(x_18); +x_34 = lean_ctor_get(x_21, 1); +lean_inc(x_34); +lean_dec(x_21); +x_35 = l___kind_term____x40_Init_Notation___hyg_12477____closed__2; +x_36 = lean_string_dec_eq(x_34, x_35); +if (x_36 == 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_16, 0); -lean_inc(x_36); -lean_dec(x_16); -x_37 = lean_ctor_get(x_36, 0); +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_17, 0); lean_inc(x_37); -lean_dec(x_36); -x_38 = lean_box(0); -x_39 = lean_name_mk_string(x_38, x_33); -x_40 = l_Std_RBNode_find___at_Lean_Parser_notFollowedByCategoryTokenFn___spec__1(x_37, x_39); -lean_dec(x_39); +lean_dec(x_17); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); lean_dec(x_37); -if (lean_obj_tag(x_40) == 0) -{ -lean_dec(x_1); -return x_32; -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_39 = lean_box(0); +x_40 = lean_name_mk_string(x_39, x_34); +x_41 = l_Std_RBNode_find___at_Lean_Parser_notFollowedByCategoryTokenFn___spec__1(x_38, x_40); lean_dec(x_40); -x_41 = l_Lean_Name_toString___closed__1; -x_42 = l_Lean_Name_toStringWithSep(x_41, x_1); -x_43 = l_Lean_Parser_ParserState_mkUnexpectedError(x_32, x_42); -return x_43; -} -} -else +lean_dec(x_38); +if (lean_obj_tag(x_41) == 0) { -lean_dec(x_33); -lean_dec(x_16); lean_dec(x_1); -return x_32; +return x_33; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +lean_dec(x_41); +x_42 = l_Lean_Name_toString___closed__1; +x_43 = l_Lean_Name_toStringWithSep(x_42, x_1); +x_44 = l_Lean_Parser_ParserState_mkUnexpectedError(x_33, x_43); +return x_44; +} +} +else +{ +lean_dec(x_34); +lean_dec(x_17); +lean_dec(x_1); +return x_33; } } } else { -lean_object* x_44; -lean_dec(x_20); -lean_dec(x_16); +lean_object* x_45; +lean_dec(x_21); +lean_dec(x_17); lean_dec(x_2); lean_dec(x_1); -x_44 = lean_ctor_get(x_17, 0); -lean_inc(x_44); -lean_dec(x_17); -return x_44; +x_45 = lean_ctor_get(x_18, 0); +lean_inc(x_45); +lean_dec(x_18); +return x_45; } } } @@ -16352,7 +16367,7 @@ static lean_object* _init_l_Lean_Parser_notFollowedByCommandToken___closed__1() _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_notFollowedByCategoryTokenFn), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -16771,34 +16786,34 @@ lean_mark_persistent(l___private_Lean_Parser_Extension_0__Lean_Parser_registerPa res = l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3875____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3875____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3875____closed__1); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3875____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3875____closed__2(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3875____closed__2); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3875_(lean_io_mk_world()); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3877____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3877____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3877____closed__1); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3877____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3877____closed__2(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3877____closed__2); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3877_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3885____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3885____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3885____closed__1); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3885____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3885____closed__2(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3885____closed__2); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3885_(lean_io_mk_world()); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3887____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3887____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3887____closed__1); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3887____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3887____closed__2(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3887____closed__2); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3887_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__1); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__2(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__2); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895_(lean_io_mk_world()); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__1); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__2(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__2); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3905____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3905____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3905____closed__1); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3905____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3905____closed__2(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3905____closed__2); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3905_(lean_io_mk_world()); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3907____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3907____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3907____closed__1); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3907____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3907____closed__2(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3907____closed__2); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3907_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Parser_notFollowedByCommandToken___closed__1 = _init_l_Lean_Parser_notFollowedByCommandToken___closed__1(); diff --git a/stage0/stdlib/Lean/Parser/Extra.c b/stage0/stdlib/Lean/Parser/Extra.c index fe98e310b3..21cf90a2cc 100644 --- a/stage0/stdlib/Lean/Parser/Extra.c +++ b/stage0/stdlib/Lean/Parser/Extra.c @@ -16,7 +16,6 @@ extern "C" { lean_object* l_Lean_Parser___kind_term____x40_Lean_Parser_Extra___hyg_147____closed__11; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_587____closed__49; lean_object* l_Lean_Parser_mkAntiquot_formatter___closed__2; -extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__14; lean_object* l_Lean_PrettyPrinter_Formatter_indent___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_many1Indent_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_587____closed__18; @@ -40,7 +39,7 @@ lean_object* l_Lean_Parser_notFollowedByFn___boxed(lean_object*, lean_object*, l extern lean_object* l_Lean_identKind___closed__1; lean_object* lean_name_mk_string(lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_54____closed__3; -extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__34; +extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__34; lean_object* l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ppSpace_parenthesizer___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_many_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -53,16 +52,17 @@ lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__19; extern lean_object* l_Lean_Parser_numLit___elambda__1___closed__1; lean_object* l_Lean_PrettyPrinter_Formatter_indent(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__3; lean_object* l_Lean_Parser_ident_formatter___closed__1; lean_object* l_Lean_PrettyPrinter_Formatter_atomic_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_group_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_197____closed__2; lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_197____closed__21; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_587____closed__47; +extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__14; lean_object* l_Lean_ppSpace_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_empty___closed__1; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_587____closed__30; -extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__19; lean_object* l_Lean_PrettyPrinter_Formatter_orelse_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_group(lean_object*); lean_object* l_Lean_Parser___kind_term____x40_Lean_Parser_Extra___hyg_147____closed__4; @@ -79,6 +79,7 @@ lean_object* l_Lean_PrettyPrinter_Formatter_pushLine(lean_object*, lean_object*, lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__15; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_587____closed__5; +extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__34; lean_object* l_Lean_Parser_strLit_formatter___closed__1; lean_object* l_Lean_Parser___kind_term____x40_Lean_Parser_Extra___hyg_147____closed__1; lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__18; @@ -108,29 +109,31 @@ lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_197____closed_ lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Lean_Parser_mkAntiquot_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_leadingNode_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__3; +extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__7; lean_object* l_Lean_Parser_nodeWithAntiquot_parenthesizer___boxed(lean_object*); lean_object* l_Lean_Parser_mkAntiquot_formatter___closed__4; lean_object* l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ppLine; +extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__19; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_587____closed__7; lean_object* l_Lean_Parser_leadingNode_formatter___closed__1; lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_197____closed__27; lean_object* l_Lean_Parser_antiquotNestedExpr_formatter___closed__3; lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_197____closed__11; extern lean_object* l_myMacro____x40_Init_Notation___hyg_11163____closed__9; +extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__39; lean_object* l_Lean_PrettyPrinter_Parenthesizer_atomic_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_mkAntiquot___closed__3; extern lean_object* l___kind_term____x40_Init_Notation___hyg_11096____closed__4; lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_197____closed__31; lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__6; lean_object* l_Lean_PrettyPrinter_Formatter_optional_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_197____closed__35; extern lean_object* l_Lean_Parser_Tactic_letrec___closed__4; lean_object* l_Lean_Parser_registerAliasCore___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_587____closed__41; lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_197____closed__36; +extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_587____closed__46; lean_object* l_Lean_ppIndent_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_setExpected_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -142,7 +145,6 @@ lean_object* l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__2; extern lean_object* l___kind_term____x40_Init_Notation___hyg_19____closed__1; lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__21; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_587____closed__35; -extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__39; extern lean_object* l___kind_term____x40_Init_Notation___hyg_19____closed__14; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_587____closed__13; lean_object* l_Lean_Parser_ppSpace_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); @@ -152,7 +154,6 @@ lean_object* l_Lean_Parser_ppHardSpace_parenthesizer___boxed(lean_object*, lean_ extern lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__4; extern lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___closed__4; lean_object* l_Lean_PrettyPrinter_Formatter_setExpected_formatter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__29; lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__23; lean_object* l_Lean_Parser_nodeInfo(lean_object*, lean_object*); lean_object* l_Lean_Parser_symbolFn___boxed(lean_object*, lean_object*, lean_object*); @@ -166,7 +167,6 @@ lean_object* l_Lean_Parser_scientificLit_formatter(lean_object*, lean_object*, l lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__22; lean_object* l_Lean_Parser___kind_term____x40_Lean_Parser_Extra___hyg_147____closed__12; lean_object* l_Lean_Parser_strLit_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__14; lean_object* l_Lean_PrettyPrinter_Formatter_checkPrec_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_587____closed__21; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_587____closed__38; @@ -177,6 +177,7 @@ lean_object* l_Lean_Parser_numLit_formatter___closed__1; lean_object* l_Lean_Parser_notSymbol_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_587____closed__2; extern lean_object* l_myMacro____x40_Init_Notation___hyg_13596____closed__9; +extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__24; lean_object* l_Lean_Parser_ppHardSpace_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_587____closed__4; extern lean_object* l_Lean_numLitKind___closed__1; @@ -184,8 +185,8 @@ lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__20; extern lean_object* l_Lean_strLitKind___closed__1; lean_object* l_Lean_PrettyPrinter_Formatter_toggleInsideQuot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_node_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__39; lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_197____closed__26; -extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__29; lean_object* l_Lean_Parser_mkAntiquot_formatter___closed__6; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_587____closed__44; lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__16; @@ -214,10 +215,8 @@ extern lean_object* l_Lean_Parser_strLit___elambda__1___closed__1; lean_object* l_Lean_PrettyPrinter_Formatter_symbol_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_many1Indent_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_nodeWithAntiquot_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__7; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_587____closed__6; lean_object* l_Lean_Parser___kind_term____x40_Lean_Parser_Extra___hyg_147____closed__15; -extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__24; lean_object* l_Lean_Parser___kind_term____x40_Lean_Parser_Extra___hyg_147____closed__14; lean_object* l_Lean_Parser_ppLine_parenthesizer___rarg(lean_object*); lean_object* l_Lean_Parser_mkAntiquot_formatter___closed__10; @@ -235,7 +234,6 @@ lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_587____closed__ lean_object* l_Lean_Parser___kind_term____x40_Lean_Parser_Extra___hyg_147____closed__7; lean_object* l_Lean_Parser_ppIndent___boxed(lean_object*); lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__3; -extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__39; extern lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___closed__6; lean_object* l_Lean_Parser_antiquotNestedExpr_formatter___closed__1; lean_object* l_Lean_Parser_mkAntiquot_formatter___closed__11; @@ -259,7 +257,6 @@ lean_object* l_Lean_Parser_antiquotNestedExpr_formatter___closed__2; lean_object* l_Lean_Parser___kind_term____x40_Lean_Parser_Extra___hyg_147_; lean_object* l_Lean_Parser_termParser_formatter(lean_object*); lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___boxed(lean_object*); -extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__19; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_587____closed__32; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_587____closed__10; lean_object* l_Lean_Parser_ppLine_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -268,8 +265,10 @@ lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_587____closed__ lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__10; lean_object* l_Lean_Parser_nodeWithAntiquot_parenthesizer___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_ident___elambda__1___closed__1; +extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__19; lean_object* l_Lean_Parser_checkColGeFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ppGroup_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__29; lean_object* l_Lean_PrettyPrinter_Parenthesizer_nonReservedSymbol_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_commandParser_formatter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_197____closed__7; @@ -279,7 +278,6 @@ lean_object* l_Lean_Parser_charLit_formatter___closed__1; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_587____closed__11; lean_object* l_Lean_Parser_ppDedent___boxed(lean_object*); lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__11; -extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__3; lean_object* l_Lean_PrettyPrinter_Formatter_push(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser___kind_term____x40_Lean_Parser_Extra___hyg_147____closed__10; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_587_(lean_object*); @@ -307,6 +305,7 @@ lean_object* l_Lean_Parser_charLit_parenthesizer(lean_object*, lean_object*, lea lean_object* l_Lean_Parser_many1Indent___lambda__1___closed__1; extern lean_object* l_Int_instInhabitedInt___closed__1; lean_object* l_Lean_Parser_notSymbol_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__3; lean_object* l_Lean_Format_getIndent(lean_object*); lean_object* l_Lean_Parser___kind_term____x40_Lean_Parser_Extra___hyg_147____closed__13; lean_object* l_Lean_ppLine_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -318,9 +317,11 @@ lean_object* l_Lean_PrettyPrinter_Formatter_pushNone_formatter___boxed(lean_obje extern lean_object* l_Lean_Name_hasMacroScopes___closed__1; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_587____closed__12; lean_object* l_Lean_Parser_notSymbol_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__14; lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_197____closed__22; lean_object* l_Lean_Parser_leadingNode_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_nameLit_formatter___closed__1; +extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__24; lean_object* l_Lean_Parser_antiquotExpr_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_197____closed__28; lean_object* l_Lean_Parser_ident_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -335,15 +336,16 @@ extern lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___closed__7; lean_object* l_Lean_ppSpace_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_String_trim(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_optional_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__34; lean_object* l_Lean_Parser_nodeFn(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_nameLit_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__7; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_197____closed__8; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_587____closed__37; lean_object* l_Lean_Parser_scientificLit_formatter___closed__1; extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_parenthesizerAliasesRef; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_587____closed__42; +extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__29; lean_object* l_Lean_ppLine_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_int_sub(lean_object*, lean_object*); lean_object* l_Lean_ppLine_formatter___closed__1; @@ -358,12 +360,10 @@ lean_object* l_Lean_Parser_antiquotNestedExpr_formatter___closed__4; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_587____closed__33; lean_object* l_Lean_Parser_ident_parenthesizer___closed__1; lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_197____closed__18; -extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__7; lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_197____closed__6; lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__1; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_587____closed__20; lean_object* l_Lean_Parser_mkAntiquot_formatter___closed__12; -extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__24; lean_object* l_Lean_PrettyPrinter_Parenthesizer_many1_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__2; lean_object* l_Lean_Parser_notSymbol_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -474,7 +474,7 @@ lean_object* l_Lean_Parser_commandParser_formatter___rarg(lean_object* x_1, lean _start: { lean_object* x_6; lean_object* x_7; -x_6 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_6 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_7 = l_Lean_PrettyPrinter_Formatter_categoryParser_formatter(x_6, x_1, x_2, x_3, x_4, x_5); return x_7; } @@ -500,7 +500,7 @@ lean_object* l_Lean_Parser_commandParser_parenthesizer(lean_object* x_1, lean_ob _start: { lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_7 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_8 = l_Lean_PrettyPrinter_Parenthesizer_categoryParser_parenthesizer(x_7, x_1, x_2, x_3, x_4, x_5, x_6); return x_8; } @@ -651,7 +651,7 @@ lean_object* l_Lean_Parser_antiquotExpr_formatter(lean_object* x_1, lean_object* _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__34; +x_6 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__34; x_7 = l_Lean_Parser_antiquotExpr_formatter___closed__1; 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; @@ -669,7 +669,7 @@ lean_object* l_Lean_Parser_antiquotExpr_parenthesizer(lean_object* x_1, lean_obj _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__34; +x_6 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__34; x_7 = l_Lean_Parser_antiquotExpr_parenthesizer___closed__1; 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; @@ -699,7 +699,7 @@ static lean_object* _init_l_Lean_Parser_mkAntiquot_formatter___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__3; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__3; x_2 = l_Lean_Parser_mkAntiquot_formatter___closed__1; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -731,7 +731,7 @@ static lean_object* _init_l_Lean_Parser_mkAntiquot_formatter___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__3; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__3; x_2 = l_Lean_Parser_mkAntiquot_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); @@ -830,7 +830,7 @@ x_13 = l_Lean_Parser_mkAntiquot_formatter___closed__8; x_14 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_14, 0, x_13); lean_closure_set(x_14, 1, x_12); -x_15 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__3; +x_15 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__3; x_16 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_16, 0, x_15); lean_closure_set(x_16, 1, x_14); @@ -872,7 +872,7 @@ x_32 = l_Lean_Parser_mkAntiquot_formatter___closed__8; x_33 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_33, 0, x_32); lean_closure_set(x_33, 1, x_31); -x_34 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__3; +x_34 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__3; x_35 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_35, 0, x_34); lean_closure_set(x_35, 1, x_33); @@ -936,7 +936,7 @@ static lean_object* _init_l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__3; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__3; x_2 = l_Lean_Parser_antiquotNestedExpr_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); @@ -988,7 +988,7 @@ static lean_object* _init_l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__3; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__3; x_2 = l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__6; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -1044,7 +1044,7 @@ static lean_object* _init_l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__3; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__3; x_2 = l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__11; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -1154,7 +1154,7 @@ static lean_object* _init_l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__3; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__3; x_2 = l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__21; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -1362,7 +1362,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_ident_formatter___closed__1; -x_7 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__34; +x_7 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__34; 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; } @@ -1385,7 +1385,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_ident_parenthesizer___closed__1; -x_7 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__34; +x_7 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__34; 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; } @@ -1410,7 +1410,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_numLit_formatter___closed__1; -x_7 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__7; +x_7 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____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; } @@ -1433,7 +1433,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_numLit_parenthesizer___closed__1; -x_7 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__7; +x_7 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____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; } @@ -1458,7 +1458,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_scientificLit_formatter___closed__1; -x_7 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__14; +x_7 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____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; } @@ -1481,7 +1481,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_scientificLit_parenthesizer___closed__1; -x_7 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__14; +x_7 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____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; } @@ -1506,7 +1506,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_charLit_formatter___closed__1; -x_7 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__24; +x_7 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__24; 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; } @@ -1529,7 +1529,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_charLit_parenthesizer___closed__1; -x_7 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__24; +x_7 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__24; 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; } @@ -1554,7 +1554,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_strLit_formatter___closed__1; -x_7 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__19; +x_7 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__19; 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; } @@ -1577,7 +1577,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_strLit_parenthesizer___closed__1; -x_7 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__19; +x_7 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__19; 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; } @@ -1602,7 +1602,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_nameLit_formatter___closed__1; -x_7 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__29; +x_7 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__29; 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; } @@ -1625,7 +1625,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_nameLit_parenthesizer___closed__1; -x_7 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__29; +x_7 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__29; 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; } @@ -1672,7 +1672,7 @@ lean_object* l_Lean_Parser_many1Indent_formatter(lean_object* x_1, lean_object* _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__39; +x_7 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__39; x_8 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_8, 0, x_7); lean_closure_set(x_8, 1, x_1); @@ -1684,7 +1684,7 @@ lean_object* l_Lean_Parser_many1Indent_parenthesizer(lean_object* x_1, lean_obje _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_7 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__39; +x_7 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__39; x_8 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_8, 0, x_7); lean_closure_set(x_8, 1, x_1); @@ -1709,297 +1709,438 @@ uint8_t x_5; x_5 = !lean_is_exclusive(x_3); if (x_5 == 0) { -lean_object* x_6; lean_object* x_7; uint8_t x_8; +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_3, 4); -lean_dec(x_7); -x_8 = !lean_is_exclusive(x_6); -if (x_8 == 0) +x_7 = lean_ctor_get(x_3, 1); +x_8 = lean_ctor_get(x_3, 4); +lean_dec(x_8); +x_9 = !lean_is_exclusive(x_6); +if (x_9 == 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; uint8_t x_16; -x_9 = lean_ctor_get(x_6, 2); -lean_inc(x_9); -x_10 = lean_ctor_get(x_4, 1); +lean_object* x_10; uint8_t x_11; +x_10 = lean_ctor_get(x_6, 2); lean_inc(x_10); -lean_inc(x_10); -x_11 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_3, 4, x_11); -x_12 = lean_ctor_get(x_4, 0); +x_11 = !lean_is_exclusive(x_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; uint8_t x_18; +x_12 = lean_ctor_get(x_4, 1); lean_inc(x_12); -x_13 = lean_array_get_size(x_12); -lean_dec(x_12); -x_14 = l_Lean_FileMap_toPosition(x_9, x_10); -lean_dec(x_9); -x_15 = lean_ctor_get(x_14, 1); -lean_inc(x_15); +lean_inc(x_12); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_3, 4, x_13); +x_14 = lean_ctor_get(x_4, 0); +lean_inc(x_14); +x_15 = lean_array_get_size(x_14); lean_dec(x_14); -x_16 = lean_nat_dec_le(x_15, x_15); -lean_dec(x_15); -if (x_16 == 0) +x_16 = l_Lean_FileMap_toPosition(x_10, x_12); +lean_dec(x_10); +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +lean_dec(x_16); +x_18 = lean_nat_dec_le(x_17, x_17); +lean_dec(x_17); +if (x_18 == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_17 = l_Lean_Parser_many1Indent___lambda__1___closed__1; -x_18 = l_Lean_Parser_ParserState_mkError(x_4, x_17); -x_19 = l_Lean_nullKind; -x_20 = l_Lean_Parser_ParserState_mkNode(x_18, x_19, x_13); -return x_20; +x_19 = l_Lean_Parser_many1Indent___lambda__1___closed__1; +x_20 = l_Lean_Parser_ParserState_mkError(x_4, x_19); +x_21 = l_Lean_nullKind; +x_22 = l_Lean_Parser_ParserState_mkNode(x_20, x_21, x_15); +return x_22; } else { -lean_object* x_21; -x_21 = lean_ctor_get(x_4, 3); -lean_inc(x_21); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; lean_object* x_23; -lean_inc(x_3); -x_22 = lean_apply_2(x_1, x_3, x_4); -x_23 = lean_ctor_get(x_22, 3); +lean_object* x_23; +x_23 = lean_ctor_get(x_4, 3); lean_inc(x_23); if (lean_obj_tag(x_23) == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = l_Lean_Parser_manyAux(x_2, x_3, x_22); -x_25 = l_Lean_nullKind; -x_26 = l_Lean_Parser_ParserState_mkNode(x_24, x_25, x_13); -return x_26; -} -else +lean_object* x_24; lean_object* x_25; +lean_inc(x_3); +x_24 = lean_apply_2(x_1, x_3, x_4); +x_25 = lean_ctor_get(x_24, 3); +lean_inc(x_25); +if (lean_obj_tag(x_25) == 0) { -lean_object* x_27; lean_object* x_28; -lean_dec(x_23); -lean_dec(x_3); -lean_dec(x_2); +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = l_Lean_Parser_manyAux(x_2, x_3, x_24); x_27 = l_Lean_nullKind; -x_28 = l_Lean_Parser_ParserState_mkNode(x_22, x_27, x_13); +x_28 = l_Lean_Parser_ParserState_mkNode(x_26, x_27, x_15); return x_28; } -} else { lean_object* x_29; lean_object* x_30; -lean_dec(x_21); +lean_dec(x_25); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_29 = l_Lean_nullKind; -x_30 = l_Lean_Parser_ParserState_mkNode(x_4, x_29, x_13); +x_30 = l_Lean_Parser_ParserState_mkNode(x_24, x_29, x_15); return x_30; } } -} 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; uint8_t x_41; -x_31 = lean_ctor_get(x_6, 0); -x_32 = lean_ctor_get(x_6, 1); -x_33 = lean_ctor_get(x_6, 2); -lean_inc(x_33); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_6); -lean_inc(x_33); -x_34 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_34, 0, x_31); -lean_ctor_set(x_34, 1, x_32); -lean_ctor_set(x_34, 2, x_33); -x_35 = lean_ctor_get(x_4, 1); -lean_inc(x_35); -lean_inc(x_35); -x_36 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_3, 4, x_36); -lean_ctor_set(x_3, 0, x_34); -x_37 = lean_ctor_get(x_4, 0); -lean_inc(x_37); -x_38 = lean_array_get_size(x_37); -lean_dec(x_37); -x_39 = l_Lean_FileMap_toPosition(x_33, x_35); -lean_dec(x_33); -x_40 = lean_ctor_get(x_39, 1); -lean_inc(x_40); -lean_dec(x_39); -x_41 = lean_nat_dec_le(x_40, 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_31; lean_object* x_32; +lean_dec(x_23); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_42 = l_Lean_Parser_many1Indent___lambda__1___closed__1; -x_43 = l_Lean_Parser_ParserState_mkError(x_4, x_42); -x_44 = l_Lean_nullKind; -x_45 = l_Lean_Parser_ParserState_mkNode(x_43, x_44, x_38); -return x_45; +x_31 = l_Lean_nullKind; +x_32 = l_Lean_Parser_ParserState_mkNode(x_4, x_31, x_15); +return x_32; +} +} } else { -lean_object* x_46; -x_46 = lean_ctor_get(x_4, 3); -lean_inc(x_46); -if (lean_obj_tag(x_46) == 0) +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_33 = lean_ctor_get(x_7, 0); +x_34 = lean_ctor_get(x_7, 1); +x_35 = lean_ctor_get(x_7, 2); +lean_inc(x_35); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_7); +x_36 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_36, 0, x_33); +lean_ctor_set(x_36, 1, x_34); +lean_ctor_set(x_36, 2, x_35); +x_37 = lean_ctor_get(x_4, 1); +lean_inc(x_37); +lean_inc(x_37); +x_38 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_3, 4, x_38); +lean_ctor_set(x_3, 1, x_36); +x_39 = lean_ctor_get(x_4, 0); +lean_inc(x_39); +x_40 = lean_array_get_size(x_39); +lean_dec(x_39); +x_41 = l_Lean_FileMap_toPosition(x_10, x_37); +lean_dec(x_10); +x_42 = lean_ctor_get(x_41, 1); +lean_inc(x_42); +lean_dec(x_41); +x_43 = lean_nat_dec_le(x_42, x_42); +lean_dec(x_42); +if (x_43 == 0) { -lean_object* x_47; lean_object* x_48; -lean_inc(x_3); -x_47 = lean_apply_2(x_1, x_3, x_4); -x_48 = lean_ctor_get(x_47, 3); +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_44 = l_Lean_Parser_many1Indent___lambda__1___closed__1; +x_45 = l_Lean_Parser_ParserState_mkError(x_4, x_44); +x_46 = l_Lean_nullKind; +x_47 = l_Lean_Parser_ParserState_mkNode(x_45, x_46, x_40); +return x_47; +} +else +{ +lean_object* x_48; +x_48 = lean_ctor_get(x_4, 3); lean_inc(x_48); if (lean_obj_tag(x_48) == 0) { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = l_Lean_Parser_manyAux(x_2, x_3, x_47); -x_50 = l_Lean_nullKind; -x_51 = l_Lean_Parser_ParserState_mkNode(x_49, x_50, x_38); -return x_51; -} -else +lean_object* x_49; lean_object* x_50; +lean_inc(x_3); +x_49 = lean_apply_2(x_1, x_3, x_4); +x_50 = lean_ctor_get(x_49, 3); +lean_inc(x_50); +if (lean_obj_tag(x_50) == 0) { -lean_object* x_52; lean_object* x_53; -lean_dec(x_48); -lean_dec(x_3); -lean_dec(x_2); +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = l_Lean_Parser_manyAux(x_2, x_3, x_49); x_52 = l_Lean_nullKind; -x_53 = l_Lean_Parser_ParserState_mkNode(x_47, x_52, x_38); +x_53 = l_Lean_Parser_ParserState_mkNode(x_51, x_52, x_40); return x_53; } -} else { lean_object* x_54; lean_object* x_55; -lean_dec(x_46); +lean_dec(x_50); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_54 = l_Lean_nullKind; -x_55 = l_Lean_Parser_ParserState_mkNode(x_4, x_54, x_38); +x_55 = l_Lean_Parser_ParserState_mkNode(x_49, x_54, x_40); return x_55; } } -} -} else { -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; uint8_t 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; uint8_t x_75; -x_56 = lean_ctor_get(x_3, 0); -x_57 = lean_ctor_get(x_3, 1); -x_58 = lean_ctor_get(x_3, 2); -x_59 = lean_ctor_get(x_3, 3); -x_60 = lean_ctor_get_uint8(x_3, sizeof(void*)*6); -x_61 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 1); -x_62 = lean_ctor_get(x_3, 5); -lean_inc(x_62); -lean_inc(x_59); -lean_inc(x_58); -lean_inc(x_57); -lean_inc(x_56); +lean_object* x_56; lean_object* x_57; +lean_dec(x_48); lean_dec(x_3); -x_63 = lean_ctor_get(x_56, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_56, 1); -lean_inc(x_64); -x_65 = lean_ctor_get(x_56, 2); -lean_inc(x_65); -if (lean_is_exclusive(x_56)) { - lean_ctor_release(x_56, 0); - lean_ctor_release(x_56, 1); - lean_ctor_release(x_56, 2); - x_66 = x_56; -} else { - lean_dec_ref(x_56); - x_66 = lean_box(0); -} -lean_inc(x_65); -if (lean_is_scalar(x_66)) { - x_67 = lean_alloc_ctor(0, 3, 0); -} else { - x_67 = x_66; -} -lean_ctor_set(x_67, 0, x_63); -lean_ctor_set(x_67, 1, x_64); -lean_ctor_set(x_67, 2, x_65); -x_68 = lean_ctor_get(x_4, 1); -lean_inc(x_68); -lean_inc(x_68); -x_69 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_69, 0, x_68); -x_70 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_70, 0, x_67); -lean_ctor_set(x_70, 1, x_57); -lean_ctor_set(x_70, 2, x_58); -lean_ctor_set(x_70, 3, x_59); -lean_ctor_set(x_70, 4, x_69); -lean_ctor_set(x_70, 5, x_62); -lean_ctor_set_uint8(x_70, sizeof(void*)*6, x_60); -lean_ctor_set_uint8(x_70, sizeof(void*)*6 + 1, x_61); -x_71 = lean_ctor_get(x_4, 0); -lean_inc(x_71); -x_72 = lean_array_get_size(x_71); -lean_dec(x_71); -x_73 = l_Lean_FileMap_toPosition(x_65, x_68); -lean_dec(x_65); -x_74 = lean_ctor_get(x_73, 1); -lean_inc(x_74); -lean_dec(x_73); -x_75 = lean_nat_dec_le(x_74, x_74); -lean_dec(x_74); -if (x_75 == 0) -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -lean_dec(x_70); lean_dec(x_2); lean_dec(x_1); -x_76 = l_Lean_Parser_many1Indent___lambda__1___closed__1; -x_77 = l_Lean_Parser_ParserState_mkError(x_4, x_76); -x_78 = l_Lean_nullKind; -x_79 = l_Lean_Parser_ParserState_mkNode(x_77, x_78, x_72); -return x_79; +x_56 = l_Lean_nullKind; +x_57 = l_Lean_Parser_ParserState_mkNode(x_4, x_56, x_40); +return x_57; +} +} +} } else { -lean_object* x_80; -x_80 = lean_ctor_get(x_4, 3); +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; uint8_t x_73; +x_58 = lean_ctor_get(x_6, 0); +x_59 = lean_ctor_get(x_6, 1); +x_60 = lean_ctor_get(x_6, 2); +lean_inc(x_60); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_6); +lean_inc(x_60); +x_61 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_61, 0, x_58); +lean_ctor_set(x_61, 1, x_59); +lean_ctor_set(x_61, 2, x_60); +x_62 = lean_ctor_get(x_7, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_7, 1); +lean_inc(x_63); +x_64 = lean_ctor_get(x_7, 2); +lean_inc(x_64); +if (lean_is_exclusive(x_7)) { + lean_ctor_release(x_7, 0); + lean_ctor_release(x_7, 1); + lean_ctor_release(x_7, 2); + x_65 = x_7; +} else { + lean_dec_ref(x_7); + x_65 = lean_box(0); +} +if (lean_is_scalar(x_65)) { + x_66 = lean_alloc_ctor(0, 3, 0); +} else { + x_66 = x_65; +} +lean_ctor_set(x_66, 0, x_62); +lean_ctor_set(x_66, 1, x_63); +lean_ctor_set(x_66, 2, x_64); +x_67 = lean_ctor_get(x_4, 1); +lean_inc(x_67); +lean_inc(x_67); +x_68 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_3, 4, x_68); +lean_ctor_set(x_3, 1, x_66); +lean_ctor_set(x_3, 0, x_61); +x_69 = lean_ctor_get(x_4, 0); +lean_inc(x_69); +x_70 = lean_array_get_size(x_69); +lean_dec(x_69); +x_71 = l_Lean_FileMap_toPosition(x_60, x_67); +lean_dec(x_60); +x_72 = lean_ctor_get(x_71, 1); +lean_inc(x_72); +lean_dec(x_71); +x_73 = lean_nat_dec_le(x_72, x_72); +lean_dec(x_72); +if (x_73 == 0) +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_74 = l_Lean_Parser_many1Indent___lambda__1___closed__1; +x_75 = l_Lean_Parser_ParserState_mkError(x_4, x_74); +x_76 = l_Lean_nullKind; +x_77 = l_Lean_Parser_ParserState_mkNode(x_75, x_76, x_70); +return x_77; +} +else +{ +lean_object* x_78; +x_78 = lean_ctor_get(x_4, 3); +lean_inc(x_78); +if (lean_obj_tag(x_78) == 0) +{ +lean_object* x_79; lean_object* x_80; +lean_inc(x_3); +x_79 = lean_apply_2(x_1, x_3, x_4); +x_80 = lean_ctor_get(x_79, 3); lean_inc(x_80); if (lean_obj_tag(x_80) == 0) { -lean_object* x_81; lean_object* x_82; -lean_inc(x_70); -x_81 = lean_apply_2(x_1, x_70, x_4); -x_82 = lean_ctor_get(x_81, 3); -lean_inc(x_82); -if (lean_obj_tag(x_82) == 0) +lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_81 = l_Lean_Parser_manyAux(x_2, x_3, x_79); +x_82 = l_Lean_nullKind; +x_83 = l_Lean_Parser_ParserState_mkNode(x_81, x_82, x_70); +return x_83; +} +else { -lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = l_Lean_Parser_manyAux(x_2, x_70, x_81); +lean_object* x_84; lean_object* x_85; +lean_dec(x_80); +lean_dec(x_3); +lean_dec(x_2); x_84 = l_Lean_nullKind; -x_85 = l_Lean_Parser_ParserState_mkNode(x_83, x_84, x_72); +x_85 = l_Lean_Parser_ParserState_mkNode(x_79, x_84, x_70); return x_85; } +} else { lean_object* x_86; lean_object* x_87; -lean_dec(x_82); -lean_dec(x_70); +lean_dec(x_78); +lean_dec(x_3); lean_dec(x_2); +lean_dec(x_1); x_86 = l_Lean_nullKind; -x_87 = l_Lean_Parser_ParserState_mkNode(x_81, x_86, x_72); +x_87 = l_Lean_Parser_ParserState_mkNode(x_4, x_86, x_70); return x_87; } } +} +} else { -lean_object* x_88; lean_object* x_89; -lean_dec(x_80); -lean_dec(x_70); +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; uint8_t 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; uint8_t x_112; +x_88 = lean_ctor_get(x_3, 0); +x_89 = lean_ctor_get(x_3, 1); +x_90 = lean_ctor_get(x_3, 2); +x_91 = lean_ctor_get(x_3, 3); +x_92 = lean_ctor_get_uint8(x_3, sizeof(void*)*6); +x_93 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 1); +x_94 = lean_ctor_get(x_3, 5); +lean_inc(x_94); +lean_inc(x_91); +lean_inc(x_90); +lean_inc(x_89); +lean_inc(x_88); +lean_dec(x_3); +x_95 = lean_ctor_get(x_88, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_88, 1); +lean_inc(x_96); +x_97 = lean_ctor_get(x_88, 2); +lean_inc(x_97); +if (lean_is_exclusive(x_88)) { + lean_ctor_release(x_88, 0); + lean_ctor_release(x_88, 1); + lean_ctor_release(x_88, 2); + x_98 = x_88; +} else { + lean_dec_ref(x_88); + x_98 = lean_box(0); +} +lean_inc(x_97); +if (lean_is_scalar(x_98)) { + x_99 = lean_alloc_ctor(0, 3, 0); +} else { + x_99 = x_98; +} +lean_ctor_set(x_99, 0, x_95); +lean_ctor_set(x_99, 1, x_96); +lean_ctor_set(x_99, 2, x_97); +x_100 = lean_ctor_get(x_89, 0); +lean_inc(x_100); +x_101 = lean_ctor_get(x_89, 1); +lean_inc(x_101); +x_102 = lean_ctor_get(x_89, 2); +lean_inc(x_102); +if (lean_is_exclusive(x_89)) { + lean_ctor_release(x_89, 0); + lean_ctor_release(x_89, 1); + lean_ctor_release(x_89, 2); + x_103 = x_89; +} else { + lean_dec_ref(x_89); + x_103 = lean_box(0); +} +if (lean_is_scalar(x_103)) { + x_104 = lean_alloc_ctor(0, 3, 0); +} else { + x_104 = x_103; +} +lean_ctor_set(x_104, 0, x_100); +lean_ctor_set(x_104, 1, x_101); +lean_ctor_set(x_104, 2, x_102); +x_105 = lean_ctor_get(x_4, 1); +lean_inc(x_105); +lean_inc(x_105); +x_106 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_106, 0, x_105); +x_107 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_107, 0, x_99); +lean_ctor_set(x_107, 1, x_104); +lean_ctor_set(x_107, 2, x_90); +lean_ctor_set(x_107, 3, x_91); +lean_ctor_set(x_107, 4, x_106); +lean_ctor_set(x_107, 5, x_94); +lean_ctor_set_uint8(x_107, sizeof(void*)*6, x_92); +lean_ctor_set_uint8(x_107, sizeof(void*)*6 + 1, x_93); +x_108 = lean_ctor_get(x_4, 0); +lean_inc(x_108); +x_109 = lean_array_get_size(x_108); +lean_dec(x_108); +x_110 = l_Lean_FileMap_toPosition(x_97, x_105); +lean_dec(x_97); +x_111 = lean_ctor_get(x_110, 1); +lean_inc(x_111); +lean_dec(x_110); +x_112 = lean_nat_dec_le(x_111, x_111); +lean_dec(x_111); +if (x_112 == 0) +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; +lean_dec(x_107); lean_dec(x_2); lean_dec(x_1); -x_88 = l_Lean_nullKind; -x_89 = l_Lean_Parser_ParserState_mkNode(x_4, x_88, x_72); -return x_89; +x_113 = l_Lean_Parser_many1Indent___lambda__1___closed__1; +x_114 = l_Lean_Parser_ParserState_mkError(x_4, x_113); +x_115 = l_Lean_nullKind; +x_116 = l_Lean_Parser_ParserState_mkNode(x_114, x_115, x_109); +return x_116; +} +else +{ +lean_object* x_117; +x_117 = lean_ctor_get(x_4, 3); +lean_inc(x_117); +if (lean_obj_tag(x_117) == 0) +{ +lean_object* x_118; lean_object* x_119; +lean_inc(x_107); +x_118 = lean_apply_2(x_1, x_107, x_4); +x_119 = lean_ctor_get(x_118, 3); +lean_inc(x_119); +if (lean_obj_tag(x_119) == 0) +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_120 = l_Lean_Parser_manyAux(x_2, x_107, x_118); +x_121 = l_Lean_nullKind; +x_122 = l_Lean_Parser_ParserState_mkNode(x_120, x_121, x_109); +return x_122; +} +else +{ +lean_object* x_123; lean_object* x_124; +lean_dec(x_119); +lean_dec(x_107); +lean_dec(x_2); +x_123 = l_Lean_nullKind; +x_124 = l_Lean_Parser_ParserState_mkNode(x_118, x_123, x_109); +return x_124; +} +} +else +{ +lean_object* x_125; lean_object* x_126; +lean_dec(x_117); +lean_dec(x_107); +lean_dec(x_2); +lean_dec(x_1); +x_125 = l_Lean_nullKind; +x_126 = l_Lean_Parser_ParserState_mkNode(x_4, x_125, x_109); +return x_126; } } } @@ -2044,7 +2185,7 @@ lean_object* l_Lean_Parser_manyIndent_formatter(lean_object* x_1, lean_object* x _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__39; +x_7 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__39; x_8 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_8, 0, x_7); lean_closure_set(x_8, 1, x_1); @@ -2056,7 +2197,7 @@ lean_object* l_Lean_Parser_manyIndent_parenthesizer(lean_object* x_1, lean_objec _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_7 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__39; +x_7 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__39; x_8 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_8, 0, x_7); lean_closure_set(x_8, 1, x_1); @@ -2073,118 +2214,200 @@ uint8_t x_4; x_4 = !lean_is_exclusive(x_2); if (x_4 == 0) { -lean_object* x_5; lean_object* x_6; uint8_t x_7; +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, 4); -lean_dec(x_6); -x_7 = !lean_is_exclusive(x_5); -if (x_7 == 0) +x_6 = lean_ctor_get(x_2, 1); +x_7 = lean_ctor_get(x_2, 4); +lean_dec(x_7); +x_8 = !lean_is_exclusive(x_5); +if (x_8 == 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_ctor_get(x_3, 1); -lean_inc(x_8); -x_9 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_9, 0, x_8); -lean_ctor_set(x_2, 4, x_9); -x_10 = lean_ctor_get(x_3, 0); +uint8_t x_9; +x_9 = !lean_is_exclusive(x_6); +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; +x_10 = lean_ctor_get(x_3, 1); lean_inc(x_10); -x_11 = lean_array_get_size(x_10); -lean_dec(x_10); -x_12 = l_Lean_Parser_manyAux(x_1, x_2, x_3); -x_13 = l_Lean_nullKind; -x_14 = l_Lean_Parser_ParserState_mkNode(x_12, x_13, x_11); -return x_14; +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_2, 4, x_11); +x_12 = lean_ctor_get(x_3, 0); +lean_inc(x_12); +x_13 = lean_array_get_size(x_12); +lean_dec(x_12); +x_14 = l_Lean_Parser_manyAux(x_1, x_2, x_3); +x_15 = l_Lean_nullKind; +x_16 = l_Lean_Parser_ParserState_mkNode(x_14, x_15, x_13); +return x_16; } 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_5, 0); -x_16 = lean_ctor_get(x_5, 1); -x_17 = lean_ctor_get(x_5, 2); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_5); -x_18 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_18, 0, x_15); -lean_ctor_set(x_18, 1, x_16); -lean_ctor_set(x_18, 2, x_17); -x_19 = lean_ctor_get(x_3, 1); +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_6, 0); +x_18 = lean_ctor_get(x_6, 1); +x_19 = lean_ctor_get(x_6, 2); lean_inc(x_19); -x_20 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_2, 4, x_20); -lean_ctor_set(x_2, 0, x_18); -x_21 = lean_ctor_get(x_3, 0); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_6); +x_20 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_20, 0, x_17); +lean_ctor_set(x_20, 1, x_18); +lean_ctor_set(x_20, 2, x_19); +x_21 = lean_ctor_get(x_3, 1); lean_inc(x_21); -x_22 = lean_array_get_size(x_21); -lean_dec(x_21); -x_23 = l_Lean_Parser_manyAux(x_1, x_2, x_3); -x_24 = l_Lean_nullKind; -x_25 = l_Lean_Parser_ParserState_mkNode(x_23, x_24, x_22); -return x_25; +x_22 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_2, 4, x_22); +lean_ctor_set(x_2, 1, x_20); +x_23 = lean_ctor_get(x_3, 0); +lean_inc(x_23); +x_24 = lean_array_get_size(x_23); +lean_dec(x_23); +x_25 = l_Lean_Parser_manyAux(x_1, x_2, x_3); +x_26 = l_Lean_nullKind; +x_27 = l_Lean_Parser_ParserState_mkNode(x_25, x_26, x_24); +return x_27; } } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; uint8_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; 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_26 = lean_ctor_get(x_2, 0); -x_27 = lean_ctor_get(x_2, 1); -x_28 = lean_ctor_get(x_2, 2); -x_29 = lean_ctor_get(x_2, 3); -x_30 = lean_ctor_get_uint8(x_2, sizeof(void*)*6); -x_31 = lean_ctor_get_uint8(x_2, sizeof(void*)*6 + 1); -x_32 = lean_ctor_get(x_2, 5); -lean_inc(x_32); +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_28 = lean_ctor_get(x_5, 0); +x_29 = lean_ctor_get(x_5, 1); +x_30 = lean_ctor_get(x_5, 2); +lean_inc(x_30); lean_inc(x_29); lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_2); -x_33 = lean_ctor_get(x_26, 0); +lean_dec(x_5); +x_31 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_31, 0, x_28); +lean_ctor_set(x_31, 1, x_29); +lean_ctor_set(x_31, 2, x_30); +x_32 = lean_ctor_get(x_6, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_6, 1); lean_inc(x_33); -x_34 = lean_ctor_get(x_26, 1); +x_34 = lean_ctor_get(x_6, 2); lean_inc(x_34); -x_35 = lean_ctor_get(x_26, 2); -lean_inc(x_35); -if (lean_is_exclusive(x_26)) { - lean_ctor_release(x_26, 0); - lean_ctor_release(x_26, 1); - lean_ctor_release(x_26, 2); - x_36 = x_26; +if (lean_is_exclusive(x_6)) { + lean_ctor_release(x_6, 0); + lean_ctor_release(x_6, 1); + lean_ctor_release(x_6, 2); + x_35 = x_6; } else { - lean_dec_ref(x_26); - x_36 = lean_box(0); + lean_dec_ref(x_6); + x_35 = lean_box(0); } -if (lean_is_scalar(x_36)) { - x_37 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_35)) { + x_36 = lean_alloc_ctor(0, 3, 0); } else { - x_37 = x_36; + x_36 = x_35; } -lean_ctor_set(x_37, 0, x_33); -lean_ctor_set(x_37, 1, x_34); -lean_ctor_set(x_37, 2, x_35); -x_38 = lean_ctor_get(x_3, 1); -lean_inc(x_38); -x_39 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_39, 0, x_38); -x_40 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_40, 0, x_37); -lean_ctor_set(x_40, 1, x_27); -lean_ctor_set(x_40, 2, x_28); -lean_ctor_set(x_40, 3, x_29); -lean_ctor_set(x_40, 4, x_39); -lean_ctor_set(x_40, 5, x_32); -lean_ctor_set_uint8(x_40, sizeof(void*)*6, x_30); -lean_ctor_set_uint8(x_40, sizeof(void*)*6 + 1, x_31); -x_41 = lean_ctor_get(x_3, 0); -lean_inc(x_41); -x_42 = lean_array_get_size(x_41); -lean_dec(x_41); -x_43 = l_Lean_Parser_manyAux(x_1, x_40, x_3); -x_44 = l_Lean_nullKind; -x_45 = l_Lean_Parser_ParserState_mkNode(x_43, x_44, x_42); -return x_45; +lean_ctor_set(x_36, 0, x_32); +lean_ctor_set(x_36, 1, x_33); +lean_ctor_set(x_36, 2, x_34); +x_37 = lean_ctor_get(x_3, 1); +lean_inc(x_37); +x_38 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_2, 4, x_38); +lean_ctor_set(x_2, 1, x_36); +lean_ctor_set(x_2, 0, x_31); +x_39 = lean_ctor_get(x_3, 0); +lean_inc(x_39); +x_40 = lean_array_get_size(x_39); +lean_dec(x_39); +x_41 = l_Lean_Parser_manyAux(x_1, x_2, x_3); +x_42 = l_Lean_nullKind; +x_43 = l_Lean_Parser_ParserState_mkNode(x_41, x_42, x_40); +return x_43; +} +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; uint8_t 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; +x_44 = lean_ctor_get(x_2, 0); +x_45 = lean_ctor_get(x_2, 1); +x_46 = lean_ctor_get(x_2, 2); +x_47 = lean_ctor_get(x_2, 3); +x_48 = lean_ctor_get_uint8(x_2, sizeof(void*)*6); +x_49 = lean_ctor_get_uint8(x_2, sizeof(void*)*6 + 1); +x_50 = lean_ctor_get(x_2, 5); +lean_inc(x_50); +lean_inc(x_47); +lean_inc(x_46); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_2); +x_51 = lean_ctor_get(x_44, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_44, 1); +lean_inc(x_52); +x_53 = lean_ctor_get(x_44, 2); +lean_inc(x_53); +if (lean_is_exclusive(x_44)) { + lean_ctor_release(x_44, 0); + lean_ctor_release(x_44, 1); + lean_ctor_release(x_44, 2); + x_54 = x_44; +} else { + lean_dec_ref(x_44); + x_54 = lean_box(0); +} +if (lean_is_scalar(x_54)) { + x_55 = lean_alloc_ctor(0, 3, 0); +} else { + x_55 = x_54; +} +lean_ctor_set(x_55, 0, x_51); +lean_ctor_set(x_55, 1, x_52); +lean_ctor_set(x_55, 2, x_53); +x_56 = lean_ctor_get(x_45, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_45, 1); +lean_inc(x_57); +x_58 = lean_ctor_get(x_45, 2); +lean_inc(x_58); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + lean_ctor_release(x_45, 1); + lean_ctor_release(x_45, 2); + x_59 = x_45; +} else { + lean_dec_ref(x_45); + x_59 = lean_box(0); +} +if (lean_is_scalar(x_59)) { + x_60 = lean_alloc_ctor(0, 3, 0); +} else { + x_60 = x_59; +} +lean_ctor_set(x_60, 0, x_56); +lean_ctor_set(x_60, 1, x_57); +lean_ctor_set(x_60, 2, x_58); +x_61 = lean_ctor_get(x_3, 1); +lean_inc(x_61); +x_62 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_62, 0, x_61); +x_63 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_63, 0, x_55); +lean_ctor_set(x_63, 1, x_60); +lean_ctor_set(x_63, 2, x_46); +lean_ctor_set(x_63, 3, x_47); +lean_ctor_set(x_63, 4, x_62); +lean_ctor_set(x_63, 5, x_50); +lean_ctor_set_uint8(x_63, sizeof(void*)*6, x_48); +lean_ctor_set_uint8(x_63, sizeof(void*)*6 + 1, x_49); +x_64 = lean_ctor_get(x_3, 0); +lean_inc(x_64); +x_65 = lean_array_get_size(x_64); +lean_dec(x_64); +x_66 = l_Lean_Parser_manyAux(x_1, x_63, x_3); +x_67 = l_Lean_nullKind; +x_68 = l_Lean_Parser_ParserState_mkNode(x_66, x_67, x_65); +return x_68; } } } diff --git a/stage0/stdlib/Lean/Parser/Module.c b/stage0/stdlib/Lean/Parser/Module.c index 59b390b434..0be5082690 100644 --- a/stage0/stdlib/Lean/Parser/Module.c +++ b/stage0/stdlib/Lean/Parser/Module.c @@ -13,7 +13,6 @@ #ifdef __cplusplus extern "C" { #endif -lean_object* lean_string_push(lean_object*, uint32_t); lean_object* l_Lean_Parser_Module_import___elambda__1___closed__5; lean_object* l_Lean_Parser_Module_header_parenthesizer___closed__10; lean_object* l_Lean_Parser_Module_module_parenthesizer___closed__6; @@ -23,25 +22,22 @@ size_t l_USize_add(size_t, size_t); lean_object* l_Lean_Parser_Trie_instInhabitedTrie(lean_object*); lean_object* l_Lean_Parser_Module_module_formatter___closed__1; lean_object* l_Lean_Parser_Module_header___elambda__1___closed__5; +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Syntax_strLitToAtom___closed__3; -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_updateTokens___closed__2; -lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_andthenInfo(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserContext(lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_prelude_parenthesizer___closed__2; lean_object* l_Lean_Parser_Module_import___closed__8; extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_587____closed__24; -lean_object* lean_io_timeit(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_module_parenthesizer___closed__4; lean_object* l_Lean_Parser_Module_import___closed__4; -lean_object* l_Std_PersistentArray_forM___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__3(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_module_formatter___closed__9; -lean_object* l_Lean_Parser_parseModule(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_nullKind; lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_mkEOI(lean_object*); lean_object* l_Lean_Parser_topLevelCommandParserFn___closed__3; lean_object* lean_name_mk_string(lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_forMAux___at_Lean_Parser_testParseModuleAux_parse___spec__6(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_parseHeader_match__1(lean_object*); uint8_t l_USize_decEq(size_t, size_t); lean_object* l_Lean_Parser_parseHeader(lean_object*, lean_object*); @@ -51,36 +47,33 @@ lean_object* l_Lean_Parser_Module_module___closed__7; lean_object* l_Lean_PrettyPrinter_Formatter_many_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_updateTokens___closed__4; lean_object* l_Lean_Parser_Module_header___elambda__1___closed__12; -lean_object* l_Lean_Format_pretty(lean_object*, lean_object*); lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_mkEOI___closed__2; lean_object* l_Lean_Parser_Module_header___closed__11; lean_object* l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_parseModuleAux_parse_match__1(lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_module_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_header_parenthesizer___closed__7; lean_object* l_Lean_Parser_Module_import___closed__10; lean_object* l_Lean_Parser_Module_prelude; lean_object* l_Lean_Parser_Module_import___elambda__1___closed__12; extern lean_object* l_Array_empty___closed__1; -lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop_match__1___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Parser_testParseModuleAux_parse___closed__3; +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_orelse_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_ident; extern lean_object* l_Lean_instInhabitedParserDescr___closed__1; -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserState(lean_object*); -lean_object* l_Lean_Parser_testModuleParser_match__1(lean_object*); extern lean_object* l_Std_PersistentArray_empty___closed__1; +lean_object* l_Std_PersistentArray_forM___at_Lean_Parser_testParseModuleAux_parse___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_prelude___elambda__1___closed__2; lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_consumeInput_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Std_PersistentArray_forM___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__3___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_forMAux___at_Lean_Parser_testParseModuleAux_parse___spec__3(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_import; lean_object* l_Lean_Parser_Module_import___elambda__1___closed__2; -lean_object* l_Lean_MessageLog_forM___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_header___elambda__1___closed__9; lean_object* l_Lean_Parser_Module_prelude_formatter___closed__2; lean_object* l_Lean_Parser_Module_module___closed__3; lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_mkEOI___closed__1; -lean_object* l_IO_println___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_header___elambda__1___closed__8; lean_object* l_Lean_Parser_Module_header___closed__4; lean_object* l_Lean_Parser_mkInputContext(lean_object*, lean_object*); @@ -89,21 +82,19 @@ lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_Parser_Module_prelude___elambda__1___closed__1; lean_object* l_Lean_Parser_Module_prelude_formatter___closed__1; lean_object* l_Lean_Parser_Module_module_parenthesizer___closed__1; -lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_header___closed__9; lean_object* l_Lean_Parser_tokenFn(lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_updateTokens___closed__1; lean_object* l_Lean_Parser_Module_header_parenthesizer___closed__5; lean_object* l_Lean_Parser_Module_import___closed__9; -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_isExitCommand___boxed(lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___spec__11(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_import___elambda__1___closed__1; +lean_object* l_Std_PersistentArray_forM___at_Lean_Parser_testParseModuleAux_parse___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_header___elambda__1___closed__3; lean_object* l_Lean_Parser_Module_module_formatter___closed__8; lean_object* l_Lean_Parser_Module_import_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_header_formatter___closed__6; -lean_object* l_Lean_Parser_parseFile(lean_object*, lean_object*, lean_object*); -lean_object* l_IO_FS_Handle_mk___at_Lean_Parser_parseFile___spec__2(lean_object*, uint8_t, uint8_t, lean_object*); extern lean_object* l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__3; lean_object* l_Lean_Parser_Module_module_formatter___closed__4; lean_object* l_Lean_Parser_mkAntiquot_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -111,55 +102,53 @@ lean_object* l_Lean_Parser_leadingNode_formatter___boxed(lean_object*, lean_obje uint8_t l_Lean_Parser_ModuleParserState_recovering___default; lean_object* l_Lean_Parser_Module_prelude_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_import_parenthesizer___closed__3; -lean_object* l_Lean_Parser_testModuleParser___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); -lean_object* l_IO_FS_readFile___at_Lean_Parser_parseFile___spec__1___boxed(lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_PersistentArray_forMAux___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__4(lean_object*, lean_object*, lean_object*); -lean_object* l_Std_PersistentArray_forMAux___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__4___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__6(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_import_formatter___closed__4; -lean_object* l_Lean_Parser_parseModuleAux_parse___closed__2; lean_object* l_Lean_Parser_Module_header___elambda__1___closed__4; lean_object* l_Lean_Parser_Module_import___elambda__1___closed__13; lean_object* l_Lean_Parser_instInhabitedModuleParserState; lean_object* l_Lean_Parser_Module_module___closed__8; lean_object* lean_nat_add(lean_object*, lean_object*); +lean_object* l_Lean_Parser_testParseModuleAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_prelude___closed__4; lean_object* l_Lean_Parser_Module_module___closed__4; -lean_object* l_Lean_Parser_testModuleParser_match__1___rarg(lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Term_quot_formatter___closed__2; +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___spec__10(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_optional_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_module_parenthesizer___closed__7; lean_object* l_Lean_Parser_Module_header___elambda__1___closed__1; -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__9(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); -lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_import_parenthesizer___closed__1; lean_object* l_Lean_Parser_initCacheForInput(lean_object*); lean_object* l_Lean_Parser_Module_import___elambda__1___closed__4; extern lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4; extern lean_object* l_Lean_Parser_Term_quot___elambda__1___closed__4; +lean_object* l_Lean_Parser_testParseModuleAux_parse___closed__1; lean_object* l_Lean_Parser_Module_import___elambda__1___closed__11; lean_object* l_Lean_Parser_Module_module_parenthesizer___closed__2; +lean_object* l_Lean_Parser_testParseModuleAux_parse___closed__2; extern lean_object* l_Lean_Parser_Command_exit___elambda__1___closed__2; lean_object* l_Lean_Parser_Module_header___elambda__1___closed__2; lean_object* l_Lean_Parser_parseHeader_match__1___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_ident___closed__2; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -lean_object* l_Lean_Parser_testModuleParser___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); +lean_object* l_Lean_Parser_testParseModuleAux_parse_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_lookaheadFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_header___closed__2; lean_object* l_Lean_Parser_Module_import___elambda__1___closed__8; lean_object* l_Lean_Parser_nodeInfo(lean_object*, lean_object*); lean_object* l_Lean_Parser_symbolFn___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_EStateM_bind___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__8(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_module___closed__6; +lean_object* l_Lean_MessageLog_forM___at_Lean_Parser_testParseModuleAux_parse___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_header_parenthesizer___closed__6; lean_object* l_Lean_Parser_noFirstTokenInfo(lean_object*); +lean_object* l_IO_FS_Handle_mk___at_Lean_Parser_testParseFile___spec__2(lean_object*, uint8_t, uint8_t, lean_object*); lean_object* l_Lean_Parser_Module_module___elambda__1___closed__1; lean_object* l_Lean_Parser_Module_prelude_formatter___closed__3; lean_object* l_Lean_Parser_Module_header___closed__1; -lean_object* l_IO_print___at_IO_println___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_import_parenthesizer___closed__4; extern lean_object* l_Lean_Parser_Level_ident_parenthesizer___closed__1; lean_object* l_Lean_Parser_optionaInfo(lean_object*); @@ -170,26 +159,27 @@ lean_object* lean_io_realpath(lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_header___closed__8; lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_mkErrorMessage___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_module___elambda__1___closed__4; -lean_object* l_Lean_Parser_testModuleParser___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_testParseModuleAux_parse___lambda__1(lean_object*, lean_object*); lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_mkErrorMessage(lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_forMAux___at_Lean_Parser_testParseModuleAux_parse___spec__6___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_IO_Prim_fopenFlags(uint8_t, uint8_t); lean_object* l_Lean_Parser_Module_updateTokens___closed__3; lean_object* l_Lean_Parser_Module_module___elambda__1___closed__2; -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_header___closed__6; lean_object* l_Lean_Parser_orelseInfo(lean_object*, lean_object*); lean_object* l_Lean_Parser_topLevelCommandParserFn(lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_header_formatter___closed__7; -lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_prelude___elambda__1___closed__10; -lean_object* l_Lean_Parser_testModuleParser___closed__1; lean_object* l_Lean_Parser_Module_import_formatter___closed__6; lean_object* l_Lean_Parser_Module_module_parenthesizer___closed__5; lean_object* l_Lean_PrettyPrinter_Formatter_symbol_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_prelude___elambda__1___closed__7; -lean_object* l_Lean_Parser_parseModule_match__1___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Parser_testParseModule_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_addParserTokens(lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_header_parenthesizer___closed__2; +lean_object* l_Lean_Parser_testParseModuleAux_parse_match__1(lean_object*); +lean_object* l_IO_FS_Handle_mk___at_Lean_Parser_testParseFile___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___spec__12(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_import___closed__1; lean_object* l_Lean_Parser_Module_header___elambda__1___closed__11; lean_object* l_Lean_Parser_instInhabitedModuleParserState___closed__1; @@ -197,12 +187,11 @@ lean_object* l_Lean_Parser_Module_import_formatter___closed__7; 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*); uint8_t l_Std_PersistentArray_isEmpty___rarg(lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_header_parenthesizer___closed__1; lean_object* l_Lean_Parser_Module_header_formatter___closed__9; lean_object* l_Lean_Parser_Module_module_formatter___closed__10; lean_object* l_Lean_Parser_whitespace(lean_object*, lean_object*); -lean_object* l_IO_FS_readFile___at_Lean_Parser_parseFile___spec__1(lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_module; lean_object* l_Lean_Parser_Module_prelude_parenthesizer___closed__1; size_t lean_usize_of_nat(lean_object*); @@ -215,20 +204,15 @@ lean_object* l_Lean_Parser_Module_import___closed__6; lean_object* l_Lean_Parser_Module_module_formatter___closed__5; lean_object* l_Lean_Parser_Module_header___closed__5; lean_object* l_Lean_Parser_Module_header_parenthesizer___closed__8; -lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_header_parenthesizer___closed__9; lean_object* l_Lean_Parser_Module_prelude___closed__5; lean_object* l_Lean_Parser_Module_import___closed__2; extern lean_object* l_Lean_importModules___closed__4; lean_object* l_Lean_Parser_parseCommand_parse_match__1(lean_object*); -lean_object* l_Lean_MessageLog_forM___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__2___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_forMAux___at_Lean_Parser_testParseModuleAux_parse___spec__9(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_prelude___elambda__1___closed__5; -extern lean_object* l_Lean_Parser_Term_quot_formatter___closed__3; -lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___spec__8(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_module_formatter___closed__3; -lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_parseModuleAux_parse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_PersistentArray_forMAux___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__10(lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_environment(uint32_t, lean_object*); extern lean_object* l_Lean_Syntax_mkApp___closed__1; lean_object* l_Lean_Parser_Module_header_formatter___closed__2; @@ -240,14 +224,17 @@ lean_object* l_Lean_Parser_Module_header___elambda__1___closed__7; lean_object* l_Lean_Parser_Module_module___closed__9; lean_object* l_Lean_Parser_Error_toString(lean_object*); lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_consumeInput_match__1(lean_object*); +lean_object* l_Lean_Parser_testParseFile(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_header___elambda__1___closed__10; +lean_object* l_IO_FS_readFile___at_Lean_Parser_testParseFile___spec__1(lean_object*, lean_object*); uint8_t l_Lean_Parser_isExitCommand(lean_object*); lean_object* l_Lean_Parser_Module_module___elambda__1___closed__3; lean_object* l_Lean_Parser_Module_updateTokens(lean_object*); lean_object* l_Lean_Parser_Module_prelude___closed__3; uint8_t lean_nat_dec_le(lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_forMAux___at_Lean_Parser_testParseModuleAux_parse___spec__3___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_import___closed__3; -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__11(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_module_formatter___closed__7; lean_object* l_Lean_Parser_Module_prelude___closed__1; lean_object* l_Lean_Parser_Module_header_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -258,7 +245,6 @@ lean_object* l_Lean_Parser_Module_import_formatter(lean_object*, lean_object*, l lean_object* l_Lean_Parser_Module_import___closed__7; lean_object* l_Lean_Parser_Module_header_parenthesizer___closed__3; lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_consumeInput(lean_object*, lean_object*); -lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___closed__1; lean_object* l_Lean_Parser_Module_module___closed__2; lean_object* l_Lean_Parser_Module_module___closed__1; lean_object* l_Lean_Parser_symbolInfo(lean_object*); @@ -268,9 +254,9 @@ lean_object* l_Lean_Parser_Module_prelude___elambda__1___closed__6; lean_object* l_Lean_Parser_Module_prelude___closed__2; lean_object* l_Lean_Parser_topLevelCommandParserFn___closed__1; extern lean_object* l_Lean_Parser_Term_quot___closed__1; +lean_object* l_Std_PersistentArray_forMAux___at_Lean_Parser_testParseModuleAux_parse___spec__9___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_module_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_import_formatter___closed__2; -lean_object* l_Lean_Parser_parseModuleAux_parse_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_topLevelCommandParserFn___closed__2; extern lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_parenthesizer___closed__3; lean_object* l_Lean_Parser_topLevelCommandParserFn___closed__4; @@ -280,14 +266,14 @@ lean_object* l_Lean_Parser_Module_module___elambda__1___closed__5; lean_object* l_Lean_Parser_Module_header___closed__3; lean_object* l_String_trim(lean_object*); lean_object* l_Lean_Parser_Module_module___elambda__1(lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___spec__7(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Level_paren___elambda__1___closed__8; lean_object* l_Lean_PrettyPrinter_Parenthesizer_optional_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_nodeFn(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_testParseModuleAux_parse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_optionalFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_updateTokens_match__1(lean_object*); extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4___closed__1; -lean_object* l_Lean_Parser_parseModuleAux_parse___closed__1; -lean_object* l_IO_FS_Handle_mk___at_Lean_Parser_parseFile___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_import___closed__5; lean_object* l_Lean_Parser_Module_module_parenthesizer___closed__3; @@ -295,33 +281,27 @@ lean_object* l_Lean_Parser_Module_header_formatter___closed__3; lean_object* l_Lean_Parser_errorFn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_module___elambda__1___closed__7; lean_object* l_Lean_Parser_Module_prelude___elambda__1(lean_object*, lean_object*); -lean_object* l_Std_PersistentArray_forMAux___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__10___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_import___elambda__1___closed__14; lean_object* l_Lean_Parser_Module_header_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot(lean_object*, lean_object*, uint8_t); -lean_object* l_Lean_Parser_parseModule_match__1(lean_object*); lean_object* l_Lean_Parser_ModuleParserState_pos___default; lean_object* l_IO_println___at_Lean_instEval___spec__1(lean_object*, lean_object*); uint8_t l_Lean_Parser_isEOI(lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_prelude_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___lambda__2(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_587____closed__22; +lean_object* l_Lean_MessageLog_forM___at_Lean_Parser_testParseModuleAux_parse___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_manyFn(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_mkOptionalNode___closed__2; lean_object* l_Lean_Parser_Module_import___elambda__1___closed__10; lean_object* l_Lean_Parser_Module_header___closed__10; extern lean_object* l_Lean_Parser_Term_quot_parenthesizer___closed__2; lean_object* l_Lean_Parser_Module_prelude___elambda__1___closed__3; -uint8_t l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(lean_object*); lean_object* l_Lean_Parser_Module_import___elambda__1___closed__9; lean_object* l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_testParseModule_match__1(lean_object*); lean_object* l_Lean_Parser_Module_header___elambda__1___closed__6; -lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop_match__1(lean_object*); -lean_object* l_Lean_Parser_parseModuleAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_header_formatter___closed__5; lean_object* l_Lean_Parser_parseCommand_parse_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Std_PersistentArray_forMAux___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__7(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_import_formatter___closed__1; lean_object* l_Lean_Message_toString(lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_prelude___elambda__1___closed__8; @@ -330,28 +310,24 @@ lean_object* l_Lean_Parser_Module_import___elambda__1___closed__3; lean_object* l_Lean_Parser_Module_updateTokens_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_header_formatter___closed__10; uint8_t lean_string_utf8_at_end(lean_object*, lean_object*); -lean_object* lean_test_module_parser(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Parser_Module_header_formatter___closed__8; lean_object* l_Lean_Parser_Module_module_formatter___closed__6; lean_object* l_Lean_PrettyPrinter_Parenthesizer_many_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_io_prim_handle_mk(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_prelude___elambda__1___closed__4; lean_object* l_Lean_Parser_Module_import___elambda__1___closed__6; -lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__12(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_andthen_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_parseCommand(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_PersistentArray_forMAux___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__7___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_testParseModule(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_prelude___closed__6; lean_object* l_Lean_Parser_Module_header_formatter___closed__1; -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__13(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_import___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_isEOI___boxed(lean_object*); lean_object* l_Lean_Parser_Module_header___elambda__1(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_header_formatter___closed__4; +lean_object* l_IO_FS_readFile___at_Lean_Parser_testParseFile___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_andthenFn(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_prelude___elambda__1___closed__9; static lean_object* _init_l_Lean_Parser_Module_prelude___elambda__1___closed__1() { @@ -1390,7 +1366,7 @@ static lean_object* _init_l_Lean_Parser_Module_module_formatter___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_quot_formatter___closed__3; +x_1 = l_Lean_Parser_Term_quot_formatter___closed__2; x_2 = l_Lean_Parser_Module_module_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); @@ -2038,105 +2014,108 @@ x_3 = lean_ctor_get(x_1, 0); 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; -x_5 = lean_ctor_get(x_1, 3); -x_6 = l_Lean_Parser_Module_header; -x_7 = lean_ctor_get(x_6, 0); -lean_inc(x_7); -x_8 = l_Lean_Parser_addParserTokens(x_5, x_7); -if (lean_obj_tag(x_8) == 0) +lean_object* x_5; uint8_t x_6; +x_5 = lean_ctor_get(x_1, 1); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) { -lean_object* x_9; lean_object* x_10; lean_object* x_11; -lean_dec(x_8); -x_9 = l_Lean_Parser_Module_updateTokens___closed__1; -x_10 = l_Lean_Parser_Module_updateTokens___closed__4; -x_11 = lean_panic_fn(x_9, x_10); -lean_ctor_set(x_1, 3, x_11); +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_7 = lean_ctor_get(x_1, 3); +x_8 = l_Lean_Parser_Module_header; +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +x_10 = l_Lean_Parser_addParserTokens(x_7, x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_dec(x_10); +x_11 = l_Lean_Parser_Module_updateTokens___closed__1; +x_12 = l_Lean_Parser_Module_updateTokens___closed__4; +x_13 = lean_panic_fn(x_11, x_12); +lean_ctor_set(x_1, 3, x_13); return x_1; } else { -lean_object* x_12; -x_12 = lean_ctor_get(x_8, 0); -lean_inc(x_12); -lean_dec(x_8); -lean_ctor_set(x_1, 3, x_12); -return x_1; -} -} -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_1, 3); -x_14 = lean_ctor_get(x_3, 0); -x_15 = lean_ctor_get(x_3, 1); -x_16 = lean_ctor_get(x_3, 2); -lean_inc(x_16); -lean_inc(x_15); +lean_object* x_14; +x_14 = lean_ctor_get(x_10, 0); lean_inc(x_14); -lean_dec(x_3); -x_17 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_17, 0, x_14); -lean_ctor_set(x_17, 1, x_15); -lean_ctor_set(x_17, 2, x_16); -x_18 = l_Lean_Parser_Module_header; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = l_Lean_Parser_addParserTokens(x_13, x_19); -if (lean_obj_tag(x_20) == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; -lean_dec(x_20); -x_21 = l_Lean_Parser_Module_updateTokens___closed__1; -x_22 = l_Lean_Parser_Module_updateTokens___closed__4; -x_23 = lean_panic_fn(x_21, x_22); -lean_ctor_set(x_1, 3, x_23); -lean_ctor_set(x_1, 0, x_17); +lean_dec(x_10); +lean_ctor_set(x_1, 3, x_14); return x_1; } -else -{ -lean_object* x_24; -x_24 = lean_ctor_get(x_20, 0); -lean_inc(x_24); -lean_dec(x_20); -lean_ctor_set(x_1, 3, x_24); -lean_ctor_set(x_1, 0, x_17); -return x_1; -} -} } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t 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; -x_25 = lean_ctor_get(x_1, 0); -x_26 = lean_ctor_get(x_1, 1); -x_27 = lean_ctor_get(x_1, 2); -x_28 = lean_ctor_get(x_1, 3); -x_29 = lean_ctor_get_uint8(x_1, sizeof(void*)*6); -x_30 = lean_ctor_get_uint8(x_1, sizeof(void*)*6 + 1); -x_31 = lean_ctor_get(x_1, 4); -x_32 = lean_ctor_get(x_1, 5); -lean_inc(x_32); -lean_inc(x_31); -lean_inc(x_28); -lean_inc(x_27); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_15 = lean_ctor_get(x_1, 3); +x_16 = lean_ctor_get(x_5, 0); +x_17 = lean_ctor_get(x_5, 1); +x_18 = lean_ctor_get(x_5, 2); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_5); +x_19 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_19, 0, x_16); +lean_ctor_set(x_19, 1, x_17); +lean_ctor_set(x_19, 2, x_18); +x_20 = l_Lean_Parser_Module_header; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = l_Lean_Parser_addParserTokens(x_15, x_21); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +lean_dec(x_22); +x_23 = l_Lean_Parser_Module_updateTokens___closed__1; +x_24 = l_Lean_Parser_Module_updateTokens___closed__4; +x_25 = lean_panic_fn(x_23, x_24); +lean_ctor_set(x_1, 3, x_25); +lean_ctor_set(x_1, 1, x_19); +return x_1; +} +else +{ +lean_object* x_26; +x_26 = lean_ctor_get(x_22, 0); lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_1); -x_33 = lean_ctor_get(x_25, 0); +lean_dec(x_22); +lean_ctor_set(x_1, 3, x_26); +lean_ctor_set(x_1, 1, x_19); +return x_1; +} +} +} +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; +x_27 = lean_ctor_get(x_1, 1); +x_28 = lean_ctor_get(x_1, 3); +x_29 = lean_ctor_get(x_3, 0); +x_30 = lean_ctor_get(x_3, 1); +x_31 = lean_ctor_get(x_3, 2); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_3); +x_32 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_32, 0, x_29); +lean_ctor_set(x_32, 1, x_30); +lean_ctor_set(x_32, 2, x_31); +x_33 = lean_ctor_get(x_27, 0); lean_inc(x_33); -x_34 = lean_ctor_get(x_25, 1); +x_34 = lean_ctor_get(x_27, 1); lean_inc(x_34); -x_35 = lean_ctor_get(x_25, 2); +x_35 = lean_ctor_get(x_27, 2); lean_inc(x_35); -if (lean_is_exclusive(x_25)) { - lean_ctor_release(x_25, 0); - lean_ctor_release(x_25, 1); - lean_ctor_release(x_25, 2); - x_36 = x_25; +if (lean_is_exclusive(x_27)) { + lean_ctor_release(x_27, 0); + lean_ctor_release(x_27, 1); + lean_ctor_release(x_27, 2); + x_36 = x_27; } else { - lean_dec_ref(x_25); + lean_dec_ref(x_27); x_36 = lean_box(0); } if (lean_is_scalar(x_36)) { @@ -2153,38 +2132,131 @@ lean_inc(x_39); x_40 = l_Lean_Parser_addParserTokens(x_28, x_39); if (lean_obj_tag(x_40) == 0) { -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_dec(x_40); x_41 = l_Lean_Parser_Module_updateTokens___closed__1; x_42 = l_Lean_Parser_Module_updateTokens___closed__4; x_43 = lean_panic_fn(x_41, x_42); -x_44 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_44, 0, x_37); -lean_ctor_set(x_44, 1, x_26); -lean_ctor_set(x_44, 2, x_27); -lean_ctor_set(x_44, 3, x_43); -lean_ctor_set(x_44, 4, x_31); -lean_ctor_set(x_44, 5, x_32); -lean_ctor_set_uint8(x_44, sizeof(void*)*6, x_29); -lean_ctor_set_uint8(x_44, sizeof(void*)*6 + 1, x_30); -return x_44; +lean_ctor_set(x_1, 3, x_43); +lean_ctor_set(x_1, 1, x_37); +lean_ctor_set(x_1, 0, x_32); +return x_1; } else { -lean_object* x_45; lean_object* x_46; -x_45 = lean_ctor_get(x_40, 0); -lean_inc(x_45); +lean_object* x_44; +x_44 = lean_ctor_get(x_40, 0); +lean_inc(x_44); lean_dec(x_40); -x_46 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_46, 0, x_37); -lean_ctor_set(x_46, 1, x_26); -lean_ctor_set(x_46, 2, x_27); -lean_ctor_set(x_46, 3, x_45); -lean_ctor_set(x_46, 4, x_31); -lean_ctor_set(x_46, 5, x_32); -lean_ctor_set_uint8(x_46, sizeof(void*)*6, x_29); -lean_ctor_set_uint8(x_46, sizeof(void*)*6 + 1, x_30); -return x_46; +lean_ctor_set(x_1, 3, x_44); +lean_ctor_set(x_1, 1, x_37); +lean_ctor_set(x_1, 0, x_32); +return x_1; +} +} +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t 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; +x_45 = lean_ctor_get(x_1, 0); +x_46 = lean_ctor_get(x_1, 1); +x_47 = lean_ctor_get(x_1, 2); +x_48 = lean_ctor_get(x_1, 3); +x_49 = lean_ctor_get_uint8(x_1, sizeof(void*)*6); +x_50 = lean_ctor_get_uint8(x_1, sizeof(void*)*6 + 1); +x_51 = lean_ctor_get(x_1, 4); +x_52 = lean_ctor_get(x_1, 5); +lean_inc(x_52); +lean_inc(x_51); +lean_inc(x_48); +lean_inc(x_47); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_1); +x_53 = lean_ctor_get(x_45, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_45, 1); +lean_inc(x_54); +x_55 = lean_ctor_get(x_45, 2); +lean_inc(x_55); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + lean_ctor_release(x_45, 1); + lean_ctor_release(x_45, 2); + x_56 = x_45; +} else { + lean_dec_ref(x_45); + x_56 = lean_box(0); +} +if (lean_is_scalar(x_56)) { + x_57 = lean_alloc_ctor(0, 3, 0); +} else { + x_57 = x_56; +} +lean_ctor_set(x_57, 0, x_53); +lean_ctor_set(x_57, 1, x_54); +lean_ctor_set(x_57, 2, x_55); +x_58 = lean_ctor_get(x_46, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_46, 1); +lean_inc(x_59); +x_60 = lean_ctor_get(x_46, 2); +lean_inc(x_60); +if (lean_is_exclusive(x_46)) { + lean_ctor_release(x_46, 0); + lean_ctor_release(x_46, 1); + lean_ctor_release(x_46, 2); + x_61 = x_46; +} else { + lean_dec_ref(x_46); + x_61 = lean_box(0); +} +if (lean_is_scalar(x_61)) { + x_62 = lean_alloc_ctor(0, 3, 0); +} else { + x_62 = x_61; +} +lean_ctor_set(x_62, 0, x_58); +lean_ctor_set(x_62, 1, x_59); +lean_ctor_set(x_62, 2, x_60); +x_63 = l_Lean_Parser_Module_header; +x_64 = lean_ctor_get(x_63, 0); +lean_inc(x_64); +x_65 = l_Lean_Parser_addParserTokens(x_48, x_64); +if (lean_obj_tag(x_65) == 0) +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +lean_dec(x_65); +x_66 = l_Lean_Parser_Module_updateTokens___closed__1; +x_67 = l_Lean_Parser_Module_updateTokens___closed__4; +x_68 = lean_panic_fn(x_66, x_67); +x_69 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_69, 0, x_57); +lean_ctor_set(x_69, 1, x_62); +lean_ctor_set(x_69, 2, x_47); +lean_ctor_set(x_69, 3, x_68); +lean_ctor_set(x_69, 4, x_51); +lean_ctor_set(x_69, 5, x_52); +lean_ctor_set_uint8(x_69, sizeof(void*)*6, x_49); +lean_ctor_set_uint8(x_69, sizeof(void*)*6 + 1, x_50); +return x_69; +} +else +{ +lean_object* x_70; lean_object* x_71; +x_70 = lean_ctor_get(x_65, 0); +lean_inc(x_70); +lean_dec(x_65); +x_71 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_71, 0, x_57); +lean_ctor_set(x_71, 1, x_62); +lean_ctor_set(x_71, 2, x_47); +lean_ctor_set(x_71, 3, x_70); +lean_ctor_set(x_71, 4, x_51); +lean_ctor_set(x_71, 5, x_52); +lean_ctor_set_uint8(x_71, sizeof(void*)*6, x_49); +lean_ctor_set_uint8(x_71, sizeof(void*)*6 + 1, x_50); +return x_71; } } } @@ -2303,178 +2375,190 @@ uint8_t x_5; 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_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; x_6 = lean_ctor_get(x_4, 0); -x_7 = l_Lean_Parser_mkParserContext(x_6, x_1); -x_8 = l_Lean_Parser_Module_updateTokens(x_7); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -lean_dec(x_9); -x_11 = l_Lean_Parser_mkParserState(x_10); -lean_dec(x_10); -x_12 = l_Lean_Parser_whitespace(x_8, x_11); -lean_inc(x_8); -x_13 = l_Lean_Parser_Module_header___elambda__1(x_8, x_12); -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_14); -lean_dec(x_14); -x_16 = lean_ctor_get(x_13, 3); -lean_inc(x_16); -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -lean_dec(x_8); -x_17 = lean_ctor_get(x_13, 1); +x_7 = lean_box(0); +x_8 = lean_box(0); +x_9 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_9, 0, x_6); +lean_ctor_set(x_9, 1, x_8); +lean_ctor_set(x_9, 2, x_7); +x_10 = l_Lean_Parser_mkParserContext(x_1, x_9); +x_11 = l_Lean_Parser_Module_updateTokens(x_10); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +lean_dec(x_12); +x_14 = l_Lean_Parser_mkParserState(x_13); +lean_dec(x_13); +x_15 = l_Lean_Parser_whitespace(x_11, x_14); +lean_inc(x_11); +x_16 = l_Lean_Parser_Module_header___elambda__1(x_11, x_15); +x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); -lean_dec(x_13); -x_18 = 0; -x_19 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_19, 0, x_17); -lean_ctor_set_uint8(x_19, sizeof(void*)*1, x_18); -x_20 = l_Std_PersistentArray_empty___closed__1; -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set(x_21, 1, x_20); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_15); -lean_ctor_set(x_22, 1, x_21); -lean_ctor_set(x_4, 0, x_22); -return x_4; -} -else +x_18 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_17); +lean_dec(x_17); +x_19 = lean_ctor_get(x_16, 3); +lean_inc(x_19); +if (lean_obj_tag(x_19) == 0) { -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; -x_23 = lean_ctor_get(x_16, 0); -lean_inc(x_23); +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_dec(x_11); +x_20 = lean_ctor_get(x_16, 1); +lean_inc(x_20); lean_dec(x_16); -x_24 = lean_ctor_get(x_13, 1); -lean_inc(x_24); -lean_dec(x_13); -x_25 = l_Lean_Parser_Error_toString(x_23); -lean_inc(x_24); -x_26 = l___private_Lean_Parser_Module_0__Lean_Parser_mkErrorMessage(x_8, x_24, x_25); -lean_dec(x_8); -x_27 = 1; -x_28 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_28, 0, x_24); -lean_ctor_set_uint8(x_28, sizeof(void*)*1, x_27); -x_29 = l_Std_PersistentArray_empty___closed__1; -x_30 = l_Std_PersistentArray_push___rarg(x_29, x_26); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_28); -lean_ctor_set(x_31, 1, x_30); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_15); -lean_ctor_set(x_32, 1, x_31); -lean_ctor_set(x_4, 0, x_32); +x_21 = 0; +x_22 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set_uint8(x_22, sizeof(void*)*1, x_21); +x_23 = l_Std_PersistentArray_empty___closed__1; +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_18); +lean_ctor_set(x_25, 1, x_24); +lean_ctor_set(x_4, 0, x_25); +return x_4; +} +else +{ +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; +x_26 = lean_ctor_get(x_19, 0); +lean_inc(x_26); +lean_dec(x_19); +x_27 = lean_ctor_get(x_16, 1); +lean_inc(x_27); +lean_dec(x_16); +x_28 = l_Lean_Parser_Error_toString(x_26); +lean_inc(x_27); +x_29 = l___private_Lean_Parser_Module_0__Lean_Parser_mkErrorMessage(x_11, x_27, x_28); +lean_dec(x_11); +x_30 = 1; +x_31 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_31, 0, x_27); +lean_ctor_set_uint8(x_31, sizeof(void*)*1, x_30); +x_32 = l_Std_PersistentArray_empty___closed__1; +x_33 = l_Std_PersistentArray_push___rarg(x_32, x_29); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_31); +lean_ctor_set(x_34, 1, x_33); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_18); +lean_ctor_set(x_35, 1, x_34); +lean_ctor_set(x_4, 0, x_35); return x_4; } } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_33 = lean_ctor_get(x_4, 0); -x_34 = lean_ctor_get(x_4, 1); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_4); -x_35 = l_Lean_Parser_mkParserContext(x_33, x_1); -x_36 = l_Lean_Parser_Module_updateTokens(x_35); -x_37 = lean_ctor_get(x_36, 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; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_36 = lean_ctor_get(x_4, 0); +x_37 = lean_ctor_get(x_4, 1); lean_inc(x_37); -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -lean_dec(x_37); -x_39 = l_Lean_Parser_mkParserState(x_38); -lean_dec(x_38); -x_40 = l_Lean_Parser_whitespace(x_36, x_39); lean_inc(x_36); -x_41 = l_Lean_Parser_Module_header___elambda__1(x_36, x_40); -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_42); -lean_dec(x_42); -x_44 = lean_ctor_get(x_41, 3); +lean_dec(x_4); +x_38 = lean_box(0); +x_39 = lean_box(0); +x_40 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_40, 0, x_36); +lean_ctor_set(x_40, 1, x_39); +lean_ctor_set(x_40, 2, x_38); +x_41 = l_Lean_Parser_mkParserContext(x_1, x_40); +x_42 = l_Lean_Parser_Module_updateTokens(x_41); +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_43, 0); lean_inc(x_44); -if (lean_obj_tag(x_44) == 0) -{ -lean_object* x_45; uint8_t x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -lean_dec(x_36); -x_45 = lean_ctor_get(x_41, 1); -lean_inc(x_45); -lean_dec(x_41); -x_46 = 0; -x_47 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set_uint8(x_47, sizeof(void*)*1, x_46); -x_48 = l_Std_PersistentArray_empty___closed__1; -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_47); -lean_ctor_set(x_49, 1, x_48); -x_50 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_50, 0, x_43); -lean_ctor_set(x_50, 1, x_49); -x_51 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_34); -return x_51; -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; 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; -x_52 = lean_ctor_get(x_44, 0); -lean_inc(x_52); +lean_dec(x_43); +x_45 = l_Lean_Parser_mkParserState(x_44); lean_dec(x_44); -x_53 = lean_ctor_get(x_41, 1); -lean_inc(x_53); -lean_dec(x_41); -x_54 = l_Lean_Parser_Error_toString(x_52); -lean_inc(x_53); -x_55 = l___private_Lean_Parser_Module_0__Lean_Parser_mkErrorMessage(x_36, x_53, x_54); -lean_dec(x_36); -x_56 = 1; -x_57 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_57, 0, x_53); -lean_ctor_set_uint8(x_57, sizeof(void*)*1, x_56); -x_58 = l_Std_PersistentArray_empty___closed__1; -x_59 = l_Std_PersistentArray_push___rarg(x_58, x_55); -x_60 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_60, 0, x_57); -lean_ctor_set(x_60, 1, x_59); -x_61 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_61, 0, x_43); -lean_ctor_set(x_61, 1, 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_34); -return x_62; +x_46 = l_Lean_Parser_whitespace(x_42, x_45); +lean_inc(x_42); +x_47 = l_Lean_Parser_Module_header___elambda__1(x_42, x_46); +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_48); +lean_dec(x_48); +x_50 = lean_ctor_get(x_47, 3); +lean_inc(x_50); +if (lean_obj_tag(x_50) == 0) +{ +lean_object* x_51; 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_dec(x_42); +x_51 = lean_ctor_get(x_47, 1); +lean_inc(x_51); +lean_dec(x_47); +x_52 = 0; +x_53 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set_uint8(x_53, sizeof(void*)*1, x_52); +x_54 = l_Std_PersistentArray_empty___closed__1; +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_49); +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_37); +return x_57; +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t 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_58 = lean_ctor_get(x_50, 0); +lean_inc(x_58); +lean_dec(x_50); +x_59 = lean_ctor_get(x_47, 1); +lean_inc(x_59); +lean_dec(x_47); +x_60 = l_Lean_Parser_Error_toString(x_58); +lean_inc(x_59); +x_61 = l___private_Lean_Parser_Module_0__Lean_Parser_mkErrorMessage(x_42, x_59, x_60); +lean_dec(x_42); +x_62 = 1; +x_63 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_63, 0, x_59); +lean_ctor_set_uint8(x_63, sizeof(void*)*1, x_62); +x_64 = l_Std_PersistentArray_empty___closed__1; +x_65 = l_Std_PersistentArray_push___rarg(x_64, x_61); +x_66 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_66, 0, x_63); +lean_ctor_set(x_66, 1, x_65); +x_67 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_67, 0, x_49); +lean_ctor_set(x_67, 1, x_66); +x_68 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_68, 1, x_37); +return x_68; } } } else { -uint8_t x_63; +uint8_t x_69; lean_dec(x_1); -x_63 = !lean_is_exclusive(x_4); -if (x_63 == 0) +x_69 = !lean_is_exclusive(x_4); +if (x_69 == 0) { return x_4; } else { -lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_64 = lean_ctor_get(x_4, 0); -x_65 = lean_ctor_get(x_4, 1); -lean_inc(x_65); -lean_inc(x_64); +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_4, 0); +x_71 = lean_ctor_get(x_4, 1); +lean_inc(x_71); +lean_inc(x_70); lean_dec(x_4); -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; +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; } } } @@ -2741,7 +2825,7 @@ lean_object* x_5; uint8_t x_6; lean_object* x_7; uint8_t x_8; x_5 = lean_ctor_get(x_3, 0); lean_inc(x_5); x_6 = lean_ctor_get_uint8(x_3, sizeof(void*)*1); -x_7 = lean_ctor_get(x_2, 0); +x_7 = lean_ctor_get(x_1, 0); lean_inc(x_7); x_8 = lean_string_utf8_at_end(x_7, x_5); if (x_8 == 0) @@ -3020,7 +3104,7 @@ x_5 = l_Lean_Parser_parseCommand_parse(x_1, x_2, x_3, x_4); return x_5; } } -lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop_match__1___rarg(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Parser_testParseModuleAux_parse_match__1___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; @@ -3038,31 +3122,15 @@ x_7 = lean_apply_3(x_2, x_4, x_5, x_6); return x_7; } } -lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop_match__1(lean_object* x_1) { +lean_object* l_Lean_Parser_testParseModuleAux_parse_match__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop_match__1___rarg), 2, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_testParseModuleAux_parse_match__1___rarg), 2, 0); return x_2; } } -lean_object* l_IO_println___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint32_t x_9; lean_object* x_10; lean_object* x_11; -x_3 = lean_box(0); -x_4 = 0; -x_5 = lean_unsigned_to_nat(0u); -x_6 = l_Lean_Syntax_formatStxAux(x_3, x_4, x_5, x_1); -x_7 = lean_box(0); -x_8 = l_Lean_Format_pretty(x_6, x_7); -x_9 = 10; -x_10 = lean_string_push(x_8, x_9); -x_11 = l_IO_print___at_IO_println___spec__1(x_10, x_2); -return x_11; -} -} -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__5(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* l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___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) { _start: { uint8_t x_7; @@ -3073,7 +3141,7 @@ lean_object* x_8; lean_object* x_9; lean_dec(x_5); x_8 = lean_array_uget(x_2, x_3); lean_inc(x_1); -x_9 = l_Std_PersistentArray_forMAux___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__4(x_1, x_8, x_6); +x_9 = l_Std_PersistentArray_forMAux___at_Lean_Parser_testParseModuleAux_parse___spec__3(x_1, x_8, x_6); lean_dec(x_8); if (lean_obj_tag(x_9) == 0) { @@ -3125,7 +3193,7 @@ return x_19; } } } -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__6(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* l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___spec__5(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6) { _start: { uint8_t x_7; @@ -3187,7 +3255,7 @@ return x_19; } } } -lean_object* l_Std_PersistentArray_forMAux___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Std_PersistentArray_forMAux___at_Lean_Parser_testParseModuleAux_parse___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_2) == 0) @@ -3230,7 +3298,7 @@ x_13 = 0; x_14 = lean_usize_of_nat(x_5); lean_dec(x_5); x_15 = lean_box(0); -x_16 = l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__5(x_1, x_4, x_13, x_14, x_15, x_3); +x_16 = l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___spec__4(x_1, x_4, x_13, x_14, x_15, x_3); return x_16; } } @@ -3275,14 +3343,14 @@ x_26 = 0; x_27 = lean_usize_of_nat(x_18); lean_dec(x_18); x_28 = lean_box(0); -x_29 = l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__6(x_1, x_17, x_26, x_27, x_28, x_3); +x_29 = l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___spec__5(x_1, x_17, x_26, x_27, x_28, x_3); return x_29; } } } } } -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__8(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* l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___spec__7(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6) { _start: { uint8_t x_7; @@ -3293,7 +3361,7 @@ lean_object* x_8; lean_object* x_9; lean_dec(x_5); x_8 = lean_array_uget(x_2, x_3); lean_inc(x_1); -x_9 = l_Std_PersistentArray_forMAux___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__7(x_1, x_8, x_6); +x_9 = l_Std_PersistentArray_forMAux___at_Lean_Parser_testParseModuleAux_parse___spec__6(x_1, x_8, x_6); lean_dec(x_8); if (lean_obj_tag(x_9) == 0) { @@ -3345,7 +3413,7 @@ return x_19; } } } -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__9(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* l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___spec__8(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6) { _start: { uint8_t x_7; @@ -3407,7 +3475,7 @@ return x_19; } } } -lean_object* l_Std_PersistentArray_forMAux___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Std_PersistentArray_forMAux___at_Lean_Parser_testParseModuleAux_parse___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_2) == 0) @@ -3450,7 +3518,7 @@ x_13 = 0; x_14 = lean_usize_of_nat(x_5); lean_dec(x_5); x_15 = lean_box(0); -x_16 = l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__8(x_1, x_4, x_13, x_14, x_15, x_3); +x_16 = l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___spec__7(x_1, x_4, x_13, x_14, x_15, x_3); return x_16; } } @@ -3495,14 +3563,14 @@ x_26 = 0; x_27 = lean_usize_of_nat(x_18); lean_dec(x_18); x_28 = lean_box(0); -x_29 = l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__9(x_1, x_17, x_26, x_27, x_28, x_3); +x_29 = l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___spec__8(x_1, x_17, x_26, x_27, x_28, x_3); return x_29; } } } } } -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__11(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* l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___spec__10(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6) { _start: { uint8_t x_7; @@ -3513,7 +3581,7 @@ lean_object* x_8; lean_object* x_9; lean_dec(x_5); x_8 = lean_array_uget(x_2, x_3); lean_inc(x_1); -x_9 = l_Std_PersistentArray_forMAux___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__10(x_1, x_8, x_6); +x_9 = l_Std_PersistentArray_forMAux___at_Lean_Parser_testParseModuleAux_parse___spec__9(x_1, x_8, x_6); lean_dec(x_8); if (lean_obj_tag(x_9) == 0) { @@ -3565,7 +3633,7 @@ return x_19; } } } -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__12(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* l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___spec__11(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6) { _start: { uint8_t x_7; @@ -3627,7 +3695,7 @@ return x_19; } } } -lean_object* l_Std_PersistentArray_forMAux___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Std_PersistentArray_forMAux___at_Lean_Parser_testParseModuleAux_parse___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_2) == 0) @@ -3670,7 +3738,7 @@ x_13 = 0; x_14 = lean_usize_of_nat(x_5); lean_dec(x_5); x_15 = lean_box(0); -x_16 = l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__11(x_1, x_4, x_13, x_14, x_15, x_3); +x_16 = l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___spec__10(x_1, x_4, x_13, x_14, x_15, x_3); return x_16; } } @@ -3715,14 +3783,14 @@ x_26 = 0; x_27 = lean_usize_of_nat(x_18); lean_dec(x_18); x_28 = lean_box(0); -x_29 = l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__12(x_1, x_17, x_26, x_27, x_28, x_3); +x_29 = l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___spec__11(x_1, x_17, x_26, x_27, x_28, x_3); return x_29; } } } } } -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__13(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* l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___spec__12(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6) { _start: { uint8_t x_7; @@ -3784,7 +3852,7 @@ return x_19; } } } -lean_object* l_Std_PersistentArray_forM___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Std_PersistentArray_forM___at_Lean_Parser_testParseModuleAux_parse___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; @@ -3797,7 +3865,7 @@ if (x_8 == 0) { lean_object* x_9; lean_dec(x_6); -x_9 = l_Std_PersistentArray_forMAux___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__4(x_1, x_4, x_3); +x_9 = l_Std_PersistentArray_forMAux___at_Lean_Parser_testParseModuleAux_parse___spec__3(x_1, x_4, x_3); if (lean_obj_tag(x_9) == 0) { uint8_t x_10; @@ -3855,7 +3923,7 @@ if (x_20 == 0) { lean_object* x_21; lean_dec(x_6); -x_21 = l_Std_PersistentArray_forMAux___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__7(x_1, x_4, x_3); +x_21 = l_Std_PersistentArray_forMAux___at_Lean_Parser_testParseModuleAux_parse___spec__6(x_1, x_4, x_3); if (lean_obj_tag(x_21) == 0) { uint8_t x_22; @@ -3912,7 +3980,7 @@ x_32 = 0; x_33 = lean_usize_of_nat(x_6); lean_dec(x_6); lean_inc(x_1); -x_34 = l_Std_PersistentArray_forMAux___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__10(x_1, x_4, x_3); +x_34 = l_Std_PersistentArray_forMAux___at_Lean_Parser_testParseModuleAux_parse___spec__9(x_1, x_4, x_3); if (lean_obj_tag(x_34) == 0) { lean_object* x_35; lean_object* x_36; lean_object* x_37; @@ -3920,7 +3988,7 @@ x_35 = lean_ctor_get(x_34, 1); lean_inc(x_35); lean_dec(x_34); x_36 = lean_box(0); -x_37 = l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__13(x_1, x_5, x_32, x_33, x_36, x_35); +x_37 = l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___spec__12(x_1, x_5, x_32, x_33, x_36, x_35); return x_37; } else @@ -3950,23 +4018,15 @@ return x_41; } } } -lean_object* l_Lean_MessageLog_forM___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_MessageLog_forM___at_Lean_Parser_testParseModuleAux_parse___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_PersistentArray_forM___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__3(x_2, x_1, x_3); +x_4 = l_Std_PersistentArray_forM___at_Lean_Parser_testParseModuleAux_parse___spec__2(x_2, x_1, x_3); return x_4; } } -lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___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) { -_start: -{ -lean_object* x_8; -x_8 = l___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop(x_1, x_2, x_3, x_4, x_5, x_7); -return x_8; -} -} -lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___lambda__2(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Parser_testParseModuleAux_parse___lambda__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -4006,623 +4066,15 @@ return x_10; } } } -static lean_object* _init_l___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___closed__1() { +static lean_object* _init_l_Lean_Parser_testParseModuleAux_parse___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___lambda__2), 2, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_testParseModuleAux_parse___lambda__1), 2, 0); return x_1; } } -lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop(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; lean_object* x_11; uint8_t x_12; -lean_inc(x_2); -lean_inc(x_1); -x_7 = l_Lean_Parser_parseCommand_parse(x_1, x_2, x_4, x_5); -x_8 = lean_ctor_get(x_7, 1); -lean_inc(x_8); -x_9 = lean_ctor_get(x_7, 0); -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, 1); -lean_inc(x_11); -lean_dec(x_8); -lean_inc(x_9); -x_12 = l_Lean_Parser_isEOI(x_9); -if (x_12 == 0) -{ -uint8_t x_13; -lean_inc(x_9); -x_13 = l_Lean_Parser_isExitCommand(x_9); -if (x_13 == 0) -{ -if (x_3 == 0) -{ -lean_dec(x_9); -x_4 = x_10; -x_5 = x_11; -goto _start; -} -else -{ -lean_object* x_15; -x_15 = l_IO_println___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__1(x_9, x_6); -if (lean_obj_tag(x_15) == 0) -{ -lean_object* x_16; -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -lean_dec(x_15); -x_4 = x_10; -x_5 = x_11; -x_6 = x_16; -goto _start; -} -else -{ -uint8_t x_18; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_2); -lean_dec(x_1); -x_18 = !lean_is_exclusive(x_15); -if (x_18 == 0) -{ -return x_15; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -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(1, 2, 0); -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set(x_21, 1, x_20); -return x_21; -} -} -} -} -else -{ -lean_object* x_22; lean_object* x_23; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_2); -lean_dec(x_1); -x_22 = l___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___closed__1; -x_23 = l_Std_PersistentArray_forM___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__3(x_22, x_11, x_6); -if (lean_obj_tag(x_23) == 0) -{ -uint8_t x_24; -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) -{ -lean_object* x_25; uint8_t x_26; -x_25 = lean_ctor_get(x_23, 0); -lean_dec(x_25); -x_26 = l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(x_11); -lean_dec(x_11); -if (x_26 == 0) -{ -uint8_t x_27; lean_object* x_28; -x_27 = 1; -x_28 = lean_box(x_27); -lean_ctor_set(x_23, 0, x_28); -return x_23; -} -else -{ -uint8_t x_29; lean_object* x_30; -x_29 = 0; -x_30 = lean_box(x_29); -lean_ctor_set(x_23, 0, x_30); -return x_23; -} -} -else -{ -lean_object* x_31; uint8_t x_32; -x_31 = lean_ctor_get(x_23, 1); -lean_inc(x_31); -lean_dec(x_23); -x_32 = l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(x_11); -lean_dec(x_11); -if (x_32 == 0) -{ -uint8_t x_33; lean_object* x_34; lean_object* x_35; -x_33 = 1; -x_34 = lean_box(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_31); -return x_35; -} -else -{ -uint8_t x_36; lean_object* x_37; lean_object* x_38; -x_36 = 0; -x_37 = lean_box(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_31); -return x_38; -} -} -} -else -{ -uint8_t x_39; -lean_dec(x_11); -x_39 = !lean_is_exclusive(x_23); -if (x_39 == 0) -{ -return x_23; -} -else -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; -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 = 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 -{ -lean_object* x_43; lean_object* x_44; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_2); -lean_dec(x_1); -x_43 = l___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___closed__1; -x_44 = l_Std_PersistentArray_forM___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__3(x_43, x_11, x_6); -if (lean_obj_tag(x_44) == 0) -{ -uint8_t x_45; -x_45 = !lean_is_exclusive(x_44); -if (x_45 == 0) -{ -lean_object* x_46; uint8_t x_47; -x_46 = lean_ctor_get(x_44, 0); -lean_dec(x_46); -x_47 = l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(x_11); -lean_dec(x_11); -if (x_47 == 0) -{ -uint8_t x_48; lean_object* x_49; -x_48 = 1; -x_49 = lean_box(x_48); -lean_ctor_set(x_44, 0, x_49); -return x_44; -} -else -{ -uint8_t x_50; lean_object* x_51; -x_50 = 0; -x_51 = lean_box(x_50); -lean_ctor_set(x_44, 0, x_51); -return x_44; -} -} -else -{ -lean_object* x_52; uint8_t x_53; -x_52 = lean_ctor_get(x_44, 1); -lean_inc(x_52); -lean_dec(x_44); -x_53 = l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(x_11); -lean_dec(x_11); -if (x_53 == 0) -{ -uint8_t x_54; lean_object* x_55; lean_object* x_56; -x_54 = 1; -x_55 = lean_box(x_54); -x_56 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_52); -return x_56; -} -else -{ -uint8_t x_57; lean_object* x_58; lean_object* x_59; -x_57 = 0; -x_58 = lean_box(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_52); -return x_59; -} -} -} -else -{ -uint8_t x_60; -lean_dec(x_11); -x_60 = !lean_is_exclusive(x_44); -if (x_60 == 0) -{ -return x_44; -} -else -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_61 = lean_ctor_get(x_44, 0); -x_62 = lean_ctor_get(x_44, 1); -lean_inc(x_62); -lean_inc(x_61); -lean_dec(x_44); -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* l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_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) { -_start: -{ -size_t x_7; size_t x_8; lean_object* x_9; -x_7 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_8 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_9 = l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__5(x_1, x_2, x_7, x_8, x_5, x_6); -lean_dec(x_2); -return x_9; -} -} -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_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) { -_start: -{ -size_t x_7; size_t x_8; lean_object* x_9; -x_7 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_8 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_9 = l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__6(x_1, x_2, x_7, x_8, x_5, x_6); -lean_dec(x_2); -return x_9; -} -} -lean_object* l_Std_PersistentArray_forMAux___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Std_PersistentArray_forMAux___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__4(x_1, x_2, x_3); -lean_dec(x_2); -return x_4; -} -} -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___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) { -_start: -{ -size_t x_7; size_t x_8; lean_object* x_9; -x_7 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_8 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_9 = l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__8(x_1, x_2, x_7, x_8, x_5, x_6); -lean_dec(x_2); -return x_9; -} -} -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___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) { -_start: -{ -size_t x_7; size_t x_8; lean_object* x_9; -x_7 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_8 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_9 = l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__9(x_1, x_2, x_7, x_8, x_5, x_6); -lean_dec(x_2); -return x_9; -} -} -lean_object* l_Std_PersistentArray_forMAux___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Std_PersistentArray_forMAux___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__7(x_1, x_2, x_3); -lean_dec(x_2); -return x_4; -} -} -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___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) { -_start: -{ -size_t x_7; size_t x_8; lean_object* x_9; -x_7 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_8 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_9 = l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__11(x_1, x_2, x_7, x_8, x_5, x_6); -lean_dec(x_2); -return x_9; -} -} -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___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: -{ -size_t x_7; size_t x_8; lean_object* x_9; -x_7 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_8 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_9 = l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__12(x_1, x_2, x_7, x_8, x_5, x_6); -lean_dec(x_2); -return x_9; -} -} -lean_object* l_Std_PersistentArray_forMAux___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Std_PersistentArray_forMAux___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__10(x_1, x_2, x_3); -lean_dec(x_2); -return x_4; -} -} -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___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) { -_start: -{ -size_t x_7; size_t x_8; lean_object* x_9; -x_7 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_8 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_9 = l_Array_foldlMUnsafe_fold___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__13(x_1, x_2, x_7, x_8, x_5, x_6); -lean_dec(x_2); -return x_9; -} -} -lean_object* l_Std_PersistentArray_forM___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Std_PersistentArray_forM___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__3(x_1, x_2, x_3); -lean_dec(x_2); -return x_4; -} -} -lean_object* l_Lean_MessageLog_forM___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_MessageLog_forM___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__2(x_1, x_2, x_3); -lean_dec(x_1); -return x_4; -} -} -lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_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) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___lambda__1(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -lean_dec(x_6); -return x_9; -} -} -lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_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) { -_start: -{ -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_3); -lean_dec(x_3); -x_8 = l___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop(x_1, x_2, x_7, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux(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; -x_7 = l___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop(x_1, x_2, x_3, x_4, x_5, x_6); -return x_7; -} -} -lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux___boxed(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_3); -lean_dec(x_3); -x_8 = l___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux(x_1, x_2, x_7, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_Parser_testModuleParser_match__1___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; -x_3 = lean_ctor_get(x_1, 1); -lean_inc(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -lean_dec(x_1); -x_5 = lean_ctor_get(x_3, 0); -lean_inc(x_5); -x_6 = lean_ctor_get(x_3, 1); -lean_inc(x_6); -lean_dec(x_3); -x_7 = lean_apply_3(x_2, x_4, x_5, x_6); -return x_7; -} -} -lean_object* l_Lean_Parser_testModuleParser_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_testModuleParser_match__1___rarg), 2, 0); -return x_2; -} -} -lean_object* l_Lean_Parser_testModuleParser___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = lean_ctor_get(x_4, 1); -lean_inc(x_6); -if (x_3 == 0) -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; -lean_dec(x_4); -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___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop(x_1, x_2, x_3, x_7, x_8, x_5); -return x_9; -} -else -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_10 = lean_ctor_get(x_4, 0); -lean_inc(x_10); -lean_dec(x_4); -x_11 = lean_ctor_get(x_6, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_6, 1); -lean_inc(x_12); -lean_dec(x_6); -x_13 = l_IO_println___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__1(x_10, x_5); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; -x_14 = lean_ctor_get(x_13, 1); -lean_inc(x_14); -lean_dec(x_13); -x_15 = l___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop(x_1, x_2, x_3, x_11, x_12, x_14); -return x_15; -} -else -{ -uint8_t x_16; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_2); -lean_dec(x_1); -x_16 = !lean_is_exclusive(x_13); -if (x_16 == 0) -{ -return x_13; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; -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(1, 2, 0); -lean_ctor_set(x_19, 0, x_17); -lean_ctor_set(x_19, 1, x_18); -return x_19; -} -} -} -} -} -static lean_object* _init_l_Lean_Parser_testModuleParser___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(" parser"); -return x_1; -} -} -lean_object* lean_test_module_parser(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t 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; -x_6 = l_Lean_Parser_testModuleParser___closed__1; -lean_inc(x_3); -x_7 = lean_string_append(x_3, x_6); -x_8 = l_Lean_Parser_mkInputContext(x_2, x_3); -lean_inc(x_8); -x_9 = lean_alloc_closure((void*)(l_Lean_Parser_parseHeader), 2, 1); -lean_closure_set(x_9, 0, x_8); -x_10 = lean_box(x_4); -x_11 = lean_alloc_closure((void*)(l_Lean_Parser_testModuleParser___lambda__1___boxed), 5, 3); -lean_closure_set(x_11, 0, x_1); -lean_closure_set(x_11, 1, x_8); -lean_closure_set(x_11, 2, x_10); -x_12 = lean_alloc_closure((void*)(l_EStateM_bind___rarg), 3, 2); -lean_closure_set(x_12, 0, x_9); -lean_closure_set(x_12, 1, x_11); -x_13 = lean_io_timeit(x_7, x_12, x_5); -lean_dec(x_7); -return x_13; -} -} -lean_object* l_Lean_Parser_testModuleParser___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_3); -lean_dec(x_3); -x_7 = l_Lean_Parser_testModuleParser___lambda__1(x_1, x_2, x_6, x_4, x_5); -return x_7; -} -} -lean_object* l_Lean_Parser_testModuleParser___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_4); -lean_dec(x_4); -x_7 = lean_test_module_parser(x_1, x_2, x_3, x_6, x_5); -return x_7; -} -} -lean_object* l_Lean_Parser_parseModuleAux_parse_match__1___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; -x_3 = lean_ctor_get(x_1, 1); -lean_inc(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -lean_dec(x_1); -x_5 = lean_ctor_get(x_3, 0); -lean_inc(x_5); -x_6 = lean_ctor_get(x_3, 1); -lean_inc(x_6); -lean_dec(x_3); -x_7 = lean_apply_3(x_2, x_4, x_5, x_6); -return x_7; -} -} -lean_object* l_Lean_Parser_parseModuleAux_parse_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_parseModuleAux_parse_match__1___rarg), 2, 0); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_parseModuleAux_parse___closed__1() { +static lean_object* _init_l_Lean_Parser_testParseModuleAux_parse___closed__2() { _start: { lean_object* x_1; @@ -4630,130 +4082,272 @@ x_1 = lean_mk_string("failed to parse file"); return x_1; } } -static lean_object* _init_l_Lean_Parser_parseModuleAux_parse___closed__2() { +static lean_object* _init_l_Lean_Parser_testParseModuleAux_parse___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_parseModuleAux_parse___closed__1; +x_1 = l_Lean_Parser_testParseModuleAux_parse___closed__2; x_2 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Parser_parseModuleAux_parse(lean_object* 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_Parser_testParseModuleAux_parse(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; uint8_t x_12; -lean_inc(x_2); +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_7 = lean_box(0); +x_8 = lean_box(0); lean_inc(x_1); -x_7 = l_Lean_Parser_parseCommand_parse(x_1, x_2, x_3, x_4); -x_8 = lean_ctor_get(x_7, 1); -lean_inc(x_8); -x_9 = lean_ctor_get(x_7, 0); -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, 1); +x_9 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_9, 0, x_1); +lean_ctor_set(x_9, 1, x_8); +lean_ctor_set(x_9, 2, x_7); +lean_inc(x_2); +x_10 = l_Lean_Parser_parseCommand_parse(x_2, x_9, x_3, x_4); +x_11 = lean_ctor_get(x_10, 1); lean_inc(x_11); -lean_dec(x_8); -lean_inc(x_9); -x_12 = l_Lean_Parser_isEOI(x_9); -if (x_12 == 0) +x_12 = lean_ctor_get(x_10, 0); +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); +lean_inc(x_12); +x_15 = l_Lean_Parser_isEOI(x_12); +if (x_15 == 0) { -lean_object* x_13; -x_13 = lean_array_push(x_5, x_9); -x_3 = x_10; -x_4 = x_11; -x_5 = x_13; +lean_object* x_16; +x_16 = lean_array_push(x_5, x_12); +x_3 = x_13; +x_4 = x_14; +x_5 = x_16; goto _start; } else { -uint8_t x_15; -lean_dec(x_10); -lean_dec(x_9); +uint8_t x_18; +lean_dec(x_13); +lean_dec(x_12); lean_dec(x_2); lean_dec(x_1); -x_15 = l_Std_PersistentArray_isEmpty___rarg(x_11); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; -lean_dec(x_5); -x_16 = l___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___closed__1; -x_17 = l_Std_PersistentArray_forM___at___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___spec__3(x_16, x_11, x_6); -lean_dec(x_11); -if (lean_obj_tag(x_17) == 0) -{ -uint8_t x_18; -x_18 = !lean_is_exclusive(x_17); +x_18 = l_Std_PersistentArray_isEmpty___rarg(x_14); if (x_18 == 0) { lean_object* x_19; lean_object* x_20; -x_19 = lean_ctor_get(x_17, 0); -lean_dec(x_19); -x_20 = l_Lean_Parser_parseModuleAux_parse___closed__2; -lean_ctor_set_tag(x_17, 1); -lean_ctor_set(x_17, 0, x_20); -return x_17; +lean_dec(x_5); +x_19 = l_Lean_Parser_testParseModuleAux_parse___closed__1; +x_20 = l_Std_PersistentArray_forM___at_Lean_Parser_testParseModuleAux_parse___spec__2(x_19, x_14, x_6); +lean_dec(x_14); +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; lean_object* x_23; +x_22 = lean_ctor_get(x_20, 0); +lean_dec(x_22); +x_23 = l_Lean_Parser_testParseModuleAux_parse___closed__3; +lean_ctor_set_tag(x_20, 1); +lean_ctor_set(x_20, 0, x_23); +return x_20; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_17, 1); -lean_inc(x_21); -lean_dec(x_17); -x_22 = l_Lean_Parser_parseModuleAux_parse___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); -return x_23; +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_20, 1); +lean_inc(x_24); +lean_dec(x_20); +x_25 = l_Lean_Parser_testParseModuleAux_parse___closed__3; +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +return x_26; } } else { -uint8_t x_24; -x_24 = !lean_is_exclusive(x_17); -if (x_24 == 0) +uint8_t x_27; +x_27 = !lean_is_exclusive(x_20); +if (x_27 == 0) { -return x_17; +return x_20; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_17, 0); -x_26 = lean_ctor_get(x_17, 1); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_17); -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_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_20, 0); +x_29 = lean_ctor_get(x_20, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_20); +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_28; -lean_dec(x_11); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_5); -lean_ctor_set(x_28, 1, x_6); -return x_28; +lean_object* x_31; +lean_dec(x_14); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_5); +lean_ctor_set(x_31, 1, x_6); +return x_31; } } } } -lean_object* l_Lean_Parser_parseModuleAux(lean_object* 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_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___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; +x_7 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_8 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_9 = l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___spec__4(x_1, x_2, x_7, x_8, x_5, x_6); +lean_dec(x_2); +return x_9; +} +} +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___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) { +_start: +{ +size_t x_7; size_t x_8; lean_object* x_9; +x_7 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_8 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_9 = l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___spec__5(x_1, x_2, x_7, x_8, x_5, x_6); +lean_dec(x_2); +return x_9; +} +} +lean_object* l_Std_PersistentArray_forMAux___at_Lean_Parser_testParseModuleAux_parse___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_PersistentArray_forMAux___at_Lean_Parser_testParseModuleAux_parse___spec__3(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___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) { +_start: +{ +size_t x_7; size_t x_8; lean_object* x_9; +x_7 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_8 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_9 = l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___spec__7(x_1, x_2, x_7, x_8, x_5, x_6); +lean_dec(x_2); +return x_9; +} +} +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___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) { +_start: +{ +size_t x_7; size_t x_8; lean_object* x_9; +x_7 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_8 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_9 = l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___spec__8(x_1, x_2, x_7, x_8, x_5, x_6); +lean_dec(x_2); +return x_9; +} +} +lean_object* l_Std_PersistentArray_forMAux___at_Lean_Parser_testParseModuleAux_parse___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_PersistentArray_forMAux___at_Lean_Parser_testParseModuleAux_parse___spec__6(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___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) { +_start: +{ +size_t x_7; size_t x_8; lean_object* x_9; +x_7 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_8 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_9 = l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___spec__10(x_1, x_2, x_7, x_8, x_5, x_6); +lean_dec(x_2); +return x_9; +} +} +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___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) { +_start: +{ +size_t x_7; size_t x_8; lean_object* x_9; +x_7 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_8 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_9 = l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___spec__11(x_1, x_2, x_7, x_8, x_5, x_6); +lean_dec(x_2); +return x_9; +} +} +lean_object* l_Std_PersistentArray_forMAux___at_Lean_Parser_testParseModuleAux_parse___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_PersistentArray_forMAux___at_Lean_Parser_testParseModuleAux_parse___spec__9(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___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: +{ +size_t x_7; size_t x_8; lean_object* x_9; +x_7 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_8 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_9 = l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___spec__12(x_1, x_2, x_7, x_8, x_5, x_6); +lean_dec(x_2); +return x_9; +} +} +lean_object* l_Std_PersistentArray_forM___at_Lean_Parser_testParseModuleAux_parse___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_PersistentArray_forM___at_Lean_Parser_testParseModuleAux_parse___spec__2(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +lean_object* l_Lean_MessageLog_forM___at_Lean_Parser_testParseModuleAux_parse___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_MessageLog_forM___at_Lean_Parser_testParseModuleAux_parse___spec__1(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +lean_object* l_Lean_Parser_testParseModuleAux(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_Parser_parseModuleAux_parse(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Parser_testParseModuleAux_parse(x_1, x_2, x_3, x_4, x_5, x_6); return x_7; } } -lean_object* l_Lean_Parser_parseModule_match__1___rarg(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Parser_testParseModule_match__1___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; @@ -4771,15 +4365,15 @@ x_7 = lean_apply_3(x_2, x_4, x_5, x_6); return x_7; } } -lean_object* l_Lean_Parser_parseModule_match__1(lean_object* x_1) { +lean_object* l_Lean_Parser_testParseModule_match__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_parseModule_match__1___rarg), 2, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_testParseModule_match__1___rarg), 2, 0); return x_2; } } -lean_object* l_Lean_Parser_parseModule(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Parser_testParseModule(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; @@ -4814,7 +4408,7 @@ x_15 = lean_ctor_get(x_11, 1); lean_inc(x_15); lean_dec(x_11); x_16 = l_Array_empty___closed__1; -x_17 = l_Lean_Parser_parseModuleAux_parse(x_1, x_8, x_14, x_15, x_16, x_12); +x_17 = l_Lean_Parser_testParseModuleAux_parse(x_1, x_8, x_14, x_15, x_16, x_12); if (lean_obj_tag(x_17) == 0) { uint8_t x_18; @@ -4939,7 +4533,7 @@ return x_50; } } } -lean_object* l_IO_FS_Handle_mk___at_Lean_Parser_parseFile___spec__2(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4) { +lean_object* l_IO_FS_Handle_mk___at_Lean_Parser_testParseFile___spec__2(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; @@ -4949,13 +4543,13 @@ lean_dec(x_5); return x_6; } } -lean_object* l_IO_FS_readFile___at_Lean_Parser_parseFile___spec__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_IO_FS_readFile___at_Lean_Parser_testParseFile___spec__1(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; uint8_t x_4; lean_object* x_5; x_3 = 0; x_4 = 0; -x_5 = l_IO_FS_Handle_mk___at_Lean_Parser_parseFile___spec__2(x_1, x_3, x_4, x_2); +x_5 = l_IO_FS_Handle_mk___at_Lean_Parser_testParseFile___spec__2(x_1, x_3, x_4, x_2); if (lean_obj_tag(x_5) == 0) { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; @@ -4993,11 +4587,11 @@ return x_13; } } } -lean_object* l_Lean_Parser_parseFile(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_testParseFile(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_IO_FS_readFile___at_Lean_Parser_parseFile___spec__1(x_2, x_3); +x_4 = l_IO_FS_readFile___at_Lean_Parser_testParseFile___spec__1(x_2, x_3); if (lean_obj_tag(x_4) == 0) { lean_object* x_5; lean_object* x_6; lean_object* x_7; @@ -5006,7 +4600,7 @@ lean_inc(x_5); x_6 = lean_ctor_get(x_4, 1); lean_inc(x_6); lean_dec(x_4); -x_7 = l_Lean_Parser_parseModule(x_1, x_2, x_5, x_6); +x_7 = l_Lean_Parser_testParseModule(x_1, x_2, x_5, x_6); return x_7; } else @@ -5035,7 +4629,7 @@ return x_11; } } } -lean_object* l_IO_FS_Handle_mk___at_Lean_Parser_parseFile___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_IO_FS_Handle_mk___at_Lean_Parser_testParseFile___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { uint8_t x_5; uint8_t x_6; lean_object* x_7; @@ -5043,16 +4637,16 @@ x_5 = lean_unbox(x_2); lean_dec(x_2); x_6 = lean_unbox(x_3); lean_dec(x_3); -x_7 = l_IO_FS_Handle_mk___at_Lean_Parser_parseFile___spec__2(x_1, x_5, x_6, x_4); +x_7 = l_IO_FS_Handle_mk___at_Lean_Parser_testParseFile___spec__2(x_1, x_5, x_6, x_4); lean_dec(x_1); return x_7; } } -lean_object* l_IO_FS_readFile___at_Lean_Parser_parseFile___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_IO_FS_readFile___at_Lean_Parser_testParseFile___spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_IO_FS_readFile___at_Lean_Parser_parseFile___spec__1(x_1, x_2); +x_3 = l_IO_FS_readFile___at_Lean_Parser_testParseFile___spec__1(x_1, x_2); lean_dec(x_1); return x_3; } @@ -5373,14 +4967,12 @@ l_Lean_Parser_topLevelCommandParserFn___closed__3 = _init_l_Lean_Parser_topLevel lean_mark_persistent(l_Lean_Parser_topLevelCommandParserFn___closed__3); l_Lean_Parser_topLevelCommandParserFn___closed__4 = _init_l_Lean_Parser_topLevelCommandParserFn___closed__4(); lean_mark_persistent(l_Lean_Parser_topLevelCommandParserFn___closed__4); -l___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___closed__1 = _init_l___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___closed__1(); -lean_mark_persistent(l___private_Lean_Parser_Module_0__Lean_Parser_testModuleParserAux_loop___closed__1); -l_Lean_Parser_testModuleParser___closed__1 = _init_l_Lean_Parser_testModuleParser___closed__1(); -lean_mark_persistent(l_Lean_Parser_testModuleParser___closed__1); -l_Lean_Parser_parseModuleAux_parse___closed__1 = _init_l_Lean_Parser_parseModuleAux_parse___closed__1(); -lean_mark_persistent(l_Lean_Parser_parseModuleAux_parse___closed__1); -l_Lean_Parser_parseModuleAux_parse___closed__2 = _init_l_Lean_Parser_parseModuleAux_parse___closed__2(); -lean_mark_persistent(l_Lean_Parser_parseModuleAux_parse___closed__2); +l_Lean_Parser_testParseModuleAux_parse___closed__1 = _init_l_Lean_Parser_testParseModuleAux_parse___closed__1(); +lean_mark_persistent(l_Lean_Parser_testParseModuleAux_parse___closed__1); +l_Lean_Parser_testParseModuleAux_parse___closed__2 = _init_l_Lean_Parser_testParseModuleAux_parse___closed__2(); +lean_mark_persistent(l_Lean_Parser_testParseModuleAux_parse___closed__2); +l_Lean_Parser_testParseModuleAux_parse___closed__3 = _init_l_Lean_Parser_testParseModuleAux_parse___closed__3(); +lean_mark_persistent(l_Lean_Parser_testParseModuleAux_parse___closed__3); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Parser/Syntax.c b/stage0/stdlib/Lean/Parser/Syntax.c index 17c3e85324..18d9c0be10 100644 --- a/stage0/stdlib/Lean/Parser/Syntax.c +++ b/stage0/stdlib/Lean/Parser/Syntax.c @@ -141,6 +141,7 @@ lean_object* l_Lean_Parser_Command_notation_formatter___closed__7; lean_object* l_Lean_Parser_Syntax_cat___closed__4; lean_object* l_Lean_Parser_Command_macroTail_parenthesizer___closed__4; lean_object* l___regBuiltinParser_Lean_Parser_Syntax_cat(lean_object*); +extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__3; lean_object* l_Lean_Parser_Command_infixr_parenthesizer___closed__1; lean_object* l_Lean_Parser_Command_macroArgSimple___elambda__1___closed__8; lean_object* l_Lean_Parser_Syntax_paren___elambda__1___closed__3; @@ -179,7 +180,6 @@ lean_object* l_Lean_Parser_Term_stx_quot___closed__2; lean_object* l_Lean_Parser_Command_parserKind___elambda__1___closed__3; lean_object* l_Lean_Parser_Command_syntaxAbbrev___closed__4; lean_object* l___regBuiltin_Lean_Parser_Term_stx_quot_formatter(lean_object*); -extern lean_object* l_Lean_Parser_Term_quot_formatter___closed__4; lean_object* l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__4; lean_object* l_Lean_Parser_Command_elab__rules_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_parserPrio_formatter___closed__1; @@ -319,7 +319,6 @@ lean_object* l_Lean_Parser_leadingNode_formatter___boxed(lean_object*, lean_obje lean_object* l_Lean_Parser_Syntax_paren___closed__3; extern lean_object* l_Lean_Parser_Tactic_orelse___closed__5; lean_object* l_Lean_Parser_Syntax_unary___elambda__1(lean_object*, lean_object*); -extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__3; lean_object* l_Lean_Parser_Syntax_binary; lean_object* l_Lean_Parser_Command_elabArg; lean_object* l_Lean_Parser_Command_macroArgSimple___closed__9; @@ -366,7 +365,6 @@ lean_object* l_Lean_Parser_Command_infixl_parenthesizer(lean_object*, lean_objec lean_object* l_Lean_Parser_Command_macroTailTactic_parenthesizer___closed__2; lean_object* l_Lean_Parser_Command_syntax___closed__5; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_4____closed__2; -extern lean_object* l_Lean_Parser_Term_quot_formatter___closed__2; extern lean_object* l_Lean_Parser_Term_match_parenthesizer___closed__4; lean_object* l___regBuiltin_Lean_Parser_Command_syntaxAbbrev_formatter(lean_object*); lean_object* l_Lean_Parser_identEqFn(lean_object*, lean_object*, lean_object*); @@ -376,7 +374,6 @@ lean_object* l_Lean_Parser_Command_elab__rules___closed__3; lean_object* l_Lean_PrettyPrinter_Formatter_optional_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_optKindPrio_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Syntax_nonReserved___closed__3; -extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; lean_object* l_Lean_Parser_Command_macroArgSimple_parenthesizer___closed__6; lean_object* l_Lean_Parser_Command_macroArgSimple___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_15____closed__1; @@ -408,6 +405,7 @@ lean_object* l_Lean_Parser_Syntax_nonReserved_parenthesizer___closed__2; lean_object* l_Lean_Parser_Command_macro__rules___elambda__1___closed__2; lean_object* l_Lean_Parser_Command_infix___closed__4; lean_object* l_Lean_Parser_Syntax_paren_formatter___closed__1; +extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; lean_object* l_Lean_Parser_Command_elabTail___closed__8; lean_object* l_Lean_Parser_Command_prefix___closed__4; lean_object* l_Lean_Parser_Syntax_cat_formatter___closed__3; @@ -642,6 +640,7 @@ lean_object* l_Lean_Parser_Command_optKindPrio_formatter___closed__3; lean_object* l_Lean_Parser_Command_parserKind___closed__3; lean_object* l_Lean_Parser_Command_optPrio_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_mixfix_formatter___closed__2; +extern lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__13; lean_object* l_Lean_Parser_Term_stx_quot___elambda__1___closed__12; 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*); @@ -739,7 +738,6 @@ lean_object* l_Lean_Parser_Command_optKindPrio_parenthesizer___closed__4; lean_object* l_Lean_Parser_Command_elab___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_macroTailCommand_formatter___closed__5; lean_object* l_Lean_Parser_Command_macroTailCommand_parenthesizer___closed__2; -extern lean_object* l_Lean_Parser_Term_quot___closed__5; lean_object* l___regBuiltin_Lean_Parser_Command_syntax_formatter(lean_object*); lean_object* l_Lean_Parser_precedence_parenthesizer___closed__4; lean_object* l_Lean_Parser_Command_syntax_parenthesizer___closed__4; @@ -766,6 +764,7 @@ lean_object* l_Lean_Parser_Command_parserKind___elambda__1___closed__5; lean_object* l_Lean_Parser_Command_elabTail___closed__6; lean_object* l_Lean_Parser_Command_macroArgSimple___elambda__1___closed__2; lean_object* l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__3; +extern lean_object* l_Lean_Parser_Term_dynamicQuot_formatter___closed__2; lean_object* l_Lean_Parser_Syntax_unary; lean_object* l_Lean_Parser_Term_stx_quot_parenthesizer___closed__3; lean_object* l___regBuiltin_Lean_Parser_Syntax_cat_formatter(lean_object*); @@ -869,6 +868,8 @@ lean_object* l_Lean_Parser_precedenceLit___closed__3; lean_object* l_Lean_Parser_Command_parserKind___elambda__1___closed__6; lean_object* l_Lean_Parser_Command_optKindPrio___elambda__1___closed__2; lean_object* l_Lean_Parser_Command_optKindPrio___elambda__1(lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Term_dynamicQuot___closed__6; +extern lean_object* l_Lean_Parser_Term_quot_formatter___closed__3; lean_object* l_Lean_Parser_Syntax_nonReserved_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Syntax_atom___closed__1; lean_object* l_Lean_Parser_Command_macroArgSimple___elambda__1___closed__10; @@ -885,7 +886,6 @@ lean_object* l_Lean_Parser_Command_syntaxCat___closed__6; lean_object* l_Lean_Parser_Command_macro_parenthesizer___closed__2; lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__13; lean_object* l_Lean_Parser_Command_infix___elambda__1___closed__6; -extern lean_object* l_Lean_Parser_Term_quot___elambda__1___closed__12; lean_object* l_Lean_Parser_Command_syntaxCat_parenthesizer___closed__1; lean_object* l_Lean_Parser_Command_optKind___elambda__1___closed__2; lean_object* l_Lean_Parser_Command_parserKindPrio_formatter___closed__2; @@ -934,7 +934,6 @@ lean_object* l_Lean_Parser_Command_macro; lean_object* l_Lean_Parser_Command_syntax___closed__6; lean_object* l_Lean_Parser_Term_stx_quot___elambda__1___closed__8; lean_object* l_Lean_Parser_Command_infix_parenthesizer___closed__1; -extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__3; lean_object* l_Lean_Parser_Command_optKindPrio___closed__2; lean_object* l_Lean_Parser_Command_notation_formatter___closed__1; lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__1; @@ -1031,6 +1030,7 @@ lean_object* l_Lean_Parser_Term_stx_quot_formatter(lean_object*, lean_object*, l lean_object* l_Lean_Parser_Command_identPrec___elambda__1___closed__6; lean_object* l_Lean_Parser_Command_macroTailDefault; lean_object* l_Lean_Parser_Term_stx_quot___closed__7; +extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__3; lean_object* l_Lean_Parser_Command_mixfix___closed__6; lean_object* l_Lean_Parser_Command_elab___elambda__1___closed__5; lean_object* l_Lean_Parser_Command_elab___closed__11; @@ -3193,7 +3193,7 @@ static lean_object* _init_l_Lean_Parser_Syntax_unary_formatter___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__3; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____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); @@ -3273,7 +3273,7 @@ static lean_object* _init_l_Lean_Parser_Syntax_unary_parenthesizer___closed__2() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__3; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____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); @@ -3636,7 +3636,7 @@ static lean_object* _init_l_Lean_Parser_Syntax_binary_formatter___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__3; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__3; x_2 = l_Lean_Parser_Syntax_binary_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); @@ -3740,7 +3740,7 @@ static lean_object* _init_l_Lean_Parser_Syntax_binary_parenthesizer___closed__4( _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__3; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__3; x_2 = l_Lean_Parser_Syntax_binary_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); @@ -6143,7 +6143,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Command_mixfix(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_3 = l_Lean_Parser_Command_mixfix___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Command_mixfix; @@ -7752,7 +7752,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Command_notation(lean_object* x_1) _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_3 = l_Lean_Parser_Command_notation___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Command_notation; @@ -8433,7 +8433,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Command_macro__rules(lean_object* _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_3 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Command_macro__rules; @@ -9580,7 +9580,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Command_syntax(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_3 = l_Lean_Parser_Command_syntax___elambda__1___closed__1; x_4 = 1; x_5 = l_Lean_Parser_Command_syntax; @@ -10483,7 +10483,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Command_syntaxAbbrev(lean_object* _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_3 = l_Lean_Parser_Command_syntaxAbbrev___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Command_syntaxAbbrev; @@ -10878,7 +10878,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Command_syntaxCat(lean_object* x_1 _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_3 = l_Lean_Parser_Command_syntaxCat___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Command_syntaxCat; @@ -11393,7 +11393,7 @@ static lean_object* _init_l_Lean_Parser_Command_macroTailTactic___elambda__1___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_quot___elambda__1___closed__12; +x_1 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__13; x_2 = l_Lean_Parser_Tactic_quotSeq___elambda__1___closed__6; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -11455,7 +11455,7 @@ static lean_object* _init_l_Lean_Parser_Command_macroTailTactic___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_quot___closed__5; +x_1 = l_Lean_Parser_Term_dynamicQuot___closed__6; x_2 = l_Lean_Parser_Tactic_quotSeq___closed__1; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; @@ -11527,7 +11527,7 @@ static lean_object* _init_l_Lean_Parser_Command_macroTailCommand___elambda__1___ _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_identEqFn), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -11571,7 +11571,7 @@ 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_Term_quot___elambda__1___closed__12; +x_1 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__13; x_2 = l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__4; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -11633,7 +11633,7 @@ 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_Term_quot___closed__5; +x_1 = l_Lean_Parser_Term_dynamicQuot___closed__6; x_2 = l_Lean_Parser_Command_macroTailCommand___closed__1; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; @@ -11739,7 +11739,7 @@ static lean_object* _init_l_Lean_Parser_Command_macroTailDefault___elambda__1___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_quot___elambda__1___closed__12; +x_1 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__13; 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); @@ -11813,7 +11813,7 @@ 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_Term_quot___closed__5; +x_1 = l_Lean_Parser_Term_dynamicQuot___closed__6; x_2 = l_Lean_Parser_Command_macroTailDefault___closed__2; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; @@ -12283,7 +12283,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Command_macro(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_3 = l_Lean_Parser_Command_macro___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Command_macro; @@ -12323,7 +12323,7 @@ static lean_object* _init_l_Lean_Parser_Command_macroArgSimple_formatter___close _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__3; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__3; x_2 = l_Lean_Parser_Command_macroArgSimple_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); @@ -12447,7 +12447,7 @@ static lean_object* _init_l_Lean_Parser_Command_macroTailTactic_formatter___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_quot_formatter___closed__2; +x_1 = l_Lean_Parser_Term_dynamicQuot_formatter___closed__2; x_2 = l_Lean_Parser_Tactic_quotSeq_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); @@ -12493,7 +12493,7 @@ static lean_object* _init_l_Lean_Parser_Command_macroTailCommand_formatter___clo _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_quot_formatter___closed__4; +x_1 = l_Lean_Parser_Term_quot_formatter___closed__3; x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_toggleInsideQuot_formatter), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -12515,7 +12515,7 @@ 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_Term_quot_formatter___closed__2; +x_1 = l_Lean_Parser_Term_dynamicQuot_formatter___closed__2; x_2 = l_Lean_Parser_Command_macroTailCommand_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); @@ -12603,7 +12603,7 @@ 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_Term_quot_formatter___closed__2; +x_1 = l_Lean_Parser_Term_dynamicQuot_formatter___closed__2; 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); @@ -12894,7 +12894,7 @@ static lean_object* _init_l_Lean_Parser_Command_macroArgSimple_parenthesizer___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__3; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__3; x_2 = l_Lean_Parser_Command_macroArgSimple_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); @@ -13673,7 +13673,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Command_elab__rules(lean_object* x _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_3 = l_Lean_Parser_Command_elab__rules___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Command_elab__rules; @@ -14457,7 +14457,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Command_elab(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_3 = l_Lean_Parser_Command_elab___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_Command_elab; diff --git a/stage0/stdlib/Lean/Parser/Tactic.c b/stage0/stdlib/Lean/Parser/Tactic.c index 06dfe92722..69f6795f34 100644 --- a/stage0/stdlib/Lean/Parser/Tactic.c +++ b/stage0/stdlib/Lean/Parser/Tactic.c @@ -226,147 +226,239 @@ uint8_t x_3; x_3 = !lean_is_exclusive(x_1); if (x_3 == 0) { -lean_object* x_4; lean_object* x_5; uint8_t x_6; +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; x_4 = lean_ctor_get(x_1, 0); -x_5 = lean_ctor_get(x_1, 4); -lean_dec(x_5); -x_6 = !lean_is_exclusive(x_4); -if (x_6 == 0) +x_5 = lean_ctor_get(x_1, 1); +x_6 = lean_ctor_get(x_1, 4); +lean_dec(x_6); +x_7 = !lean_is_exclusive(x_4); +if (x_7 == 0) { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_7 = lean_ctor_get(x_2, 1); -lean_inc(x_7); -x_8 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_1, 4, x_8); +uint8_t x_8; +x_8 = !lean_is_exclusive(x_5); +if (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_2, 1); +lean_inc(x_9); +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_1, 4, x_10); lean_inc(x_1); -x_9 = l_Lean_Parser_ident___elambda__1(x_1, x_2); -x_10 = lean_ctor_get(x_9, 3); -lean_inc(x_10); -if (lean_obj_tag(x_10) == 0) +x_11 = l_Lean_Parser_ident___elambda__1(x_1, x_2); +x_12 = lean_ctor_get(x_11, 3); +lean_inc(x_12); +if (lean_obj_tag(x_12) == 0) { -lean_object* x_11; uint8_t x_12; lean_object* x_13; -x_11 = l_Lean_Parser_Tactic_unknown___elambda__1___lambda__1___closed__1; -x_12 = 1; -x_13 = l_Lean_Parser_errorAtSavedPosFn(x_11, x_12, x_1, x_9); -return x_13; +lean_object* x_13; uint8_t x_14; lean_object* x_15; +x_13 = l_Lean_Parser_Tactic_unknown___elambda__1___lambda__1___closed__1; +x_14 = 1; +x_15 = l_Lean_Parser_errorAtSavedPosFn(x_13, x_14, x_1, x_11); +return x_15; } else { -lean_dec(x_10); +lean_dec(x_12); lean_dec(x_1); -return x_9; +return x_11; } } 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; -x_14 = lean_ctor_get(x_4, 0); -x_15 = lean_ctor_get(x_4, 1); -x_16 = lean_ctor_get(x_4, 2); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_dec(x_4); -x_17 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_17, 0, x_14); -lean_ctor_set(x_17, 1, x_15); -lean_ctor_set(x_17, 2, x_16); -x_18 = lean_ctor_get(x_2, 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; +x_16 = lean_ctor_get(x_5, 0); +x_17 = lean_ctor_get(x_5, 1); +x_18 = lean_ctor_get(x_5, 2); lean_inc(x_18); -x_19 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_1, 4, x_19); -lean_ctor_set(x_1, 0, x_17); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_5); +x_19 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_19, 0, x_16); +lean_ctor_set(x_19, 1, x_17); +lean_ctor_set(x_19, 2, x_18); +x_20 = lean_ctor_get(x_2, 1); +lean_inc(x_20); +x_21 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_1, 4, x_21); +lean_ctor_set(x_1, 1, x_19); lean_inc(x_1); -x_20 = l_Lean_Parser_ident___elambda__1(x_1, x_2); -x_21 = lean_ctor_get(x_20, 3); -lean_inc(x_21); -if (lean_obj_tag(x_21) == 0) +x_22 = l_Lean_Parser_ident___elambda__1(x_1, x_2); +x_23 = lean_ctor_get(x_22, 3); +lean_inc(x_23); +if (lean_obj_tag(x_23) == 0) { -lean_object* x_22; uint8_t x_23; lean_object* x_24; -x_22 = l_Lean_Parser_Tactic_unknown___elambda__1___lambda__1___closed__1; -x_23 = 1; -x_24 = l_Lean_Parser_errorAtSavedPosFn(x_22, x_23, x_1, x_20); -return x_24; +lean_object* x_24; uint8_t x_25; lean_object* x_26; +x_24 = l_Lean_Parser_Tactic_unknown___elambda__1___lambda__1___closed__1; +x_25 = 1; +x_26 = l_Lean_Parser_errorAtSavedPosFn(x_24, x_25, x_1, x_22); +return x_26; } else { -lean_dec(x_21); +lean_dec(x_23); lean_dec(x_1); -return x_20; +return x_22; } } } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t 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; -x_25 = lean_ctor_get(x_1, 0); -x_26 = lean_ctor_get(x_1, 1); -x_27 = lean_ctor_get(x_1, 2); -x_28 = lean_ctor_get(x_1, 3); -x_29 = lean_ctor_get_uint8(x_1, sizeof(void*)*6); -x_30 = lean_ctor_get_uint8(x_1, sizeof(void*)*6 + 1); -x_31 = lean_ctor_get(x_1, 5); -lean_inc(x_31); +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_27 = lean_ctor_get(x_4, 0); +x_28 = lean_ctor_get(x_4, 1); +x_29 = lean_ctor_get(x_4, 2); +lean_inc(x_29); lean_inc(x_28); lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_1); -x_32 = lean_ctor_get(x_25, 0); +lean_dec(x_4); +x_30 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_30, 0, x_27); +lean_ctor_set(x_30, 1, x_28); +lean_ctor_set(x_30, 2, x_29); +x_31 = lean_ctor_get(x_5, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_5, 1); lean_inc(x_32); -x_33 = lean_ctor_get(x_25, 1); +x_33 = lean_ctor_get(x_5, 2); lean_inc(x_33); -x_34 = lean_ctor_get(x_25, 2); -lean_inc(x_34); -if (lean_is_exclusive(x_25)) { - lean_ctor_release(x_25, 0); - lean_ctor_release(x_25, 1); - lean_ctor_release(x_25, 2); - x_35 = x_25; +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_34 = x_5; } else { - lean_dec_ref(x_25); - x_35 = lean_box(0); + lean_dec_ref(x_5); + x_34 = lean_box(0); } -if (lean_is_scalar(x_35)) { - x_36 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_34)) { + x_35 = lean_alloc_ctor(0, 3, 0); } else { - x_36 = x_35; + x_35 = x_34; } -lean_ctor_set(x_36, 0, x_32); -lean_ctor_set(x_36, 1, x_33); -lean_ctor_set(x_36, 2, x_34); -x_37 = lean_ctor_get(x_2, 1); -lean_inc(x_37); -x_38 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_38, 0, x_37); -x_39 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_39, 0, x_36); -lean_ctor_set(x_39, 1, x_26); -lean_ctor_set(x_39, 2, x_27); -lean_ctor_set(x_39, 3, x_28); -lean_ctor_set(x_39, 4, x_38); -lean_ctor_set(x_39, 5, x_31); -lean_ctor_set_uint8(x_39, sizeof(void*)*6, x_29); -lean_ctor_set_uint8(x_39, sizeof(void*)*6 + 1, x_30); +lean_ctor_set(x_35, 0, x_31); +lean_ctor_set(x_35, 1, x_32); +lean_ctor_set(x_35, 2, x_33); +x_36 = lean_ctor_get(x_2, 1); +lean_inc(x_36); +x_37 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_1, 4, x_37); +lean_ctor_set(x_1, 1, x_35); +lean_ctor_set(x_1, 0, x_30); +lean_inc(x_1); +x_38 = l_Lean_Parser_ident___elambda__1(x_1, x_2); +x_39 = lean_ctor_get(x_38, 3); lean_inc(x_39); -x_40 = l_Lean_Parser_ident___elambda__1(x_39, x_2); -x_41 = lean_ctor_get(x_40, 3); -lean_inc(x_41); -if (lean_obj_tag(x_41) == 0) +if (lean_obj_tag(x_39) == 0) { -lean_object* x_42; uint8_t x_43; lean_object* x_44; -x_42 = l_Lean_Parser_Tactic_unknown___elambda__1___lambda__1___closed__1; -x_43 = 1; -x_44 = l_Lean_Parser_errorAtSavedPosFn(x_42, x_43, x_39, x_40); -return x_44; +lean_object* x_40; uint8_t x_41; lean_object* x_42; +x_40 = l_Lean_Parser_Tactic_unknown___elambda__1___lambda__1___closed__1; +x_41 = 1; +x_42 = l_Lean_Parser_errorAtSavedPosFn(x_40, x_41, x_1, x_38); +return x_42; } else { -lean_dec(x_41); lean_dec(x_39); -return x_40; +lean_dec(x_1); +return x_38; +} +} +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; uint8_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; +x_43 = lean_ctor_get(x_1, 0); +x_44 = lean_ctor_get(x_1, 1); +x_45 = lean_ctor_get(x_1, 2); +x_46 = lean_ctor_get(x_1, 3); +x_47 = lean_ctor_get_uint8(x_1, sizeof(void*)*6); +x_48 = lean_ctor_get_uint8(x_1, sizeof(void*)*6 + 1); +x_49 = lean_ctor_get(x_1, 5); +lean_inc(x_49); +lean_inc(x_46); +lean_inc(x_45); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_1); +x_50 = lean_ctor_get(x_43, 0); +lean_inc(x_50); +x_51 = lean_ctor_get(x_43, 1); +lean_inc(x_51); +x_52 = lean_ctor_get(x_43, 2); +lean_inc(x_52); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + lean_ctor_release(x_43, 2); + x_53 = x_43; +} else { + lean_dec_ref(x_43); + x_53 = lean_box(0); +} +if (lean_is_scalar(x_53)) { + x_54 = lean_alloc_ctor(0, 3, 0); +} else { + x_54 = x_53; +} +lean_ctor_set(x_54, 0, x_50); +lean_ctor_set(x_54, 1, x_51); +lean_ctor_set(x_54, 2, x_52); +x_55 = lean_ctor_get(x_44, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_44, 1); +lean_inc(x_56); +x_57 = lean_ctor_get(x_44, 2); +lean_inc(x_57); +if (lean_is_exclusive(x_44)) { + lean_ctor_release(x_44, 0); + lean_ctor_release(x_44, 1); + lean_ctor_release(x_44, 2); + x_58 = x_44; +} else { + lean_dec_ref(x_44); + x_58 = lean_box(0); +} +if (lean_is_scalar(x_58)) { + x_59 = lean_alloc_ctor(0, 3, 0); +} else { + x_59 = x_58; +} +lean_ctor_set(x_59, 0, x_55); +lean_ctor_set(x_59, 1, x_56); +lean_ctor_set(x_59, 2, x_57); +x_60 = lean_ctor_get(x_2, 1); +lean_inc(x_60); +x_61 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_61, 0, x_60); +x_62 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_62, 0, x_54); +lean_ctor_set(x_62, 1, x_59); +lean_ctor_set(x_62, 2, x_45); +lean_ctor_set(x_62, 3, x_46); +lean_ctor_set(x_62, 4, x_61); +lean_ctor_set(x_62, 5, x_49); +lean_ctor_set_uint8(x_62, sizeof(void*)*6, x_47); +lean_ctor_set_uint8(x_62, sizeof(void*)*6 + 1, x_48); +lean_inc(x_62); +x_63 = l_Lean_Parser_ident___elambda__1(x_62, x_2); +x_64 = lean_ctor_get(x_63, 3); +lean_inc(x_64); +if (lean_obj_tag(x_64) == 0) +{ +lean_object* x_65; uint8_t x_66; lean_object* x_67; +x_65 = l_Lean_Parser_Tactic_unknown___elambda__1___lambda__1___closed__1; +x_66 = 1; +x_67 = l_Lean_Parser_errorAtSavedPosFn(x_65, x_66, x_62, x_63); +return x_67; +} +else +{ +lean_dec(x_64); +lean_dec(x_62); +return x_63; } } } diff --git a/stage0/stdlib/Lean/Parser/Term.c b/stage0/stdlib/Lean/Parser/Term.c index 37c04f2050..9c732f5c47 100644 --- a/stage0/stdlib/Lean/Parser/Term.c +++ b/stage0/stdlib/Lean/Parser/Term.c @@ -35,9 +35,11 @@ extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1890 lean_object* l_Lean_Parser_Term_binderTactic_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_matchAlts_parenthesizer___closed__1; lean_object* l_Lean_Parser_Level_quot___closed__3; +lean_object* l_Lean_Parser_Term_dynamicQuot; lean_object* l_Lean_Parser_Term_funImplicitBinder_formatter___closed__5; lean_object* l_Lean_Parser_Term_dbgTrace_parenthesizer___closed__4; extern lean_object* l_Lean_Name_toString___closed__1; +lean_object* l_Lean_Parser_Term_dynamicQuot___closed__11; lean_object* l_Lean_Parser_Term_letrec_formatter___closed__4; lean_object* l_Lean_Parser_Term_paren_formatter___closed__5; lean_object* l_Lean_Parser_Term_instBinder_formatter___closed__5; @@ -78,7 +80,6 @@ extern lean_object* l_Lean_Parser_Level_num_formatter___closed__1; lean_object* l_Lean_Parser_darrow___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_quotedName___closed__4; lean_object* l_Lean_Parser_Term_letIdLhs___closed__7; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__2; lean_object* l_Lean_Parser_Term_emptyC_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_letDecl_formatter___closed__6; lean_object* l_Lean_Parser_Term_app___elambda__1___closed__1; @@ -147,8 +148,8 @@ lean_object* l_Lean_Parser_Term_explicit___elambda__1___closed__2; lean_object* l_Lean_Parser_ParserState_mkError(lean_object*, lean_object*); extern lean_object* l_Lean_Syntax_isQuot_match__1___rarg___closed__1; lean_object* l_Lean_Parser_Term_optType___closed__2; -extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__37; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed___elambda__1___closed__7; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__9; lean_object* l_Lean_Parser_Term_explicit_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_whereDecls_formatter___closed__5; lean_object* l_Lean_Parser_Term_binderTactic___elambda__1___closed__6; @@ -193,6 +194,7 @@ lean_object* l_Lean_Parser_Term_matchAltsWhereDecls_formatter___closed__5; lean_object* l_Lean_Parser_Term_attrInstance_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_funImplicitBinder_formatter___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_ensureTypeOf_parenthesizer(lean_object*); +extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__1; extern lean_object* l_Lean_Parser_Level_num_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_instBinder_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_let_x21___closed__8; @@ -275,7 +277,6 @@ lean_object* l_Lean_Parser_Term_unreachable___closed__6; lean_object* l_Lean_Parser_Term_let_formatter___closed__7; lean_object* l_Lean_Parser_tacticParser_formatter___boxed(lean_object*); lean_object* l_Lean_Parser_Term_letDecl_parenthesizer___closed__5; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__21; lean_object* l_Lean_Parser_Term_haveAssign___closed__2; lean_object* l_Lean_Parser_Term_nativeDecide___elambda__1___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_let_parenthesizer___closed__1; @@ -298,9 +299,11 @@ lean_object* l_Lean_Parser_Term_stateRefT___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_match_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkStackTop_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Parser_Term_ensureTypeOf_formatter(lean_object*); +lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_letEqnsDecl___closed__1; lean_object* l_Lean_Parser_Term_quotedName___closed__1; lean_object* l_Lean_Parser_Term_explicit___elambda__1___closed__1; +lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_instBinder___closed__5; lean_object* l_Lean_Parser_Term_paren___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_parenSpecial_formatter___closed__2; @@ -312,7 +315,6 @@ lean_object* l_Lean_Parser_Term_namedArgument___closed__5; lean_object* l_Lean_Parser_Term_app_formatter___closed__6; lean_object* l_Lean_Parser_Term_pipeProj___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__19; extern lean_object* l_Lean_Parser_Level_max_parenthesizer___closed__2; lean_object* l___regBuiltin_Lean_Parser_Term_pipeProj_formatter(lean_object*); lean_object* l_Lean_Parser_Term_typeOf___closed__4; @@ -333,6 +335,7 @@ lean_object* l_Lean_Parser_Term_type___elambda__1___closed__13; lean_object* l_Lean_Parser_Tactic_quot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_depArrow___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__10; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__19; lean_object* l_Lean_Parser_Term_emptyC_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_have___closed__2; lean_object* l_Lean_Parser_Term_have___elambda__1___lambda__1(lean_object*, lean_object*, lean_object*); @@ -367,22 +370,24 @@ lean_object* l_Lean_Parser_Term_letrec___elambda__1___lambda__1(lean_object*, le extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1161____closed__27; lean_object* l_Lean_Parser_Term_prop_formatter___closed__3; lean_object* l_Lean_Parser_Term_letIdDecl_parenthesizer___closed__3; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__6; lean_object* l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Level_quot_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_funSimpleBinder___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_quotSeq___elambda__1___closed__7; lean_object* l_Lean_Parser_Level_quot_formatter___closed__4; lean_object* l_Lean_Parser_Term_type___elambda__1___closed__7; +lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__4; lean_object* l___regBuiltin_Lean_Parser_Term_nomatch_formatter___closed__1; lean_object* l_Lean_Parser_Term_match_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_simpleBinder_parenthesizer___closed__2; lean_object* l___regBuiltin_Lean_Parser_Term_match__syntax_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_letIdLhs_parenthesizer___closed__4; +extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__3; lean_object* l_Lean_Parser_Term_parser_x21___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_matchAlts_parenthesizer___closed__8; lean_object* l_Lean_Parser_Term_cdot___closed__8; lean_object* l_Lean_Parser_Term_sort_parenthesizer___closed__1; +lean_object* l___regBuiltin_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_matchAlts___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_letDecl_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_structInst_formatter___closed__12; @@ -438,6 +443,7 @@ lean_object* l___regBuiltin_Lean_Parser_Term_subst_formatter(lean_object*); lean_object* l_Lean_Parser_Term_letPatDecl; lean_object* l_Lean_Parser_Term_assert; lean_object* l_Lean_Parser_Term_letrec_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_ensureTypeOf_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_typeAscription___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_show_parenthesizer___closed__3; @@ -506,6 +512,7 @@ lean_object* l_Lean_Parser_Term_sort___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_ensureExpectedType_parenthesizer___closed__3; extern lean_object* l_Lean_Parser_Tactic_let___closed__2; lean_object* l_Lean_Parser_Term_unreachable_parenthesizer___closed__2; +lean_object* l_Lean_Parser_Term_dynamicQuot___closed__9; lean_object* l_Lean_Parser_Term_attributes___closed__4; lean_object* l_Lean_Parser_Term_namedPattern___closed__3; lean_object* l_Lean_PrettyPrinter_Formatter_orelse_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -565,6 +572,7 @@ lean_object* l_Lean_Parser_Tactic_tacticSeq_parenthesizer___closed__1; lean_object* l_Lean_Parser_ParserState_mkNode(lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_14258____closed__15; lean_object* l_Lean_Parser_Term_ident___closed__1; +lean_object* l_Lean_Parser_Term_dynamicQuot___closed__4; lean_object* l_Lean_Parser_Term_matchDiscr___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_tupleTail___elambda__1___closed__6; lean_object* l___regBuiltin_Lean_Parser_Term_cdot_parenthesizer(lean_object*); @@ -579,6 +587,7 @@ lean_object* l___regBuiltin_Lean_Parser_Term_inaccessible_parenthesizer(lean_obj lean_object* l_Lean_Parser_Term_arrow___closed__2; lean_object* l_Lean_Parser_Term_attributes___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_nomatch___elambda__1___closed__1; +lean_object* l_Lean_Parser_Term_dynamicQuot_formatter___closed__7; lean_object* l_Lean_Parser_Level_quot_formatter___closed__5; lean_object* l___regBuiltin_Lean_Parser_Term_quotedName_formatter___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_namedPattern_formatter___closed__1; @@ -644,7 +653,6 @@ lean_object* l_Lean_Parser_Term_bracketedBinder_formatter___closed__1; lean_object* l_Lean_Parser_Term_type_parenthesizer___closed__7; lean_object* l_Lean_Parser_orelseFn(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_registerBuiltinDynamicParserAttribute(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__1; lean_object* l_Lean_Parser_Term_namedArgument___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_ensureTypeOf___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_ensureTypeOf___closed__7; @@ -715,6 +723,7 @@ lean_object* l_Lean_Parser_Term_hole_formatter___closed__2; lean_object* l_Lean_Parser_Term_borrowed_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_namedArgument___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_assert___elambda__1___closed__10; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__17; lean_object* l___regBuiltinParser_Lean_Parser_Term_let(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_toggleInsideQuot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_type_formatter___closed__5; @@ -759,7 +768,6 @@ lean_object* l_Lean_Parser_Tactic_tacticSeq_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_structInstArrayRef_formatter___closed__1; lean_object* l_Lean_Parser_Term_parser_x21_formatter___closed__2; lean_object* l_Lean_Parser_Term_funBinder_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__17; lean_object* l_Lean_Parser_Term_structInstLVal___closed__9; lean_object* l_Lean_Parser_Term_namedPattern___elambda__1___closed__3; extern lean_object* l_Lean_Parser_Tactic_have___closed__6; @@ -784,7 +792,6 @@ lean_object* l_Lean_Parser_Term_emptyC_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_basicFun___closed__1; lean_object* l_Lean_Parser_Term_let_x21_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_depArrow_formatter___closed__4; -extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__1; lean_object* l_Lean_Parser_Term_quotedName___elambda__1___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_panic_formatter(lean_object*); extern lean_object* l___kind_stx____x40_Init_Notation___hyg_12776____closed__2; @@ -796,7 +803,6 @@ lean_object* l_Lean_Parser_Term_anonymousCtor___closed__9; lean_object* l_Lean_Parser_Term_sorry___closed__1; lean_object* l_Lean_Parser_Level_quot_formatter___closed__3; lean_object* l_Lean_PrettyPrinter_Formatter_fieldIdx_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__8; lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_let_x21___closed__6; lean_object* l_Lean_Parser_Term_byTactic_formatter___closed__1; @@ -852,7 +858,6 @@ lean_object* l_Lean_Parser_Term_parser_x21___closed__7; lean_object* l_Lean_Parser_Term_assert___closed__4; lean_object* l_Lean_Parser_Term_fun_parenthesizer___closed__6; lean_object* l_Lean_Parser_Term_funImplicitBinder_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__3; lean_object* l_Lean_Parser_Term_have___closed__7; lean_object* l_Lean_Parser_Term_typeAscription_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_prop_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -882,6 +887,7 @@ lean_object* l_Lean_Parser_Term_tparser_x21___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_typeOf___closed__7; lean_object* l_Lean_Parser_Term_explicitBinder_parenthesizer___closed__5; lean_object* l_Lean_Parser_Term_typeOf_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__4; lean_object* l_Lean_Parser_Term_match__syntax___elambda__1___closed__10; lean_object* l_Lean_Parser_Term_str_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_funSimpleBinder; @@ -943,8 +949,10 @@ lean_object* l_Lean_Parser_checkPrecFn(lean_object*, lean_object*, lean_object*) lean_object* l_Lean_Parser_Term_panic_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_parser_x21___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_typeOf_parenthesizer___closed__2; +extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__39; lean_object* l_Lean_PrettyPrinter_Parenthesizer_atomic_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_letIdLhs_parenthesizer___closed__6; +lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_basicFun_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_inaccessible; lean_object* l_Lean_Parser_Term_binderTactic___elambda__1___closed__4; @@ -965,6 +973,8 @@ lean_object* l_Lean_Parser_Term_suffices___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_matchDiscr___closed__5; lean_object* l_Lean_Parser_Term_attrArg___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_let_x21___closed__5; +lean_object* l___regBuiltin_Lean_Parser_Term_dynamicQuot_formatter___closed__1; +lean_object* l_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_let___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_forall_parenthesizer___closed__5; lean_object* l_Lean_Parser_tacticParser(lean_object*); @@ -985,6 +995,7 @@ lean_object* l_Lean_Parser_Term_implicitBinder_formatter(uint8_t, lean_object*, lean_object* l_Lean_Parser_Term_dbgTrace___closed__2; lean_object* l_Lean_Parser_Term_typeOf_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_stateRefT_parenthesizer___closed__3; +lean_object* l_Lean_Parser_Term_dynamicQuot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__6; lean_object* l_Lean_Parser_Term_explicitUniv_formatter___closed__3; lean_object* l_Lean_Parser_Term_explicitBinder_formatter___closed__4; @@ -1033,6 +1044,7 @@ extern lean_object* l_Lean_Parser_Level_num_parenthesizer___closed__2; lean_object* l___regBuiltin_Lean_Parser_Level_quot_formatter(lean_object*); lean_object* l_Lean_Parser_Term_arrayRef___closed__5; lean_object* l_Lean_Parser_Term_binderTactic_formatter___closed__3; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_parserOfStack_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_hole_formatter___closed__1; lean_object* l_Lean_Parser_Term_matchDiscr_parenthesizer___closed__2; lean_object* l_Lean_Parser_strLit___elambda__1(lean_object*, lean_object*); @@ -1051,7 +1063,6 @@ lean_object* l_Lean_Parser_Term_structInst_parenthesizer___closed__8; lean_object* l_Lean_Parser_Term_ensureTypeOf___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_whereDecls___closed__1; lean_object* l_Lean_Parser_Tactic_quotSeq___closed__7; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__11; lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___closed__8; lean_object* l_Lean_Parser_Tactic_seq1_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_funBinder_quot___elambda__1___closed__7; @@ -1066,6 +1077,7 @@ lean_object* l_Lean_Parser_Term_proj___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_paren___closed__1; lean_object* l_Lean_Parser_Term_pipeProj___closed__6; lean_object* l_Lean_Parser_Term_letPatDecl___closed__1; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__6; lean_object* l___regBuiltin_Lean_Parser_Term_namedPattern_parenthesizer___closed__1; extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1161____closed__33; lean_object* l_Lean_Parser_Term_ellipsis___elambda__1(lean_object*, lean_object*); @@ -1149,6 +1161,7 @@ lean_object* l_Lean_Parser_Term_funImplicitBinder_parenthesizer___closed__5; lean_object* l_Lean_Parser_Term_sort___elambda__1___closed__1; extern lean_object* l_Lean___kind_command____x40_Init_NotationExtra___hyg_918____closed__15; lean_object* l_Lean_Parser_Tactic_seq1___elambda__1___closed__3; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__13; lean_object* l_Lean_Parser_Term_haveDecl___elambda__1___closed__1; lean_object* l___regBuiltinParser_Lean_Parser_Term_parser_x21(lean_object*); lean_object* l_Lean_Parser_Term_fromTerm___closed__1; @@ -1161,7 +1174,7 @@ lean_object* l_Lean_Parser_Term_typeOf___closed__5; lean_object* l_Lean_Parser_Term_anonymousCtor___closed__5; lean_object* l_Lean_Parser_Term_quotedName___closed__2; lean_object* l_Lean_Parser_Term_namedPattern; -extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__39; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__23; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_parenthesizer___closed__11; lean_object* l_Lean_Parser_Term_match___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_anonymousCtor___closed__3; @@ -1182,6 +1195,7 @@ lean_object* l_Lean_Parser_Term_byTactic___elambda__1___closed__8; lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___closed__1; lean_object* l_Lean_Parser_Level_quot___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_dbgTrace; +lean_object* l_Lean_Parser_Term_dynamicQuot_formatter___closed__5; lean_object* l_Lean_Parser_Term_match_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_emptyC___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_type___elambda__1___closed__15; @@ -1277,6 +1291,7 @@ lean_object* l_Lean_Parser_charLit_formatter(lean_object*, lean_object*, lean_ob lean_object* l_Lean_Parser_Term_nomatch___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_matchAlts_formatter___closed__3; +lean_object* l_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__5; lean_object* l_Lean_Parser_Term_decide_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__13; lean_object* l___regBuiltin_Lean_Parser_Term_let_parenthesizer(lean_object*); @@ -1306,6 +1321,7 @@ lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___closed__10; lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_typeSpec___closed__2; lean_object* l_Lean_Parser_Term_attributes___elambda__1___closed__7; +lean_object* l_Lean_Parser_Term_dynamicQuot___closed__7; lean_object* l_Lean_Parser_Term_letIdDecl_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_funBinder_quot___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_matchAlts_parenthesizer___closed__11; @@ -1313,9 +1329,11 @@ lean_object* l_Lean_Parser_Term_attributes_formatter___closed__4; lean_object* l_Lean_Parser_Term_parenSpecial___closed__3; extern lean_object* l_Lean_Parser_antiquotNestedExpr___closed__2; lean_object* l_Lean_Parser_Tactic_tacticSeq_formatter___closed__1; +lean_object* l_Lean_Parser_Term_dynamicQuot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_decide___closed__3; lean_object* l_Lean_Parser_Term_quotedName_parenthesizer___closed__1; lean_object* l_Lean_Parser_noFirstTokenInfo(lean_object*); +lean_object* l_Lean_Parser_Term_dynamicQuot_formatter___closed__3; lean_object* l_Lean_Parser_Term_simpleBinderWithoutType_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_ensureTypeOf___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_letDecl; @@ -1349,6 +1367,7 @@ lean_object* l_Lean_Parser_Term_ellipsis___closed__2; lean_object* l_Lean_Parser_Term_cdot_formatter___closed__1; lean_object* l_Lean_Parser_checkNoWsBefore___elambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Level_quot_parenthesizer___closed__3; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__21; lean_object* l___regBuiltin_Lean_Parser_Term_nativeRefl_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Term_prop___closed__2; lean_object* l_Lean_Parser_Term_let___elambda__1___closed__3; @@ -1388,7 +1407,6 @@ lean_object* l_Lean_Parser_Term_funImplicitBinder___closed__2; lean_object* l_Lean_Parser_Term_funImplicitBinder___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_match_parenthesizer___closed__8; lean_object* l_Lean_Parser_Term_explicitUniv___closed__5; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__4; lean_object* l_Lean_Parser_Term_let_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_let___closed__6; lean_object* l_Lean_Parser_Term_whereDecls___closed__5; @@ -1451,7 +1469,10 @@ lean_object* l_Lean_Parser_Term_explicitBinder___closed__3; lean_object* l_Lean_Parser_Term_parser_x21___elambda__1___closed__4; lean_object* l___regBuiltin_Lean_Parser_Term_have_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Term_suffices___elambda__1___closed__4; +lean_object* l_Lean_Parser_Term_dynamicQuot___closed__12; lean_object* l_Lean_Parser_Term_structInst_formatter___closed__13; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__2; +lean_object* l_Lean_Parser_Term_dynamicQuot_formatter___closed__6; lean_object* l___regBuiltin_Lean_Parser_Term_let_x21_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_letrec___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_structInstField___elambda__1___closed__3; @@ -1459,6 +1480,7 @@ lean_object* l_Lean_Parser_Term_haveDecl_parenthesizer___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_syntheticHole_formatter(lean_object*); lean_object* l_Lean_Parser_Term_paren___closed__4; lean_object* l_Lean_Parser_Term_stateRefT___closed__8; +lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_attrInstance___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_quotedName; lean_object* l_Lean_Parser_Term_explicitUniv_parenthesizer___closed__6; @@ -1469,6 +1491,7 @@ lean_object* l_Lean_Parser_Term_binderTactic_parenthesizer___closed__1; lean_object* l_Lean_Parser_optionaInfo(lean_object*); lean_object* l_Lean_Parser_Term_let___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_matchDiscr_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_let_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_unreachable___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_sufficesDecl; @@ -1485,10 +1508,11 @@ lean_object* l_Lean_Parser_Term_instBinder_formatter___closed__3; lean_object* l___regBuiltin_Lean_Parser_Term_show_parenthesizer___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_sort_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_unreachable___closed__5; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__8; lean_object* l_Lean_PrettyPrinter_Formatter_toggleInsideQuot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_whereDecls___elambda__1___closed__10; lean_object* l_Lean_Parser_Tactic_seq1___elambda__1(lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__9; +lean_object* l_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__16; lean_object* l_Lean_Parser_Term_stateRefT___closed__2; lean_object* l_Lean_Parser_Term_pipeProj___closed__5; @@ -1507,6 +1531,7 @@ lean_object* l_Lean_Parser_Term_matchDiscr___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_show___closed__4; lean_object* l_Lean_Parser_Term_have_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_attrInstance___closed__4; +lean_object* l_Lean_Parser_parserOfStack___elambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_letDecl___closed__11; lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__12; lean_object* l_Lean_Parser_Term_attributes___closed__6; @@ -1514,6 +1539,7 @@ lean_object* l_Lean_Parser_Term_assert___elambda__1___closed__6; extern lean_object* l_Lean_Parser_nameLit; lean_object* l_Lean_PrettyPrinter_Formatter_node_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Parser_Term_depArrow_formatter___closed__1; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__11; lean_object* l_Lean_Parser_Term_structInstLVal___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_nativeDecide___closed__5; lean_object* l_Lean_Parser_Term_emptyC___elambda__1___closed__9; @@ -1532,6 +1558,7 @@ extern lean_object* l___kind_term____x40_Init_Notation___hyg_11096____closed__6; lean_object* l_Lean_Parser_Term_matchAltsWhereDecls___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_typeSpec_formatter___closed__2; lean_object* l_Lean_Parser_Term_depArrow___closed__2; +extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__39; lean_object* l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__7; lean_object* l___regBuiltinParser_Lean_Parser_Term_let_x2a(lean_object*); @@ -1539,6 +1566,7 @@ lean_object* l_Lean_Parser_Term_panic___closed__4; lean_object* l_Lean_Parser_Term_whereDecls_formatter___closed__9; lean_object* l_Lean_Parser_Term_have_formatter___closed__5; lean_object* l_Lean_Parser_Term_structInst___elambda__1(lean_object*, lean_object*); +extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__10; lean_object* l_Lean_Parser_Term_depArrow___elambda__1___closed__14; lean_object* l_Lean_Parser_Term_matchDiscr___closed__7; lean_object* l_Lean_Parser_Term_implicitBinder_parenthesizer(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1588,6 +1616,7 @@ lean_object* l_Lean_Parser_Term_letPatDecl_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_tupleTail___closed__7; lean_object* l_Lean_Parser_Term_fromTerm___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_ensureExpectedType_formatter___closed__2; +lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__13; lean_object* l_Lean_Parser_Term_funSimpleBinder___elambda__1___closed__2; lean_object* l_Lean_Parser_Tactic_quot___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_structInst___closed__14; @@ -1748,6 +1777,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_funBinder_quot(lean_object*); lean_object* l_Lean_Parser_Term_letIdDecl_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_structInstField_formatter___closed__5; lean_object* l_Lean_Parser_Term_fromTerm___closed__7; +lean_object* l_Lean_Parser_Term_dynamicQuot___closed__10; lean_object* l___regBuiltin_Lean_Parser_Term_emptyC_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Term_haveAssign___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_decide_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1801,6 +1831,7 @@ lean_object* l_Lean_Parser_Term_structInstField___closed__4; lean_object* l___regBuiltin_Lean_Parser_Term_sorry_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Term_proj___closed__3; lean_object* l___regBuiltin_Lean_Parser_Term_nativeDecide_formatter(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__1; extern lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_17192____closed__4; lean_object* l_Lean_Parser_Term_funBinder_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_letrec_parenthesizer___closed__4; @@ -1819,13 +1850,13 @@ lean_object* l_Lean_Parser_Term_panic___elambda__1___closed__10; lean_object* l_Lean_Parser_Term_match__syntax___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed___elambda__1___closed__10; lean_object* l___regBuiltin_Lean_Parser_Term_prop_formatter(lean_object*); +lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_funBinder_quot___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_nomatch_formatter___closed__1; lean_object* l_Lean_Parser_Term_haveDecl___closed__4; lean_object* l_Lean_Parser_Term_unreachable; lean_object* l_Lean_Parser_Term_letPatDecl_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_depArrow___closed__5; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__10; lean_object* l_Lean_Parser_Term_binderDefault_formatter___closed__2; lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_match__syntax___elambda__1___closed__1; @@ -1836,9 +1867,11 @@ lean_object* l_Lean_Parser_Term_letPatDecl___closed__7; lean_object* l_Lean_Parser_Term_structInstLVal_formatter___closed__1; lean_object* l_Lean_Parser_Tactic_quot___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_explicitBinder___boxed(lean_object*); +lean_object* l_Lean_Parser_Term_dynamicQuot___closed__5; lean_object* l_Lean_Parser_Term_matchAlts_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_show___closed__5; lean_object* l_Lean_Parser_Term_whereDecls___closed__11; +extern lean_object* l_Lean_Parser_Tactic_intro___closed__7; lean_object* l_Lean_Parser_Term_simpleBinder_formatter___closed__2; lean_object* l_Lean_Parser_Term_basicFun_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_attrInstance___elambda__1___closed__6; @@ -1846,10 +1879,10 @@ lean_object* l_Lean_Parser_Term_have___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_char___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_funBinder_quot_formatter___closed__2; lean_object* l_Lean_PrettyPrinter_Formatter_lookahead_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_parserOfStack(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_let_x2a___closed__5; lean_object* l___regBuiltin_Lean_Parser_Term_anonymousCtor_formatter___closed__1; lean_object* l_Lean_Parser_Term_letIdLhs___closed__8; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__20; extern lean_object* l_Lean_Parser_Tactic_suffices___closed__1; lean_object* l_Lean_Parser_Term_letDecl___closed__9; extern lean_object* l_Lean_Parser_Level_ident___closed__1; @@ -1892,6 +1925,7 @@ lean_object* l_Lean_Parser_Term_hole_formatter(lean_object*, lean_object*, lean_ lean_object* l_Lean_Parser_Term_nomatch_formatter___closed__2; lean_object* l_Lean_Parser_Term_optExprPrecedence___closed__3; lean_object* l_Lean_Parser_Term_proj___closed__2; +lean_object* l_Lean_Parser_Term_dynamicQuot_formatter___closed__1; lean_object* l_Lean_Parser_Term_let_x21___elambda__1___closed__5; lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_ensureTypeOf_formatter___closed__5; @@ -1949,11 +1983,14 @@ lean_object* l_Lean_Parser_Term_inaccessible_parenthesizer(lean_object*, lean_ob lean_object* l_Lean_Parser_Term_inaccessible___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_depArrow___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_ident_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_dynamicQuot_formatter___closed__2; lean_object* l_Lean_Parser_Term_emptyC___elambda__1___closed__5; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__24; lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__21; lean_object* l_Lean_Parser_Term_isIdent___boxed(lean_object*); lean_object* l_Lean_Parser_Term_matchAlts___closed__14; lean_object* l_Lean_Parser_Term_emptyC; +lean_object* l_Lean_Parser_Term_dynamicQuot___closed__3; lean_object* l___regBuiltin_Lean_Parser_Term_scientific_formatter___closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_11163____closed__12; lean_object* l_Lean_Parser_Term_app___elambda__1___closed__6; @@ -1998,7 +2035,6 @@ lean_object* l___regBuiltin_Lean_Parser_Term_ensureExpectedType_formatter___clos lean_object* l_Lean_Parser_Term_paren___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_structInst___closed__12; lean_object* l_Lean_Parser_Term_nomatch___closed__6; -extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__39; lean_object* l_Lean_Parser_Term_attributes___closed__2; lean_object* l_Lean_Parser_Term_attrInstance_formatter___closed__2; extern lean_object* l_Lean_Parser_antiquotNestedExpr_formatter___closed__1; @@ -2010,6 +2046,7 @@ lean_object* l_Lean_Parser_Term_instBinder___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_match__syntax___closed__4; lean_object* l_Lean_Parser_Term_ellipsis___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_show___closed__7; +lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_borrowed_formatter___closed__2; lean_object* l_Lean_Parser_Term_arrayRef___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_matchAltsWhereDecls_parenthesizer___closed__2; @@ -2045,6 +2082,7 @@ lean_object* l_Lean_Parser_Term_pipeProj_formatter___closed__1; lean_object* l_Lean_Parser_Term_explicit___elambda__1___closed__10; lean_object* l_Lean_Parser_Term_pipeProj_formatter___closed__2; lean_object* l_Lean_Parser_Term_structInstArrayRef_parenthesizer___closed__4; +lean_object* l___regBuiltin_Lean_Parser_Term_dynamicQuot_formatter(lean_object*); lean_object* l_Lean_Parser_sepByFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Parser_Term_funBinder_quot_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Term_depArrow_formatter___closed__1; @@ -2072,6 +2110,7 @@ extern lean_object* l_Lean_Parser_mkAntiquot___closed__7; lean_object* l_Lean_PrettyPrinter_Parenthesizer_fieldIdx_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Parser_Term_quotedName_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Term_borrowed___closed__7; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__3; lean_object* l_Lean_Parser_Term_binderIdent_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_pushNone___closed__1; lean_object* l_Lean_Parser_Term_tupleTail_formatter___closed__3; @@ -2090,6 +2129,7 @@ lean_object* l_Lean_Parser_Term_attrInstance; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed___elambda__1___closed__3; lean_object* l___regBuiltin_Lean_Parser_Term_show_formatter___closed__1; lean_object* l_Lean_Parser_Term_stateRefT___elambda__1___closed__11; +lean_object* l_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1___closed__9; lean_object* l_Lean_Parser_Level_quot___closed__7; lean_object* l_Lean_Parser_Term_matchAlts_formatter___closed__13; @@ -2122,7 +2162,6 @@ lean_object* l_Lean_Parser_Term_simpleBinder_formatter___closed__4; lean_object* l_Lean_Parser_Term_borrowed_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_unreachable_formatter___closed__2; extern lean_object* l___kind_term____x40_Init_Notation___hyg_11713____closed__6; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__3; lean_object* l_Lean_Parser_Term_ensureTypeOf; lean_object* l_Lean_Parser_Term_panic___elambda__1___closed__7; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__4; @@ -2160,6 +2199,7 @@ lean_object* l_Lean_Parser_Term_have___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_fromTerm___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_letIdLhs___closed__2; lean_object* l_Lean_Parser_Term_show___closed__3; +lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__16; lean_object* l_Lean_Parser_Term_letrec___closed__9; lean_object* l_Lean_Parser_Term_ellipsis; lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__10; @@ -2216,6 +2256,7 @@ lean_object* l_Lean_Parser_Tactic_quot_formatter___closed__4; lean_object* l_Lean_Parser_Term_byTactic_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_structInstArrayRef_formatter___closed__5; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__7; +lean_object* l_Lean_Parser_Term_dynamicQuot___closed__6; lean_object* l_Lean_Parser_Tactic_quotSeq___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_match__syntax___closed__1; lean_object* l_Lean_Parser_Term_instBinder___closed__2; @@ -2228,6 +2269,7 @@ lean_object* l_Lean_Parser_Term_emptyC___closed__4; lean_object* l_Lean_Parser_Term_decide_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_macroDollarArg_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__1; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__18; lean_object* l_Lean_Parser_Term_let_formatter___closed__4; lean_object* l_Lean_Parser_Term_funSimpleBinder___closed__3; lean_object* l_Lean_Parser_Term_depArrow_parenthesizer___closed__1; @@ -2239,6 +2281,7 @@ lean_object* l_Lean_Parser_Term_have___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_match__syntax___elambda__1___closed__6; extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_333____closed__6; lean_object* l_Lean_Parser_Term_haveAssign___closed__6; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__15; lean_object* l_Lean_Parser_Term_arrayRef___closed__2; lean_object* l___regBuiltin_Lean_Parser_Term_quotedName_parenthesizer___closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_14258____closed__6; @@ -2298,11 +2341,14 @@ extern lean_object* l_Lean_Parser_Tactic_match___closed__3; lean_object* l_Lean_Parser_Term_paren___elambda__1___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_let_x2a___closed__7; extern lean_object* l_Lean_Parser_numLit; +lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__14; lean_object* l_Lean_Parser_Term_panic___closed__6; +lean_object* l_Lean_PrettyPrinter_Formatter_parserOfStack_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_assert___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_optExprPrecedence___closed__1; lean_object* l_Lean_Parser_Term_structInstArrayRef___closed__2; extern lean_object* l_Lean_Parser_Level_ident_formatter___closed__1; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__22; lean_object* l_Lean_Parser_tacticParser_formatter(lean_object*); lean_object* l_Lean_Parser_Term_have___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_inaccessible___elambda__1___closed__8; @@ -2366,7 +2412,6 @@ lean_object* l_Lean_Parser_Term_app; lean_object* l_Lean_Parser_Term_depArrow_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_explicit_formatter___closed__4; lean_object* l_Lean_Parser_Term_syntheticHole___closed__4; -extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__3; extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15082____closed__2; lean_object* l_Lean_Parser_Tactic_quotSeq___closed__3; lean_object* l_Lean_Parser_Term_instBinder___closed__1; @@ -2469,6 +2514,7 @@ lean_object* l_Lean_Parser_Term_funBinder_formatter___closed__1; lean_object* l_Lean_Parser_darrow___closed__1; lean_object* l_Lean_Parser_Term_letrec___elambda__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_let_x2a_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_dynamicQuot_formatter___closed__4; lean_object* l_Lean_Parser_Term_matchAlts___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_explicitBinder___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_paren_parenthesizer___closed__8; @@ -2477,9 +2523,9 @@ lean_object* l_Lean_Parser_categoryParser(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_tacticSeq___closed__2; lean_object* l_Lean_Parser_Term_letIdLhs___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_forall___closed__2; +lean_object* l___regBuiltinParser_Lean_Parser_Term_dynamicQuot(lean_object*); lean_object* l_Lean_Parser_Term_dbgTrace___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_quotSeq_parenthesizer___closed__5; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__12; lean_object* l_Lean_Parser_Term_inaccessible_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_syntheticHole_formatter___closed__4; lean_object* l_Lean_Parser_Term_ensureTypeOf_parenthesizer___closed__2; @@ -2501,7 +2547,6 @@ lean_object* l_Lean_Parser_Term_type___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_attributes_parenthesizer___closed__4; lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___closed__8; lean_object* l_Lean_Parser_Term_ensureTypeOf_formatter___closed__1; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__16; lean_object* l_Lean_Parser_Term_arrow_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_anonymousCtor; lean_object* l_Lean_Parser_Term_forall___closed__9; @@ -2539,6 +2584,7 @@ lean_object* l_Lean_Parser_Term_letDecl_formatter___closed__5; lean_object* l_Lean_Parser_Term_matchDiscr_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_macroDollarArg; lean_object* l_Lean_Parser_Term_simpleBinderWithoutType___elambda__1(lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_dynamicQuot_formatter___closed__9; lean_object* l_Lean_Parser_Term_anonymousCtor_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_typeAscription___closed__4; extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__3; @@ -2558,15 +2604,16 @@ lean_object* l_Lean_Parser_Term_paren___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_syntheticHole_formatter___closed__2; lean_object* l_Lean_Parser_Term_nativeDecide_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_suffices_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__16; lean_object* l_Lean_Parser_Term_arrow___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_matchAltsWhereDecls___closed__2; lean_object* l_Lean_Parser_Term_tparser_x21_formatter___closed__3; lean_object* l_Lean_Parser_Tactic_quot___closed__4; lean_object* l_Lean_Parser_Term_simpleBinder___elambda__1___closed__5; -extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__10; lean_object* l_Lean_Parser_Term_type___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_structInst___closed__13; lean_object* l_Lean_Parser_Term_ellipsis___elambda__1___closed__2; +lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_borrowed___closed__3; lean_object* l_Lean_Parser_Term_match___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_anonymousCtor___elambda__1___closed__7; @@ -2593,6 +2640,7 @@ lean_object* l_Lean_Parser_Term_namedArgument_parenthesizer___closed__1; lean_object* l_Lean_Parser_Level_quot___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_binderTactic_formatter___closed__2; lean_object* l_Lean_Parser_Term_explicitBinder___closed__2; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__7; extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15628____closed__1; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__15; lean_object* l_Lean_Parser_Term_have___elambda__1___closed__9; @@ -2621,6 +2669,7 @@ lean_object* l_Lean_Parser_Term_binderTactic_formatter___closed__1; lean_object* l_Lean_Parser_Term_app___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_structInstLVal_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_emptyC___closed__3; +lean_object* l_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__6; extern lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__9; lean_object* l_Lean_Parser_Term_tparser_x21___closed__7; lean_object* l_Lean_Parser_Term_prop___elambda__1___closed__5; @@ -2659,10 +2708,12 @@ lean_object* l_Lean_Parser_Term_haveAssign_parenthesizer(lean_object*, lean_obje lean_object* l_Lean_Parser_Term_paren_parenthesizer___closed__5; lean_object* l_Lean_Parser_Term_tupleTail___elambda__1___closed__10; lean_object* l_Lean_Parser_Term_fromTerm_formatter___closed__4; +lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__15; lean_object* l_Lean_Parser_Term_let_x2a___closed__3; lean_object* l_Lean_Parser_Term_typeOf_formatter___closed__4; extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15628____closed__2; lean_object* l_Lean_Parser_Tactic_quot_formatter___closed__2; +lean_object* l_Lean_Parser_Term_dynamicQuot_formatter___closed__8; lean_object* l_Lean_Parser_Term_pipeProj___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_haveAssign_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_type___elambda__1___closed__11; @@ -2679,6 +2730,7 @@ lean_object* l_Lean_Parser_Term_attrInstance___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_unreachable___elambda__1___closed__4; extern lean_object* l_Lean_Parser_epsilonInfo; lean_object* l_Lean_Parser_Term_basicFun___closed__5; +lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_funBinder_quot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_panic___elambda__1___closed__5; @@ -2689,6 +2741,7 @@ lean_object* l_Lean_Parser_Term_byTactic___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_structInst___closed__21; lean_object* l_Lean_Parser_Term_pipeProj___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_anonymousCtor___closed__10; +extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__3; lean_object* l_Lean_Parser_Term_fromTerm_formatter___closed__3; lean_object* l_Lean_Parser_Tactic_quot___closed__7; lean_object* l_Lean_Parser_Term_explicitUniv_parenthesizer___closed__5; @@ -2757,6 +2810,7 @@ lean_object* l_Lean_Parser_Term_match__syntax_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_let___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_matchAlts_formatter___closed__8; lean_object* l_Lean_Parser_Term_attributes_parenthesizer___closed__1; +lean_object* l___regBuiltin_Lean_Parser_Term_dynamicQuot_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_namedArgument_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_structInst_formatter___closed__15; @@ -2783,7 +2837,6 @@ lean_object* l_Lean_Parser_Term_arrayRef___closed__1; lean_object* l_Lean_Parser_Term_implicitBinder_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_fromTerm___closed__5; lean_object* l_Lean_Parser_Tactic_quotSeq___closed__4; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__15; lean_object* l_Lean_Parser_Term_dbgTrace_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Parser_Term_match__syntax_formatter(lean_object*); lean_object* l_Lean_Parser_Term_nativeRefl___elambda__1___closed__1; @@ -2796,7 +2849,6 @@ lean_object* l_Lean_Parser_Term_panic___elambda__1___closed__2; lean_object* l___regBuiltin_Lean_Parser_Term_assert_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Term_structInstArrayRef___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_basicFun___closed__2; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__22; lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__11; lean_object* l_Lean_Parser_Term_borrowed___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___closed__6; @@ -2886,7 +2938,6 @@ lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__3; lean_object* l___regBuiltin_Lean_Parser_Term_hole_formatter___closed__1; lean_object* l_Lean_Parser_Term_let_x2a___closed__2; lean_object* l_Lean_Parser_Term_nativeRefl___elambda__1___closed__8; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__14; lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__15; lean_object* l_Lean_Parser_Term_haveAssign___closed__5; lean_object* l_Lean_Parser_Term_attributes___elambda__1___closed__8; @@ -2944,7 +2995,6 @@ lean_object* l_Lean_Parser_Term_structInstLVal_parenthesizer___closed__8; extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15082____closed__3; lean_object* l_Lean_Parser_Tactic_quot___closed__3; lean_object* l_Lean_Parser_nodeFn(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__5; lean_object* l_Lean_Parser_Term_funBinder_formatter___closed__3; lean_object* l_Lean_Parser_Term_typeSpec___closed__1; lean_object* l_Lean_Parser_Term_assert___elambda__1___closed__2; @@ -3001,7 +3051,6 @@ lean_object* l_Lean_Parser_Term_borrowed___closed__6; lean_object* l_Lean_Parser_Term_byTactic_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_app___closed__8; lean_object* l_Lean_Parser_Term_forall___closed__10; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__23; lean_object* l_Lean_Parser_Term_unreachable___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_matchAlt___closed__1; lean_object* l_Lean_Parser_Term_match_formatter___closed__7; @@ -3010,7 +3059,6 @@ lean_object* l_Lean_Parser_Term_funSimpleBinder_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_tupleTail_formatter___closed__2; lean_object* l_Lean_PrettyPrinter_Formatter_rawIdent_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_app___elambda__1___closed__4; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__18; lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_parser_x21___closed__4; lean_object* l_Lean_Parser_Term_assert_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -3034,7 +3082,6 @@ lean_object* l_Lean_Parser_Term_namedPattern___elambda__1(lean_object*, lean_obj lean_object* l_Lean_Parser_Term_structInst_formatter___closed__20; lean_object* l_Lean_Parser_Term_structInstField_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_whereDecls_formatter___closed__12; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__13; lean_object* l_Lean_Parser_Term_sort_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_attrInstance_parenthesizer___closed__5; lean_object* l_Lean_Parser_Term_basicFun_formatter___closed__2; @@ -3047,9 +3094,9 @@ lean_object* l_Lean_Parser_Term_paren_formatter___closed__10; lean_object* l___regBuiltin_Lean_Parser_Term_parser_x21_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Term_macroDollarArg___closed__4; lean_object* l_Lean_Parser_Level_quot___closed__6; -extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__37; lean_object* l_Lean_Parser_Term_match___elambda__1___closed__10; lean_object* l_Lean_Parser_Term_stateRefT___elambda__1___closed__4; +extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__37; lean_object* l___regBuiltin_Lean_Parser_Term_num_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Term_have_formatter___closed__8; lean_object* l_Lean_Parser_Term_nativeRefl_formatter___closed__3; @@ -3064,6 +3111,7 @@ extern lean_object* l_Lean_Parser_Tactic_intro___closed__2; lean_object* l_Lean_Parser_Tactic_quotSeq___closed__1; lean_object* l_Lean_Parser_Term_letPatDecl___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_panic___elambda__1___closed__6; +lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__12; lean_object* l_Lean_Parser_Term_have___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_fun_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_optExprPrecedence_parenthesizer___closed__2; @@ -3211,6 +3259,7 @@ lean_object* l_Lean_Parser_Term_funImplicitBinder___elambda__1___closed__3; lean_object* l_Lean_Parser_Tactic_quotSeq___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_namedPattern___closed__2; lean_object* l_Lean_Parser_Term_haveAssign_formatter___closed__1; +lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; lean_object* l_Lean_Parser_Term_sort_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_sorry___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_proj___closed__6; @@ -3250,6 +3299,7 @@ lean_object* l_Lean_Parser_Term_structInstArrayRef___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_matchAltsWhereDecls_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_num_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_unreachable___elambda__1___closed__6; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__20; extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1890____closed__8; lean_object* l___regBuiltin_Lean_Parser_Term_fun_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_dbgTrace___elambda__1___closed__9; @@ -3278,8 +3328,8 @@ lean_object* l_Lean_Parser_Term_whereDecls___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_typeOf___elambda__1___closed__10; lean_object* l_Lean_Parser_Term_explicitBinder_parenthesizer___closed__2; lean_object* l_Lean_PrettyPrinter_Formatter_sepBy1_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__7; lean_object* l_Lean_Parser_Tactic_quot___elambda__1___closed__10; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__10; lean_object* l_Lean_Parser_unicodeSymbolInfo(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_tupleTail___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_ensureTypeOf___closed__3; @@ -3346,6 +3396,8 @@ lean_object* l_Lean_Parser_Term_macroLastArg_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_letDecl_formatter___closed__2; lean_object* l_Lean_Parser_Term_let___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_matchAlts_parenthesizer___closed__7; +lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__10; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__5; lean_object* l_Lean_Parser_ParserState_mkUnexpectedError(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_inaccessible_formatter___closed__1; lean_object* l_Lean_Parser_Term_binderTactic_formatter___closed__6; @@ -3355,6 +3407,7 @@ lean_object* l___regBuiltin_Lean_Parser_Term_anonymousCtor_parenthesizer___close lean_object* l_Lean_Parser_Term_nomatch___closed__3; lean_object* l_Lean_Parser_Term_dbgTrace___closed__3; lean_object* l_Lean_Parser_Tactic_quotSeq_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__14; lean_object* l_Lean_Parser_Term_let_x21___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_quotedName_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__27; @@ -3388,7 +3441,7 @@ lean_object* l_Lean_Parser_Term_syntheticHole_parenthesizer___closed__1; lean_object* l_Lean_Parser_checkWsBefore___elambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_show_parenthesizer___closed__1; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4_(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385_(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428_(lean_object*); lean_object* l_Lean_Parser_Term_parenSpecial_formatter___closed__3; lean_object* l___regBuiltin_Lean_Parser_Term_match_formatter(lean_object*); lean_object* l_Lean_Parser_Term_let_x2a___closed__6; @@ -3398,7 +3451,6 @@ lean_object* l_Lean_Parser_Term_ellipsis___elambda__1___closed__3; lean_object* l___regBuiltin_Lean_Parser_Term_nativeDecide_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_depArrow_formatter___closed__5; lean_object* l___regBuiltin_Lean_Parser_Term_arrayRef_formatter___closed__1; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__24; lean_object* l_Lean_Parser_Term_dbgTrace_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_tupleTail_formatter___closed__1; lean_object* l_Lean_Parser_Term_matchAlt___closed__6; @@ -3421,6 +3473,7 @@ lean_object* l_Lean_Parser_Term_borrowed___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_ensureTypeOf_formatter___closed__6; lean_object* l_Lean_Parser_Term_anonymousCtor_parenthesizer___closed__4; lean_object* l_Lean_Parser_darrow___closed__3; +lean_object* l_Lean_Parser_Term_dynamicQuot___closed__8; lean_object* l_Lean_Parser_Term_nomatch_formatter___closed__4; lean_object* l_Lean_Parser_Term_structInst___closed__11; lean_object* l_Lean_Parser_Term_sorry___elambda__1___closed__5; @@ -3440,6 +3493,7 @@ lean_object* l_Lean_Parser_Term_whereDecls___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_letrec_formatter___closed__1; lean_object* l_Lean_Parser_Term_match___closed__10; lean_object* l_Lean_Parser_Term_match__syntax_formatter___closed__1; +extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__37; lean_object* l_Lean_Parser_Term_funBinder_quot___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_whereDecls_parenthesizer___closed__7; lean_object* l_Lean_Parser_Term_syntheticHole_parenthesizer___closed__3; @@ -3494,6 +3548,7 @@ lean_object* l_Lean_Parser_Term_letIdLhs_formatter___closed__6; lean_object* l_Lean_Parser_Term_ensureExpectedType___closed__6; lean_object* l_Lean_Parser_Term_funBinder_quot___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_str_formatter___closed__1; +extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_letrec_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_funSimpleBinder___closed__4; lean_object* l_Lean_Parser_Term_emptyC___elambda__1___closed__7; @@ -3533,6 +3588,7 @@ lean_object* l_Lean_Parser_Term_borrowed___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_explicitBinder_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_let_x2a___closed__1; lean_object* l_Lean_Parser_Term_instBinder___closed__6; +lean_object* l_Lean_Parser_Term_dynamicQuot___closed__2; extern lean_object* l_Lean_Parser_strLit; extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_333____closed__1; lean_object* l_Lean_Parser_Term_matchAlts___closed__12; @@ -3566,6 +3622,7 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_14258____closed__2; lean_object* l___regBuiltinParser_Lean_Parser_Term_ident___closed__1; lean_object* l_Lean_Parser_Term_dbgTrace___elambda__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_forall___closed__6; +lean_object* l_Lean_Parser_Term_dynamicQuot___closed__1; lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_14258____closed__1; lean_object* l_Lean_Parser_Term_parser_x21___closed__6; @@ -3607,7 +3664,6 @@ lean_object* l_Lean_Parser_manyIndent_parenthesizer(lean_object*, lean_object*, lean_object* l_Lean_Parser_Term_suffices___closed__3; lean_object* l_Lean_Parser_Term_arrayRef___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_explicit___elambda__1___closed__7; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__1; lean_object* l_Lean_Parser_Term_prop___elambda__1___closed__8; lean_object* l___regBuiltin_Lean_Parser_Term_subst_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_app___closed__3; @@ -3634,6 +3690,7 @@ lean_object* l_Lean_Parser_Tactic_seq1___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_whereDecls___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_match_formatter___closed__5; lean_object* l_Lean_Parser_Term_assert___elambda__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__12; uint8_t l_Lean_Syntax_isIdent(lean_object*); lean_object* l_Lean_Parser_Term_proj___elambda__1___closed__3; lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -3643,6 +3700,7 @@ lean_object* l_Lean_Parser_Term_show_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_app___closed__4; lean_object* l_Lean_Parser_Term_stateRefT___closed__6; lean_object* l_Lean_Parser_andthenFn(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__7; lean_object* l_Lean_Parser_Term_ellipsis_parenthesizer___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_char_parenthesizer___closed__1; lean_object* l___regBuiltin_Lean_Parser_Tactic_quotSeq_parenthesizer(lean_object*); @@ -3741,414 +3799,594 @@ uint8_t x_6; x_6 = !lean_is_exclusive(x_4); if (x_6 == 0) { -lean_object* x_7; lean_object* x_8; uint8_t x_9; +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; x_7 = lean_ctor_get(x_4, 0); -x_8 = lean_ctor_get(x_4, 4); -lean_dec(x_8); -x_9 = !lean_is_exclusive(x_7); -if (x_9 == 0) +x_8 = lean_ctor_get(x_4, 1); +x_9 = lean_ctor_get(x_4, 4); +lean_dec(x_9); +x_10 = !lean_is_exclusive(x_7); +if (x_10 == 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_7, 2); -lean_inc(x_10); -x_11 = lean_ctor_get(x_5, 1); +lean_object* x_11; uint8_t x_12; +x_11 = lean_ctor_get(x_7, 2); lean_inc(x_11); -lean_inc(x_11); -x_12 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_4, 4, x_12); -x_13 = lean_ctor_get(x_5, 0); +x_12 = !lean_is_exclusive(x_8); +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; uint8_t x_19; +x_13 = lean_ctor_get(x_5, 1); lean_inc(x_13); -x_14 = lean_array_get_size(x_13); -lean_dec(x_13); -x_15 = l_Lean_FileMap_toPosition(x_10, x_11); -lean_dec(x_10); -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); +lean_inc(x_13); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_4, 4, x_14); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +x_16 = lean_array_get_size(x_15); lean_dec(x_15); -x_17 = lean_nat_dec_le(x_16, x_16); -lean_dec(x_16); -if (x_17 == 0) +x_17 = l_Lean_FileMap_toPosition(x_11, x_13); +lean_dec(x_11); +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +lean_dec(x_17); +x_19 = lean_nat_dec_le(x_18, x_18); +lean_dec(x_18); +if (x_19 == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_18 = l_Lean_Parser_many1Indent___lambda__1___closed__1; -x_19 = l_Lean_Parser_ParserState_mkError(x_5, x_18); -x_20 = l_Lean_nullKind; -x_21 = l_Lean_Parser_ParserState_mkNode(x_19, x_20, x_14); -return x_21; +x_20 = l_Lean_Parser_many1Indent___lambda__1___closed__1; +x_21 = l_Lean_Parser_ParserState_mkError(x_5, x_20); +x_22 = l_Lean_nullKind; +x_23 = l_Lean_Parser_ParserState_mkNode(x_21, x_22, x_16); +return x_23; } else { -lean_object* x_22; -x_22 = lean_ctor_get(x_5, 3); -lean_inc(x_22); -if (lean_obj_tag(x_22) == 0) +lean_object* x_24; +x_24 = lean_ctor_get(x_5, 3); +lean_inc(x_24); +if (lean_obj_tag(x_24) == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_unsigned_to_nat(0u); +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_unsigned_to_nat(0u); lean_inc(x_4); -x_24 = l_Lean_Parser_categoryParser___elambda__1(x_1, x_23, x_4, x_5); -x_25 = lean_ctor_get(x_24, 3); -lean_inc(x_25); -if (lean_obj_tag(x_25) == 0) +x_26 = l_Lean_Parser_categoryParser___elambda__1(x_1, x_25, x_4, x_5); +x_27 = lean_ctor_get(x_26, 3); +lean_inc(x_27); +if (lean_obj_tag(x_27) == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_inc(x_4); -x_26 = l_Lean_Parser_optionalFn(x_2, x_4, x_24); -x_27 = l_Lean_nullKind; -lean_inc(x_14); -x_28 = l_Lean_Parser_ParserState_mkNode(x_26, x_27, x_14); -x_29 = lean_ctor_get(x_28, 3); -lean_inc(x_29); -if (lean_obj_tag(x_29) == 0) +x_28 = l_Lean_Parser_optionalFn(x_2, x_4, x_26); +x_29 = l_Lean_nullKind; +lean_inc(x_16); +x_30 = l_Lean_Parser_ParserState_mkNode(x_28, x_29, x_16); +x_31 = lean_ctor_get(x_30, 3); +lean_inc(x_31); +if (lean_obj_tag(x_31) == 0) { -lean_object* x_30; lean_object* x_31; -x_30 = l_Lean_Parser_manyAux(x_3, x_4, x_28); -x_31 = l_Lean_Parser_ParserState_mkNode(x_30, x_27, x_14); -return x_31; +lean_object* x_32; lean_object* x_33; +x_32 = l_Lean_Parser_manyAux(x_3, x_4, x_30); +x_33 = l_Lean_Parser_ParserState_mkNode(x_32, x_29, x_16); +return x_33; } else { -lean_object* x_32; -lean_dec(x_29); +lean_object* x_34; +lean_dec(x_31); lean_dec(x_4); lean_dec(x_3); -x_32 = l_Lean_Parser_ParserState_mkNode(x_28, x_27, x_14); -return x_32; +x_34 = l_Lean_Parser_ParserState_mkNode(x_30, x_29, x_16); +return x_34; } } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; -lean_dec(x_25); +lean_object* x_35; lean_object* x_36; lean_object* x_37; +lean_dec(x_27); lean_dec(x_2); -x_33 = l_Lean_nullKind; -lean_inc(x_14); -x_34 = l_Lean_Parser_ParserState_mkNode(x_24, x_33, x_14); -x_35 = lean_ctor_get(x_34, 3); -lean_inc(x_35); -if (lean_obj_tag(x_35) == 0) +x_35 = l_Lean_nullKind; +lean_inc(x_16); +x_36 = l_Lean_Parser_ParserState_mkNode(x_26, x_35, x_16); +x_37 = lean_ctor_get(x_36, 3); +lean_inc(x_37); +if (lean_obj_tag(x_37) == 0) { -lean_object* x_36; lean_object* x_37; -x_36 = l_Lean_Parser_manyAux(x_3, x_4, x_34); -x_37 = l_Lean_Parser_ParserState_mkNode(x_36, x_33, x_14); -return x_37; +lean_object* x_38; lean_object* x_39; +x_38 = l_Lean_Parser_manyAux(x_3, x_4, x_36); +x_39 = l_Lean_Parser_ParserState_mkNode(x_38, x_35, x_16); +return x_39; } else { -lean_object* x_38; -lean_dec(x_35); +lean_object* x_40; +lean_dec(x_37); lean_dec(x_4); lean_dec(x_3); -x_38 = l_Lean_Parser_ParserState_mkNode(x_34, x_33, x_14); -return x_38; -} -} -} -else -{ -lean_object* x_39; lean_object* x_40; -lean_dec(x_22); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_39 = l_Lean_nullKind; -x_40 = l_Lean_Parser_ParserState_mkNode(x_5, x_39, x_14); +x_40 = l_Lean_Parser_ParserState_mkNode(x_36, x_35, x_16); return x_40; } } } else { -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; -x_41 = lean_ctor_get(x_7, 0); -x_42 = lean_ctor_get(x_7, 1); -x_43 = lean_ctor_get(x_7, 2); -lean_inc(x_43); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_7); -lean_inc(x_43); -x_44 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_44, 0, x_41); -lean_ctor_set(x_44, 1, x_42); -lean_ctor_set(x_44, 2, x_43); -x_45 = lean_ctor_get(x_5, 1); +lean_object* x_41; lean_object* x_42; +lean_dec(x_24); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_41 = l_Lean_nullKind; +x_42 = l_Lean_Parser_ParserState_mkNode(x_5, x_41, x_16); +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_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; +x_43 = lean_ctor_get(x_8, 0); +x_44 = lean_ctor_get(x_8, 1); +x_45 = lean_ctor_get(x_8, 2); lean_inc(x_45); -lean_inc(x_45); -x_46 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_4, 4, x_46); -lean_ctor_set(x_4, 0, x_44); -x_47 = lean_ctor_get(x_5, 0); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_8); +x_46 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_46, 0, x_43); +lean_ctor_set(x_46, 1, x_44); +lean_ctor_set(x_46, 2, x_45); +x_47 = lean_ctor_get(x_5, 1); lean_inc(x_47); -x_48 = lean_array_get_size(x_47); -lean_dec(x_47); -x_49 = l_Lean_FileMap_toPosition(x_43, x_45); -lean_dec(x_43); -x_50 = lean_ctor_get(x_49, 1); -lean_inc(x_50); +lean_inc(x_47); +x_48 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_4, 4, x_48); +lean_ctor_set(x_4, 1, x_46); +x_49 = lean_ctor_get(x_5, 0); +lean_inc(x_49); +x_50 = lean_array_get_size(x_49); lean_dec(x_49); -x_51 = lean_nat_dec_le(x_50, x_50); -lean_dec(x_50); -if (x_51 == 0) +x_51 = l_Lean_FileMap_toPosition(x_11, x_47); +lean_dec(x_11); +x_52 = lean_ctor_get(x_51, 1); +lean_inc(x_52); +lean_dec(x_51); +x_53 = lean_nat_dec_le(x_52, x_52); +lean_dec(x_52); +if (x_53 == 0) { -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_52 = l_Lean_Parser_many1Indent___lambda__1___closed__1; -x_53 = l_Lean_Parser_ParserState_mkError(x_5, x_52); -x_54 = l_Lean_nullKind; -x_55 = l_Lean_Parser_ParserState_mkNode(x_53, x_54, x_48); -return x_55; +x_54 = l_Lean_Parser_many1Indent___lambda__1___closed__1; +x_55 = l_Lean_Parser_ParserState_mkError(x_5, x_54); +x_56 = l_Lean_nullKind; +x_57 = l_Lean_Parser_ParserState_mkNode(x_55, x_56, x_50); +return x_57; } else { -lean_object* x_56; -x_56 = lean_ctor_get(x_5, 3); -lean_inc(x_56); -if (lean_obj_tag(x_56) == 0) +lean_object* x_58; +x_58 = lean_ctor_get(x_5, 3); +lean_inc(x_58); +if (lean_obj_tag(x_58) == 0) { -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_unsigned_to_nat(0u); +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_unsigned_to_nat(0u); lean_inc(x_4); -x_58 = l_Lean_Parser_categoryParser___elambda__1(x_1, x_57, x_4, x_5); -x_59 = lean_ctor_get(x_58, 3); -lean_inc(x_59); -if (lean_obj_tag(x_59) == 0) +x_60 = l_Lean_Parser_categoryParser___elambda__1(x_1, x_59, x_4, x_5); +x_61 = lean_ctor_get(x_60, 3); +lean_inc(x_61); +if (lean_obj_tag(x_61) == 0) { -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_inc(x_4); -x_60 = l_Lean_Parser_optionalFn(x_2, x_4, x_58); -x_61 = l_Lean_nullKind; -lean_inc(x_48); -x_62 = l_Lean_Parser_ParserState_mkNode(x_60, x_61, x_48); -x_63 = lean_ctor_get(x_62, 3); -lean_inc(x_63); -if (lean_obj_tag(x_63) == 0) +x_62 = l_Lean_Parser_optionalFn(x_2, x_4, x_60); +x_63 = l_Lean_nullKind; +lean_inc(x_50); +x_64 = l_Lean_Parser_ParserState_mkNode(x_62, x_63, x_50); +x_65 = lean_ctor_get(x_64, 3); +lean_inc(x_65); +if (lean_obj_tag(x_65) == 0) { -lean_object* x_64; lean_object* x_65; -x_64 = l_Lean_Parser_manyAux(x_3, x_4, x_62); -x_65 = l_Lean_Parser_ParserState_mkNode(x_64, x_61, x_48); -return x_65; +lean_object* x_66; lean_object* x_67; +x_66 = l_Lean_Parser_manyAux(x_3, x_4, x_64); +x_67 = l_Lean_Parser_ParserState_mkNode(x_66, x_63, x_50); +return x_67; } else { -lean_object* x_66; -lean_dec(x_63); +lean_object* x_68; +lean_dec(x_65); lean_dec(x_4); lean_dec(x_3); -x_66 = l_Lean_Parser_ParserState_mkNode(x_62, x_61, x_48); -return x_66; +x_68 = l_Lean_Parser_ParserState_mkNode(x_64, x_63, x_50); +return x_68; } } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; -lean_dec(x_59); +lean_object* x_69; lean_object* x_70; lean_object* x_71; +lean_dec(x_61); lean_dec(x_2); -x_67 = l_Lean_nullKind; -lean_inc(x_48); -x_68 = l_Lean_Parser_ParserState_mkNode(x_58, x_67, x_48); -x_69 = lean_ctor_get(x_68, 3); -lean_inc(x_69); -if (lean_obj_tag(x_69) == 0) +x_69 = l_Lean_nullKind; +lean_inc(x_50); +x_70 = l_Lean_Parser_ParserState_mkNode(x_60, x_69, x_50); +x_71 = lean_ctor_get(x_70, 3); +lean_inc(x_71); +if (lean_obj_tag(x_71) == 0) { -lean_object* x_70; lean_object* x_71; -x_70 = l_Lean_Parser_manyAux(x_3, x_4, x_68); -x_71 = l_Lean_Parser_ParserState_mkNode(x_70, x_67, x_48); -return x_71; +lean_object* x_72; lean_object* x_73; +x_72 = l_Lean_Parser_manyAux(x_3, x_4, x_70); +x_73 = l_Lean_Parser_ParserState_mkNode(x_72, x_69, x_50); +return x_73; } else { -lean_object* x_72; -lean_dec(x_69); +lean_object* x_74; +lean_dec(x_71); lean_dec(x_4); lean_dec(x_3); -x_72 = l_Lean_Parser_ParserState_mkNode(x_68, x_67, x_48); -return x_72; -} -} -} -else -{ -lean_object* x_73; lean_object* x_74; -lean_dec(x_56); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_73 = l_Lean_nullKind; -x_74 = l_Lean_Parser_ParserState_mkNode(x_5, x_73, x_48); +x_74 = l_Lean_Parser_ParserState_mkNode(x_70, x_69, x_50); return x_74; } } } -} else { -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; uint8_t 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; uint8_t x_94; -x_75 = lean_ctor_get(x_4, 0); -x_76 = lean_ctor_get(x_4, 1); -x_77 = lean_ctor_get(x_4, 2); -x_78 = lean_ctor_get(x_4, 3); -x_79 = lean_ctor_get_uint8(x_4, sizeof(void*)*6); -x_80 = lean_ctor_get_uint8(x_4, sizeof(void*)*6 + 1); -x_81 = lean_ctor_get(x_4, 5); -lean_inc(x_81); -lean_inc(x_78); -lean_inc(x_77); -lean_inc(x_76); -lean_inc(x_75); +lean_object* x_75; lean_object* x_76; +lean_dec(x_58); lean_dec(x_4); -x_82 = lean_ctor_get(x_75, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_75, 1); -lean_inc(x_83); -x_84 = lean_ctor_get(x_75, 2); -lean_inc(x_84); -if (lean_is_exclusive(x_75)) { - lean_ctor_release(x_75, 0); - lean_ctor_release(x_75, 1); - lean_ctor_release(x_75, 2); - x_85 = x_75; -} else { - lean_dec_ref(x_75); - x_85 = lean_box(0); -} -lean_inc(x_84); -if (lean_is_scalar(x_85)) { - x_86 = lean_alloc_ctor(0, 3, 0); -} else { - x_86 = x_85; -} -lean_ctor_set(x_86, 0, x_82); -lean_ctor_set(x_86, 1, x_83); -lean_ctor_set(x_86, 2, x_84); -x_87 = lean_ctor_get(x_5, 1); -lean_inc(x_87); -lean_inc(x_87); -x_88 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_88, 0, x_87); -x_89 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_89, 0, x_86); -lean_ctor_set(x_89, 1, x_76); -lean_ctor_set(x_89, 2, x_77); -lean_ctor_set(x_89, 3, x_78); -lean_ctor_set(x_89, 4, x_88); -lean_ctor_set(x_89, 5, x_81); -lean_ctor_set_uint8(x_89, sizeof(void*)*6, x_79); -lean_ctor_set_uint8(x_89, sizeof(void*)*6 + 1, x_80); -x_90 = lean_ctor_get(x_5, 0); -lean_inc(x_90); -x_91 = lean_array_get_size(x_90); -lean_dec(x_90); -x_92 = l_Lean_FileMap_toPosition(x_84, x_87); -lean_dec(x_84); -x_93 = lean_ctor_get(x_92, 1); -lean_inc(x_93); -lean_dec(x_92); -x_94 = lean_nat_dec_le(x_93, x_93); -lean_dec(x_93); -if (x_94 == 0) -{ -lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; -lean_dec(x_89); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_95 = l_Lean_Parser_many1Indent___lambda__1___closed__1; -x_96 = l_Lean_Parser_ParserState_mkError(x_5, x_95); -x_97 = l_Lean_nullKind; -x_98 = l_Lean_Parser_ParserState_mkNode(x_96, x_97, x_91); -return x_98; +x_75 = l_Lean_nullKind; +x_76 = l_Lean_Parser_ParserState_mkNode(x_5, x_75, x_50); +return x_76; +} +} +} } else { -lean_object* x_99; -x_99 = lean_ctor_get(x_5, 3); -lean_inc(x_99); -if (lean_obj_tag(x_99) == 0) -{ -lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_100 = lean_unsigned_to_nat(0u); -lean_inc(x_89); -x_101 = l_Lean_Parser_categoryParser___elambda__1(x_1, x_100, x_89, x_5); -x_102 = lean_ctor_get(x_101, 3); -lean_inc(x_102); -if (lean_obj_tag(x_102) == 0) -{ -lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; -lean_inc(x_89); -x_103 = l_Lean_Parser_optionalFn(x_2, x_89, x_101); -x_104 = l_Lean_nullKind; +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; uint8_t x_92; +x_77 = lean_ctor_get(x_7, 0); +x_78 = lean_ctor_get(x_7, 1); +x_79 = lean_ctor_get(x_7, 2); +lean_inc(x_79); +lean_inc(x_78); +lean_inc(x_77); +lean_dec(x_7); +lean_inc(x_79); +x_80 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_80, 0, x_77); +lean_ctor_set(x_80, 1, x_78); +lean_ctor_set(x_80, 2, x_79); +x_81 = lean_ctor_get(x_8, 0); +lean_inc(x_81); +x_82 = lean_ctor_get(x_8, 1); +lean_inc(x_82); +x_83 = lean_ctor_get(x_8, 2); +lean_inc(x_83); +if (lean_is_exclusive(x_8)) { + lean_ctor_release(x_8, 0); + lean_ctor_release(x_8, 1); + lean_ctor_release(x_8, 2); + x_84 = x_8; +} else { + lean_dec_ref(x_8); + x_84 = lean_box(0); +} +if (lean_is_scalar(x_84)) { + x_85 = lean_alloc_ctor(0, 3, 0); +} else { + x_85 = x_84; +} +lean_ctor_set(x_85, 0, x_81); +lean_ctor_set(x_85, 1, x_82); +lean_ctor_set(x_85, 2, x_83); +x_86 = lean_ctor_get(x_5, 1); +lean_inc(x_86); +lean_inc(x_86); +x_87 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_4, 4, x_87); +lean_ctor_set(x_4, 1, x_85); +lean_ctor_set(x_4, 0, x_80); +x_88 = lean_ctor_get(x_5, 0); +lean_inc(x_88); +x_89 = lean_array_get_size(x_88); +lean_dec(x_88); +x_90 = l_Lean_FileMap_toPosition(x_79, x_86); +lean_dec(x_79); +x_91 = lean_ctor_get(x_90, 1); lean_inc(x_91); -x_105 = l_Lean_Parser_ParserState_mkNode(x_103, x_104, x_91); -x_106 = lean_ctor_get(x_105, 3); -lean_inc(x_106); -if (lean_obj_tag(x_106) == 0) +lean_dec(x_90); +x_92 = lean_nat_dec_le(x_91, x_91); +lean_dec(x_91); +if (x_92 == 0) { -lean_object* x_107; lean_object* x_108; -x_107 = l_Lean_Parser_manyAux(x_3, x_89, x_105); -x_108 = l_Lean_Parser_ParserState_mkNode(x_107, x_104, x_91); -return x_108; -} -else -{ -lean_object* x_109; -lean_dec(x_106); -lean_dec(x_89); +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; +lean_dec(x_4); lean_dec(x_3); -x_109 = l_Lean_Parser_ParserState_mkNode(x_105, x_104, x_91); -return x_109; -} -} -else -{ -lean_object* x_110; lean_object* x_111; lean_object* x_112; -lean_dec(x_102); lean_dec(x_2); -x_110 = l_Lean_nullKind; -lean_inc(x_91); -x_111 = l_Lean_Parser_ParserState_mkNode(x_101, x_110, x_91); -x_112 = lean_ctor_get(x_111, 3); -lean_inc(x_112); -if (lean_obj_tag(x_112) == 0) -{ -lean_object* x_113; lean_object* x_114; -x_113 = l_Lean_Parser_manyAux(x_3, x_89, x_111); -x_114 = l_Lean_Parser_ParserState_mkNode(x_113, x_110, x_91); -return x_114; +lean_dec(x_1); +x_93 = l_Lean_Parser_many1Indent___lambda__1___closed__1; +x_94 = l_Lean_Parser_ParserState_mkError(x_5, x_93); +x_95 = l_Lean_nullKind; +x_96 = l_Lean_Parser_ParserState_mkNode(x_94, x_95, x_89); +return x_96; } else { -lean_object* x_115; -lean_dec(x_112); -lean_dec(x_89); +lean_object* x_97; +x_97 = lean_ctor_get(x_5, 3); +lean_inc(x_97); +if (lean_obj_tag(x_97) == 0) +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_98 = lean_unsigned_to_nat(0u); +lean_inc(x_4); +x_99 = l_Lean_Parser_categoryParser___elambda__1(x_1, x_98, x_4, x_5); +x_100 = lean_ctor_get(x_99, 3); +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_inc(x_4); +x_101 = l_Lean_Parser_optionalFn(x_2, x_4, x_99); +x_102 = l_Lean_nullKind; +lean_inc(x_89); +x_103 = l_Lean_Parser_ParserState_mkNode(x_101, x_102, x_89); +x_104 = lean_ctor_get(x_103, 3); +lean_inc(x_104); +if (lean_obj_tag(x_104) == 0) +{ +lean_object* x_105; lean_object* x_106; +x_105 = l_Lean_Parser_manyAux(x_3, x_4, x_103); +x_106 = l_Lean_Parser_ParserState_mkNode(x_105, x_102, x_89); +return x_106; +} +else +{ +lean_object* x_107; +lean_dec(x_104); +lean_dec(x_4); lean_dec(x_3); -x_115 = l_Lean_Parser_ParserState_mkNode(x_111, x_110, x_91); +x_107 = l_Lean_Parser_ParserState_mkNode(x_103, x_102, x_89); +return x_107; +} +} +else +{ +lean_object* x_108; lean_object* x_109; lean_object* x_110; +lean_dec(x_100); +lean_dec(x_2); +x_108 = l_Lean_nullKind; +lean_inc(x_89); +x_109 = l_Lean_Parser_ParserState_mkNode(x_99, x_108, x_89); +x_110 = lean_ctor_get(x_109, 3); +lean_inc(x_110); +if (lean_obj_tag(x_110) == 0) +{ +lean_object* x_111; lean_object* x_112; +x_111 = l_Lean_Parser_manyAux(x_3, x_4, x_109); +x_112 = l_Lean_Parser_ParserState_mkNode(x_111, x_108, x_89); +return x_112; +} +else +{ +lean_object* x_113; +lean_dec(x_110); +lean_dec(x_4); +lean_dec(x_3); +x_113 = l_Lean_Parser_ParserState_mkNode(x_109, x_108, x_89); +return x_113; +} +} +} +else +{ +lean_object* x_114; lean_object* x_115; +lean_dec(x_97); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_114 = l_Lean_nullKind; +x_115 = l_Lean_Parser_ParserState_mkNode(x_5, x_114, x_89); return x_115; } } } +} else { -lean_object* x_116; lean_object* x_117; -lean_dec(x_99); -lean_dec(x_89); +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; uint8_t 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; uint8_t x_140; +x_116 = lean_ctor_get(x_4, 0); +x_117 = lean_ctor_get(x_4, 1); +x_118 = lean_ctor_get(x_4, 2); +x_119 = lean_ctor_get(x_4, 3); +x_120 = lean_ctor_get_uint8(x_4, sizeof(void*)*6); +x_121 = lean_ctor_get_uint8(x_4, sizeof(void*)*6 + 1); +x_122 = lean_ctor_get(x_4, 5); +lean_inc(x_122); +lean_inc(x_119); +lean_inc(x_118); +lean_inc(x_117); +lean_inc(x_116); +lean_dec(x_4); +x_123 = lean_ctor_get(x_116, 0); +lean_inc(x_123); +x_124 = lean_ctor_get(x_116, 1); +lean_inc(x_124); +x_125 = lean_ctor_get(x_116, 2); +lean_inc(x_125); +if (lean_is_exclusive(x_116)) { + lean_ctor_release(x_116, 0); + lean_ctor_release(x_116, 1); + lean_ctor_release(x_116, 2); + x_126 = x_116; +} else { + lean_dec_ref(x_116); + x_126 = lean_box(0); +} +lean_inc(x_125); +if (lean_is_scalar(x_126)) { + x_127 = lean_alloc_ctor(0, 3, 0); +} else { + x_127 = x_126; +} +lean_ctor_set(x_127, 0, x_123); +lean_ctor_set(x_127, 1, x_124); +lean_ctor_set(x_127, 2, x_125); +x_128 = lean_ctor_get(x_117, 0); +lean_inc(x_128); +x_129 = lean_ctor_get(x_117, 1); +lean_inc(x_129); +x_130 = lean_ctor_get(x_117, 2); +lean_inc(x_130); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + lean_ctor_release(x_117, 2); + x_131 = x_117; +} else { + lean_dec_ref(x_117); + x_131 = lean_box(0); +} +if (lean_is_scalar(x_131)) { + x_132 = lean_alloc_ctor(0, 3, 0); +} else { + x_132 = x_131; +} +lean_ctor_set(x_132, 0, x_128); +lean_ctor_set(x_132, 1, x_129); +lean_ctor_set(x_132, 2, x_130); +x_133 = lean_ctor_get(x_5, 1); +lean_inc(x_133); +lean_inc(x_133); +x_134 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_134, 0, x_133); +x_135 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_135, 0, x_127); +lean_ctor_set(x_135, 1, x_132); +lean_ctor_set(x_135, 2, x_118); +lean_ctor_set(x_135, 3, x_119); +lean_ctor_set(x_135, 4, x_134); +lean_ctor_set(x_135, 5, x_122); +lean_ctor_set_uint8(x_135, sizeof(void*)*6, x_120); +lean_ctor_set_uint8(x_135, sizeof(void*)*6 + 1, x_121); +x_136 = lean_ctor_get(x_5, 0); +lean_inc(x_136); +x_137 = lean_array_get_size(x_136); +lean_dec(x_136); +x_138 = l_Lean_FileMap_toPosition(x_125, x_133); +lean_dec(x_125); +x_139 = lean_ctor_get(x_138, 1); +lean_inc(x_139); +lean_dec(x_138); +x_140 = lean_nat_dec_le(x_139, x_139); +lean_dec(x_139); +if (x_140 == 0) +{ +lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; +lean_dec(x_135); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_116 = l_Lean_nullKind; -x_117 = l_Lean_Parser_ParserState_mkNode(x_5, x_116, x_91); -return x_117; +x_141 = l_Lean_Parser_many1Indent___lambda__1___closed__1; +x_142 = l_Lean_Parser_ParserState_mkError(x_5, x_141); +x_143 = l_Lean_nullKind; +x_144 = l_Lean_Parser_ParserState_mkNode(x_142, x_143, x_137); +return x_144; +} +else +{ +lean_object* x_145; +x_145 = lean_ctor_get(x_5, 3); +lean_inc(x_145); +if (lean_obj_tag(x_145) == 0) +{ +lean_object* x_146; lean_object* x_147; lean_object* x_148; +x_146 = lean_unsigned_to_nat(0u); +lean_inc(x_135); +x_147 = l_Lean_Parser_categoryParser___elambda__1(x_1, x_146, x_135, x_5); +x_148 = lean_ctor_get(x_147, 3); +lean_inc(x_148); +if (lean_obj_tag(x_148) == 0) +{ +lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; +lean_inc(x_135); +x_149 = l_Lean_Parser_optionalFn(x_2, x_135, x_147); +x_150 = l_Lean_nullKind; +lean_inc(x_137); +x_151 = l_Lean_Parser_ParserState_mkNode(x_149, x_150, x_137); +x_152 = lean_ctor_get(x_151, 3); +lean_inc(x_152); +if (lean_obj_tag(x_152) == 0) +{ +lean_object* x_153; lean_object* x_154; +x_153 = l_Lean_Parser_manyAux(x_3, x_135, x_151); +x_154 = l_Lean_Parser_ParserState_mkNode(x_153, x_150, x_137); +return x_154; +} +else +{ +lean_object* x_155; +lean_dec(x_152); +lean_dec(x_135); +lean_dec(x_3); +x_155 = l_Lean_Parser_ParserState_mkNode(x_151, x_150, x_137); +return x_155; +} +} +else +{ +lean_object* x_156; lean_object* x_157; lean_object* x_158; +lean_dec(x_148); +lean_dec(x_2); +x_156 = l_Lean_nullKind; +lean_inc(x_137); +x_157 = l_Lean_Parser_ParserState_mkNode(x_147, x_156, x_137); +x_158 = lean_ctor_get(x_157, 3); +lean_inc(x_158); +if (lean_obj_tag(x_158) == 0) +{ +lean_object* x_159; lean_object* x_160; +x_159 = l_Lean_Parser_manyAux(x_3, x_135, x_157); +x_160 = l_Lean_Parser_ParserState_mkNode(x_159, x_156, x_137); +return x_160; +} +else +{ +lean_object* x_161; +lean_dec(x_158); +lean_dec(x_135); +lean_dec(x_3); +x_161 = l_Lean_Parser_ParserState_mkNode(x_157, x_156, x_137); +return x_161; +} +} +} +else +{ +lean_object* x_162; lean_object* x_163; +lean_dec(x_145); +lean_dec(x_135); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_162 = l_Lean_nullKind; +x_163 = l_Lean_Parser_ParserState_mkNode(x_5, x_162, x_137); +return x_163; } } } @@ -6256,7 +6494,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_myMacro____x40_Init_Notation___hyg_54____closed__6; -x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__10; +x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__10; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -6999,7 +7237,7 @@ static lean_object* _init_l_Lean_Parser_Term_type_formatter___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__37; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__37; x_2 = l_Lean_Parser_Level_paren_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); @@ -7023,7 +7261,7 @@ static lean_object* _init_l_Lean_Parser_Term_type_formatter___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__1; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__1; x_2 = l_Lean_Parser_Term_type_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); @@ -7123,7 +7361,7 @@ static lean_object* _init_l_Lean_Parser_Term_type_parenthesizer___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__37; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__37; x_2 = l_Lean_Parser_Level_max_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); @@ -7147,7 +7385,7 @@ static lean_object* _init_l_Lean_Parser_Term_type_parenthesizer___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__1; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__1; x_2 = l_Lean_Parser_Term_type_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); @@ -10017,93 +10255,167 @@ 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; +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; x_5 = lean_ctor_get(x_2, 0); -x_6 = lean_ctor_get(x_2, 5); -lean_dec(x_6); -x_7 = lean_ctor_get(x_2, 4); +x_6 = lean_ctor_get(x_2, 1); +x_7 = lean_ctor_get(x_2, 5); lean_dec(x_7); -x_8 = !lean_is_exclusive(x_5); -if (x_8 == 0) +x_8 = lean_ctor_get(x_2, 4); +lean_dec(x_8); +x_9 = !lean_is_exclusive(x_5); +if (x_9 == 0) { -lean_object* x_9; lean_object* x_10; -x_9 = lean_box(0); -lean_ctor_set(x_2, 5, x_9); -lean_ctor_set(x_2, 4, x_9); -x_10 = l_Lean_Parser_optionalFn(x_1, x_2, x_3); -return x_10; +uint8_t x_10; +x_10 = !lean_is_exclusive(x_6); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_box(0); +lean_ctor_set(x_2, 5, x_11); +lean_ctor_set(x_2, 4, x_11); +x_12 = l_Lean_Parser_optionalFn(x_1, x_2, x_3); +return x_12; } 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; -x_11 = lean_ctor_get(x_5, 0); -x_12 = lean_ctor_get(x_5, 1); -x_13 = lean_ctor_get(x_5, 2); +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_6, 0); +x_14 = lean_ctor_get(x_6, 1); +x_15 = lean_ctor_get(x_6, 2); +lean_inc(x_15); +lean_inc(x_14); lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_dec(x_5); -x_14 = lean_box(0); -x_15 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_15, 0, x_11); -lean_ctor_set(x_15, 1, x_12); -lean_ctor_set(x_15, 2, x_13); -lean_ctor_set(x_2, 5, x_14); -lean_ctor_set(x_2, 4, x_14); -lean_ctor_set(x_2, 0, x_15); -x_16 = l_Lean_Parser_optionalFn(x_1, x_2, x_3); -return x_16; +lean_dec(x_6); +x_16 = lean_box(0); +x_17 = lean_alloc_ctor(0, 3, 0); +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(x_2, 5, x_16); +lean_ctor_set(x_2, 4, x_16); +lean_ctor_set(x_2, 1, x_17); +x_18 = l_Lean_Parser_optionalFn(x_1, x_2, x_3); +return x_18; } } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t 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; -x_17 = lean_ctor_get(x_2, 0); -x_18 = lean_ctor_get(x_2, 1); -x_19 = lean_ctor_get(x_2, 2); -x_20 = lean_ctor_get(x_2, 3); -x_21 = lean_ctor_get_uint8(x_2, sizeof(void*)*6); -x_22 = lean_ctor_get_uint8(x_2, sizeof(void*)*6 + 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; +x_19 = lean_ctor_get(x_5, 0); +x_20 = lean_ctor_get(x_5, 1); +x_21 = lean_ctor_get(x_5, 2); +lean_inc(x_21); lean_inc(x_20); lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_2); -x_23 = lean_ctor_get(x_17, 0); +lean_dec(x_5); +x_22 = lean_ctor_get(x_6, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_6, 1); lean_inc(x_23); -x_24 = lean_ctor_get(x_17, 1); +x_24 = lean_ctor_get(x_6, 2); lean_inc(x_24); -x_25 = lean_ctor_get(x_17, 2); -lean_inc(x_25); -if (lean_is_exclusive(x_17)) { - lean_ctor_release(x_17, 0); - lean_ctor_release(x_17, 1); - lean_ctor_release(x_17, 2); - x_26 = x_17; +if (lean_is_exclusive(x_6)) { + lean_ctor_release(x_6, 0); + lean_ctor_release(x_6, 1); + lean_ctor_release(x_6, 2); + x_25 = x_6; } else { - lean_dec_ref(x_17); - x_26 = lean_box(0); + lean_dec_ref(x_6); + x_25 = lean_box(0); } -x_27 = lean_box(0); -if (lean_is_scalar(x_26)) { +x_26 = lean_box(0); +x_27 = lean_alloc_ctor(0, 3, 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); +if (lean_is_scalar(x_25)) { x_28 = lean_alloc_ctor(0, 3, 0); } else { - x_28 = x_26; + x_28 = x_25; } -lean_ctor_set(x_28, 0, x_23); -lean_ctor_set(x_28, 1, x_24); -lean_ctor_set(x_28, 2, x_25); -x_29 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_18); -lean_ctor_set(x_29, 2, x_19); -lean_ctor_set(x_29, 3, x_20); -lean_ctor_set(x_29, 4, x_27); -lean_ctor_set(x_29, 5, x_27); -lean_ctor_set_uint8(x_29, sizeof(void*)*6, x_21); -lean_ctor_set_uint8(x_29, sizeof(void*)*6 + 1, x_22); -x_30 = l_Lean_Parser_optionalFn(x_1, x_29, x_3); -return x_30; +lean_ctor_set(x_28, 0, x_22); +lean_ctor_set(x_28, 1, x_23); +lean_ctor_set(x_28, 2, x_24); +lean_ctor_set(x_2, 5, x_26); +lean_ctor_set(x_2, 4, x_26); +lean_ctor_set(x_2, 1, x_28); +lean_ctor_set(x_2, 0, x_27); +x_29 = l_Lean_Parser_optionalFn(x_1, x_2, x_3); +return x_29; +} +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; uint8_t 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_30 = lean_ctor_get(x_2, 0); +x_31 = lean_ctor_get(x_2, 1); +x_32 = lean_ctor_get(x_2, 2); +x_33 = lean_ctor_get(x_2, 3); +x_34 = lean_ctor_get_uint8(x_2, sizeof(void*)*6); +x_35 = lean_ctor_get_uint8(x_2, sizeof(void*)*6 + 1); +lean_inc(x_33); +lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_2); +x_36 = lean_ctor_get(x_30, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_30, 1); +lean_inc(x_37); +x_38 = lean_ctor_get(x_30, 2); +lean_inc(x_38); +if (lean_is_exclusive(x_30)) { + lean_ctor_release(x_30, 0); + lean_ctor_release(x_30, 1); + lean_ctor_release(x_30, 2); + x_39 = x_30; +} else { + lean_dec_ref(x_30); + x_39 = lean_box(0); +} +x_40 = lean_ctor_get(x_31, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_31, 1); +lean_inc(x_41); +x_42 = lean_ctor_get(x_31, 2); +lean_inc(x_42); +if (lean_is_exclusive(x_31)) { + lean_ctor_release(x_31, 0); + lean_ctor_release(x_31, 1); + lean_ctor_release(x_31, 2); + x_43 = x_31; +} else { + lean_dec_ref(x_31); + x_43 = lean_box(0); +} +x_44 = lean_box(0); +if (lean_is_scalar(x_39)) { + x_45 = lean_alloc_ctor(0, 3, 0); +} else { + x_45 = x_39; +} +lean_ctor_set(x_45, 0, x_36); +lean_ctor_set(x_45, 1, x_37); +lean_ctor_set(x_45, 2, x_38); +if (lean_is_scalar(x_43)) { + x_46 = lean_alloc_ctor(0, 3, 0); +} else { + x_46 = x_43; +} +lean_ctor_set(x_46, 0, x_40); +lean_ctor_set(x_46, 1, x_41); +lean_ctor_set(x_46, 2, x_42); +x_47 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +lean_ctor_set(x_47, 2, x_32); +lean_ctor_set(x_47, 3, x_33); +lean_ctor_set(x_47, 4, x_44); +lean_ctor_set(x_47, 5, x_44); +lean_ctor_set_uint8(x_47, sizeof(void*)*6, x_34); +lean_ctor_set_uint8(x_47, sizeof(void*)*6 + 1, x_35); +x_48 = l_Lean_Parser_optionalFn(x_1, x_47, x_3); +return x_48; } } } @@ -11993,150 +12305,243 @@ uint8_t x_4; x_4 = !lean_is_exclusive(x_2); if (x_4 == 0) { -lean_object* x_5; lean_object* x_6; uint8_t x_7; +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, 4); -lean_dec(x_6); -x_7 = !lean_is_exclusive(x_5); -if (x_7 == 0) +x_6 = lean_ctor_get(x_2, 1); +x_7 = lean_ctor_get(x_2, 4); +lean_dec(x_7); +x_8 = !lean_is_exclusive(x_5); +if (x_8 == 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_ctor_get(x_3, 1); -lean_inc(x_8); -x_9 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_9, 0, x_8); -lean_ctor_set(x_2, 4, x_9); -x_10 = l_instReprChar___closed__1; -x_11 = lean_string_append(x_10, x_1); -x_12 = lean_string_append(x_11, x_10); +uint8_t x_9; +x_9 = !lean_is_exclusive(x_6); +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; +x_10 = lean_ctor_get(x_3, 1); +lean_inc(x_10); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_2, 4, x_11); +x_12 = l_instReprChar___closed__1; +x_13 = lean_string_append(x_12, x_1); +x_14 = lean_string_append(x_13, x_12); lean_inc(x_2); -x_13 = l_Lean_Parser_symbolFnAux(x_1, x_12, x_2, x_3); -x_14 = lean_ctor_get(x_13, 3); -lean_inc(x_14); -if (lean_obj_tag(x_14) == 0) +x_15 = l_Lean_Parser_symbolFnAux(x_1, x_14, x_2, x_3); +x_16 = lean_ctor_get(x_15, 3); +lean_inc(x_16); +if (lean_obj_tag(x_16) == 0) { -lean_object* x_15; -x_15 = l_Lean_Parser_Term_haveDecl___elambda__1(x_2, x_13); +lean_object* x_17; +x_17 = l_Lean_Parser_Term_haveDecl___elambda__1(x_2, x_15); +return x_17; +} +else +{ +lean_dec(x_16); +lean_dec(x_2); return x_15; } -else -{ -lean_dec(x_14); -lean_dec(x_2); -return x_13; -} } 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_5, 0); -x_17 = lean_ctor_get(x_5, 1); -x_18 = lean_ctor_get(x_5, 2); -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_5); -x_19 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_19, 0, x_16); -lean_ctor_set(x_19, 1, x_17); -lean_ctor_set(x_19, 2, x_18); -x_20 = lean_ctor_get(x_3, 1); +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_18 = lean_ctor_get(x_6, 0); +x_19 = lean_ctor_get(x_6, 1); +x_20 = lean_ctor_get(x_6, 2); lean_inc(x_20); -x_21 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_2, 4, x_21); -lean_ctor_set(x_2, 0, x_19); -x_22 = l_instReprChar___closed__1; -x_23 = lean_string_append(x_22, x_1); -x_24 = lean_string_append(x_23, x_22); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_6); +x_21 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_21, 0, x_18); +lean_ctor_set(x_21, 1, x_19); +lean_ctor_set(x_21, 2, x_20); +x_22 = lean_ctor_get(x_3, 1); +lean_inc(x_22); +x_23 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_2, 4, x_23); +lean_ctor_set(x_2, 1, x_21); +x_24 = l_instReprChar___closed__1; +x_25 = lean_string_append(x_24, x_1); +x_26 = lean_string_append(x_25, x_24); lean_inc(x_2); -x_25 = l_Lean_Parser_symbolFnAux(x_1, x_24, x_2, x_3); -x_26 = lean_ctor_get(x_25, 3); -lean_inc(x_26); -if (lean_obj_tag(x_26) == 0) +x_27 = l_Lean_Parser_symbolFnAux(x_1, x_26, x_2, x_3); +x_28 = lean_ctor_get(x_27, 3); +lean_inc(x_28); +if (lean_obj_tag(x_28) == 0) { -lean_object* x_27; -x_27 = l_Lean_Parser_Term_haveDecl___elambda__1(x_2, x_25); +lean_object* x_29; +x_29 = l_Lean_Parser_Term_haveDecl___elambda__1(x_2, x_27); +return x_29; +} +else +{ +lean_dec(x_28); +lean_dec(x_2); return x_27; } -else -{ -lean_dec(x_26); -lean_dec(x_2); -return x_25; -} } } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; uint8_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_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_28 = lean_ctor_get(x_2, 0); -x_29 = lean_ctor_get(x_2, 1); -x_30 = lean_ctor_get(x_2, 2); -x_31 = lean_ctor_get(x_2, 3); -x_32 = lean_ctor_get_uint8(x_2, sizeof(void*)*6); -x_33 = lean_ctor_get_uint8(x_2, sizeof(void*)*6 + 1); -x_34 = lean_ctor_get(x_2, 5); -lean_inc(x_34); +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_30 = lean_ctor_get(x_5, 0); +x_31 = lean_ctor_get(x_5, 1); +x_32 = lean_ctor_get(x_5, 2); +lean_inc(x_32); lean_inc(x_31); lean_inc(x_30); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_2); -x_35 = lean_ctor_get(x_28, 0); +lean_dec(x_5); +x_33 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_33, 0, x_30); +lean_ctor_set(x_33, 1, x_31); +lean_ctor_set(x_33, 2, x_32); +x_34 = lean_ctor_get(x_6, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_6, 1); lean_inc(x_35); -x_36 = lean_ctor_get(x_28, 1); +x_36 = lean_ctor_get(x_6, 2); lean_inc(x_36); -x_37 = lean_ctor_get(x_28, 2); -lean_inc(x_37); -if (lean_is_exclusive(x_28)) { - lean_ctor_release(x_28, 0); - lean_ctor_release(x_28, 1); - lean_ctor_release(x_28, 2); - x_38 = x_28; +if (lean_is_exclusive(x_6)) { + lean_ctor_release(x_6, 0); + lean_ctor_release(x_6, 1); + lean_ctor_release(x_6, 2); + x_37 = x_6; } else { - lean_dec_ref(x_28); - x_38 = lean_box(0); + lean_dec_ref(x_6); + x_37 = lean_box(0); } -if (lean_is_scalar(x_38)) { - x_39 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_37)) { + x_38 = lean_alloc_ctor(0, 3, 0); } else { - x_39 = x_38; + x_38 = x_37; } -lean_ctor_set(x_39, 0, x_35); -lean_ctor_set(x_39, 1, x_36); -lean_ctor_set(x_39, 2, x_37); -x_40 = lean_ctor_get(x_3, 1); -lean_inc(x_40); -x_41 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_41, 0, x_40); -x_42 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_42, 0, x_39); -lean_ctor_set(x_42, 1, x_29); -lean_ctor_set(x_42, 2, x_30); -lean_ctor_set(x_42, 3, x_31); -lean_ctor_set(x_42, 4, x_41); -lean_ctor_set(x_42, 5, x_34); -lean_ctor_set_uint8(x_42, sizeof(void*)*6, x_32); -lean_ctor_set_uint8(x_42, sizeof(void*)*6 + 1, x_33); -x_43 = l_instReprChar___closed__1; -x_44 = lean_string_append(x_43, x_1); -x_45 = lean_string_append(x_44, x_43); -lean_inc(x_42); -x_46 = l_Lean_Parser_symbolFnAux(x_1, x_45, x_42, x_3); -x_47 = lean_ctor_get(x_46, 3); -lean_inc(x_47); -if (lean_obj_tag(x_47) == 0) +lean_ctor_set(x_38, 0, x_34); +lean_ctor_set(x_38, 1, x_35); +lean_ctor_set(x_38, 2, x_36); +x_39 = lean_ctor_get(x_3, 1); +lean_inc(x_39); +x_40 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_2, 4, x_40); +lean_ctor_set(x_2, 1, x_38); +lean_ctor_set(x_2, 0, x_33); +x_41 = l_instReprChar___closed__1; +x_42 = lean_string_append(x_41, x_1); +x_43 = lean_string_append(x_42, x_41); +lean_inc(x_2); +x_44 = l_Lean_Parser_symbolFnAux(x_1, x_43, x_2, x_3); +x_45 = lean_ctor_get(x_44, 3); +lean_inc(x_45); +if (lean_obj_tag(x_45) == 0) { -lean_object* x_48; -x_48 = l_Lean_Parser_Term_haveDecl___elambda__1(x_42, x_46); -return x_48; +lean_object* x_46; +x_46 = l_Lean_Parser_Term_haveDecl___elambda__1(x_2, x_44); +return x_46; } else { -lean_dec(x_47); -lean_dec(x_42); -return x_46; +lean_dec(x_45); +lean_dec(x_2); +return x_44; +} +} +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; 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; 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_47 = lean_ctor_get(x_2, 0); +x_48 = lean_ctor_get(x_2, 1); +x_49 = lean_ctor_get(x_2, 2); +x_50 = lean_ctor_get(x_2, 3); +x_51 = lean_ctor_get_uint8(x_2, sizeof(void*)*6); +x_52 = lean_ctor_get_uint8(x_2, sizeof(void*)*6 + 1); +x_53 = lean_ctor_get(x_2, 5); +lean_inc(x_53); +lean_inc(x_50); +lean_inc(x_49); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_2); +x_54 = lean_ctor_get(x_47, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_47, 1); +lean_inc(x_55); +x_56 = lean_ctor_get(x_47, 2); +lean_inc(x_56); +if (lean_is_exclusive(x_47)) { + lean_ctor_release(x_47, 0); + lean_ctor_release(x_47, 1); + lean_ctor_release(x_47, 2); + x_57 = x_47; +} else { + lean_dec_ref(x_47); + x_57 = lean_box(0); +} +if (lean_is_scalar(x_57)) { + x_58 = lean_alloc_ctor(0, 3, 0); +} else { + x_58 = x_57; +} +lean_ctor_set(x_58, 0, x_54); +lean_ctor_set(x_58, 1, x_55); +lean_ctor_set(x_58, 2, x_56); +x_59 = lean_ctor_get(x_48, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_48, 1); +lean_inc(x_60); +x_61 = lean_ctor_get(x_48, 2); +lean_inc(x_61); +if (lean_is_exclusive(x_48)) { + lean_ctor_release(x_48, 0); + lean_ctor_release(x_48, 1); + lean_ctor_release(x_48, 2); + x_62 = x_48; +} else { + lean_dec_ref(x_48); + x_62 = lean_box(0); +} +if (lean_is_scalar(x_62)) { + x_63 = lean_alloc_ctor(0, 3, 0); +} else { + x_63 = x_62; +} +lean_ctor_set(x_63, 0, x_59); +lean_ctor_set(x_63, 1, x_60); +lean_ctor_set(x_63, 2, x_61); +x_64 = lean_ctor_get(x_3, 1); +lean_inc(x_64); +x_65 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_65, 0, x_64); +x_66 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_66, 0, x_58); +lean_ctor_set(x_66, 1, x_63); +lean_ctor_set(x_66, 2, x_49); +lean_ctor_set(x_66, 3, x_50); +lean_ctor_set(x_66, 4, x_65); +lean_ctor_set(x_66, 5, x_53); +lean_ctor_set_uint8(x_66, sizeof(void*)*6, x_51); +lean_ctor_set_uint8(x_66, sizeof(void*)*6 + 1, x_52); +x_67 = l_instReprChar___closed__1; +x_68 = lean_string_append(x_67, x_1); +x_69 = lean_string_append(x_68, x_67); +lean_inc(x_66); +x_70 = l_Lean_Parser_symbolFnAux(x_1, x_69, x_66, x_3); +x_71 = lean_ctor_get(x_70, 3); +lean_inc(x_71); +if (lean_obj_tag(x_71) == 0) +{ +lean_object* x_72; +x_72 = l_Lean_Parser_Term_haveDecl___elambda__1(x_66, x_70); +return x_72; +} +else +{ +lean_dec(x_71); +lean_dec(x_66); +return x_70; } } } @@ -13121,150 +13526,243 @@ uint8_t x_4; x_4 = !lean_is_exclusive(x_2); if (x_4 == 0) { -lean_object* x_5; lean_object* x_6; uint8_t x_7; +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, 4); -lean_dec(x_6); -x_7 = !lean_is_exclusive(x_5); -if (x_7 == 0) +x_6 = lean_ctor_get(x_2, 1); +x_7 = lean_ctor_get(x_2, 4); +lean_dec(x_7); +x_8 = !lean_is_exclusive(x_5); +if (x_8 == 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_ctor_get(x_3, 1); -lean_inc(x_8); -x_9 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_9, 0, x_8); -lean_ctor_set(x_2, 4, x_9); -x_10 = l_instReprChar___closed__1; -x_11 = lean_string_append(x_10, x_1); -x_12 = lean_string_append(x_11, x_10); +uint8_t x_9; +x_9 = !lean_is_exclusive(x_6); +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; +x_10 = lean_ctor_get(x_3, 1); +lean_inc(x_10); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_2, 4, x_11); +x_12 = l_instReprChar___closed__1; +x_13 = lean_string_append(x_12, x_1); +x_14 = lean_string_append(x_13, x_12); lean_inc(x_2); -x_13 = l_Lean_Parser_symbolFnAux(x_1, x_12, x_2, x_3); -x_14 = lean_ctor_get(x_13, 3); -lean_inc(x_14); -if (lean_obj_tag(x_14) == 0) +x_15 = l_Lean_Parser_symbolFnAux(x_1, x_14, x_2, x_3); +x_16 = lean_ctor_get(x_15, 3); +lean_inc(x_16); +if (lean_obj_tag(x_16) == 0) { -lean_object* x_15; -x_15 = l_Lean_Parser_Term_sufficesDecl___elambda__1(x_2, x_13); +lean_object* x_17; +x_17 = l_Lean_Parser_Term_sufficesDecl___elambda__1(x_2, x_15); +return x_17; +} +else +{ +lean_dec(x_16); +lean_dec(x_2); return x_15; } -else -{ -lean_dec(x_14); -lean_dec(x_2); -return x_13; -} } 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_5, 0); -x_17 = lean_ctor_get(x_5, 1); -x_18 = lean_ctor_get(x_5, 2); -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_5); -x_19 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_19, 0, x_16); -lean_ctor_set(x_19, 1, x_17); -lean_ctor_set(x_19, 2, x_18); -x_20 = lean_ctor_get(x_3, 1); +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_18 = lean_ctor_get(x_6, 0); +x_19 = lean_ctor_get(x_6, 1); +x_20 = lean_ctor_get(x_6, 2); lean_inc(x_20); -x_21 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_2, 4, x_21); -lean_ctor_set(x_2, 0, x_19); -x_22 = l_instReprChar___closed__1; -x_23 = lean_string_append(x_22, x_1); -x_24 = lean_string_append(x_23, x_22); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_6); +x_21 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_21, 0, x_18); +lean_ctor_set(x_21, 1, x_19); +lean_ctor_set(x_21, 2, x_20); +x_22 = lean_ctor_get(x_3, 1); +lean_inc(x_22); +x_23 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_2, 4, x_23); +lean_ctor_set(x_2, 1, x_21); +x_24 = l_instReprChar___closed__1; +x_25 = lean_string_append(x_24, x_1); +x_26 = lean_string_append(x_25, x_24); lean_inc(x_2); -x_25 = l_Lean_Parser_symbolFnAux(x_1, x_24, x_2, x_3); -x_26 = lean_ctor_get(x_25, 3); -lean_inc(x_26); -if (lean_obj_tag(x_26) == 0) +x_27 = l_Lean_Parser_symbolFnAux(x_1, x_26, x_2, x_3); +x_28 = lean_ctor_get(x_27, 3); +lean_inc(x_28); +if (lean_obj_tag(x_28) == 0) { -lean_object* x_27; -x_27 = l_Lean_Parser_Term_sufficesDecl___elambda__1(x_2, x_25); +lean_object* x_29; +x_29 = l_Lean_Parser_Term_sufficesDecl___elambda__1(x_2, x_27); +return x_29; +} +else +{ +lean_dec(x_28); +lean_dec(x_2); return x_27; } -else -{ -lean_dec(x_26); -lean_dec(x_2); -return x_25; -} } } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; uint8_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_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_28 = lean_ctor_get(x_2, 0); -x_29 = lean_ctor_get(x_2, 1); -x_30 = lean_ctor_get(x_2, 2); -x_31 = lean_ctor_get(x_2, 3); -x_32 = lean_ctor_get_uint8(x_2, sizeof(void*)*6); -x_33 = lean_ctor_get_uint8(x_2, sizeof(void*)*6 + 1); -x_34 = lean_ctor_get(x_2, 5); -lean_inc(x_34); +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_30 = lean_ctor_get(x_5, 0); +x_31 = lean_ctor_get(x_5, 1); +x_32 = lean_ctor_get(x_5, 2); +lean_inc(x_32); lean_inc(x_31); lean_inc(x_30); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_2); -x_35 = lean_ctor_get(x_28, 0); +lean_dec(x_5); +x_33 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_33, 0, x_30); +lean_ctor_set(x_33, 1, x_31); +lean_ctor_set(x_33, 2, x_32); +x_34 = lean_ctor_get(x_6, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_6, 1); lean_inc(x_35); -x_36 = lean_ctor_get(x_28, 1); +x_36 = lean_ctor_get(x_6, 2); lean_inc(x_36); -x_37 = lean_ctor_get(x_28, 2); -lean_inc(x_37); -if (lean_is_exclusive(x_28)) { - lean_ctor_release(x_28, 0); - lean_ctor_release(x_28, 1); - lean_ctor_release(x_28, 2); - x_38 = x_28; +if (lean_is_exclusive(x_6)) { + lean_ctor_release(x_6, 0); + lean_ctor_release(x_6, 1); + lean_ctor_release(x_6, 2); + x_37 = x_6; } else { - lean_dec_ref(x_28); - x_38 = lean_box(0); + lean_dec_ref(x_6); + x_37 = lean_box(0); } -if (lean_is_scalar(x_38)) { - x_39 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_37)) { + x_38 = lean_alloc_ctor(0, 3, 0); } else { - x_39 = x_38; + x_38 = x_37; } -lean_ctor_set(x_39, 0, x_35); -lean_ctor_set(x_39, 1, x_36); -lean_ctor_set(x_39, 2, x_37); -x_40 = lean_ctor_get(x_3, 1); -lean_inc(x_40); -x_41 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_41, 0, x_40); -x_42 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_42, 0, x_39); -lean_ctor_set(x_42, 1, x_29); -lean_ctor_set(x_42, 2, x_30); -lean_ctor_set(x_42, 3, x_31); -lean_ctor_set(x_42, 4, x_41); -lean_ctor_set(x_42, 5, x_34); -lean_ctor_set_uint8(x_42, sizeof(void*)*6, x_32); -lean_ctor_set_uint8(x_42, sizeof(void*)*6 + 1, x_33); -x_43 = l_instReprChar___closed__1; -x_44 = lean_string_append(x_43, x_1); -x_45 = lean_string_append(x_44, x_43); -lean_inc(x_42); -x_46 = l_Lean_Parser_symbolFnAux(x_1, x_45, x_42, x_3); -x_47 = lean_ctor_get(x_46, 3); -lean_inc(x_47); -if (lean_obj_tag(x_47) == 0) +lean_ctor_set(x_38, 0, x_34); +lean_ctor_set(x_38, 1, x_35); +lean_ctor_set(x_38, 2, x_36); +x_39 = lean_ctor_get(x_3, 1); +lean_inc(x_39); +x_40 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_2, 4, x_40); +lean_ctor_set(x_2, 1, x_38); +lean_ctor_set(x_2, 0, x_33); +x_41 = l_instReprChar___closed__1; +x_42 = lean_string_append(x_41, x_1); +x_43 = lean_string_append(x_42, x_41); +lean_inc(x_2); +x_44 = l_Lean_Parser_symbolFnAux(x_1, x_43, x_2, x_3); +x_45 = lean_ctor_get(x_44, 3); +lean_inc(x_45); +if (lean_obj_tag(x_45) == 0) { -lean_object* x_48; -x_48 = l_Lean_Parser_Term_sufficesDecl___elambda__1(x_42, x_46); -return x_48; +lean_object* x_46; +x_46 = l_Lean_Parser_Term_sufficesDecl___elambda__1(x_2, x_44); +return x_46; } else { -lean_dec(x_47); -lean_dec(x_42); -return x_46; +lean_dec(x_45); +lean_dec(x_2); +return x_44; +} +} +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; 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; 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_47 = lean_ctor_get(x_2, 0); +x_48 = lean_ctor_get(x_2, 1); +x_49 = lean_ctor_get(x_2, 2); +x_50 = lean_ctor_get(x_2, 3); +x_51 = lean_ctor_get_uint8(x_2, sizeof(void*)*6); +x_52 = lean_ctor_get_uint8(x_2, sizeof(void*)*6 + 1); +x_53 = lean_ctor_get(x_2, 5); +lean_inc(x_53); +lean_inc(x_50); +lean_inc(x_49); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_2); +x_54 = lean_ctor_get(x_47, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_47, 1); +lean_inc(x_55); +x_56 = lean_ctor_get(x_47, 2); +lean_inc(x_56); +if (lean_is_exclusive(x_47)) { + lean_ctor_release(x_47, 0); + lean_ctor_release(x_47, 1); + lean_ctor_release(x_47, 2); + x_57 = x_47; +} else { + lean_dec_ref(x_47); + x_57 = lean_box(0); +} +if (lean_is_scalar(x_57)) { + x_58 = lean_alloc_ctor(0, 3, 0); +} else { + x_58 = x_57; +} +lean_ctor_set(x_58, 0, x_54); +lean_ctor_set(x_58, 1, x_55); +lean_ctor_set(x_58, 2, x_56); +x_59 = lean_ctor_get(x_48, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_48, 1); +lean_inc(x_60); +x_61 = lean_ctor_get(x_48, 2); +lean_inc(x_61); +if (lean_is_exclusive(x_48)) { + lean_ctor_release(x_48, 0); + lean_ctor_release(x_48, 1); + lean_ctor_release(x_48, 2); + x_62 = x_48; +} else { + lean_dec_ref(x_48); + x_62 = lean_box(0); +} +if (lean_is_scalar(x_62)) { + x_63 = lean_alloc_ctor(0, 3, 0); +} else { + x_63 = x_62; +} +lean_ctor_set(x_63, 0, x_59); +lean_ctor_set(x_63, 1, x_60); +lean_ctor_set(x_63, 2, x_61); +x_64 = lean_ctor_get(x_3, 1); +lean_inc(x_64); +x_65 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_65, 0, x_64); +x_66 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_66, 0, x_58); +lean_ctor_set(x_66, 1, x_63); +lean_ctor_set(x_66, 2, x_49); +lean_ctor_set(x_66, 3, x_50); +lean_ctor_set(x_66, 4, x_65); +lean_ctor_set(x_66, 5, x_53); +lean_ctor_set_uint8(x_66, sizeof(void*)*6, x_51); +lean_ctor_set_uint8(x_66, sizeof(void*)*6 + 1, x_52); +x_67 = l_instReprChar___closed__1; +x_68 = lean_string_append(x_67, x_1); +x_69 = lean_string_append(x_68, x_67); +lean_inc(x_66); +x_70 = l_Lean_Parser_symbolFnAux(x_1, x_69, x_66, x_3); +x_71 = lean_ctor_get(x_70, 3); +lean_inc(x_71); +if (lean_obj_tag(x_71) == 0) +{ +lean_object* x_72; +x_72 = l_Lean_Parser_Term_sufficesDecl___elambda__1(x_66, x_70); +return x_72; +} +else +{ +lean_dec(x_71); +lean_dec(x_66); +return x_70; } } } @@ -20688,150 +21186,243 @@ uint8_t x_7; x_7 = !lean_is_exclusive(x_4); if (x_7 == 0) { -lean_object* x_8; lean_object* x_9; uint8_t x_10; +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_8 = lean_ctor_get(x_4, 0); -x_9 = lean_ctor_get(x_4, 4); -lean_dec(x_9); -x_10 = !lean_is_exclusive(x_8); -if (x_10 == 0) +x_9 = lean_ctor_get(x_4, 1); +x_10 = lean_ctor_get(x_4, 4); +lean_dec(x_10); +x_11 = !lean_is_exclusive(x_8); +if (x_11 == 0) { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_11 = lean_ctor_get(x_5, 1); -lean_inc(x_11); -x_12 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_4, 4, x_12); +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; lean_object* x_16; +x_13 = lean_ctor_get(x_5, 1); +lean_inc(x_13); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_4, 4, x_14); lean_inc(x_4); -x_13 = lean_apply_2(x_1, x_4, x_5); -x_14 = lean_ctor_get(x_13, 3); -lean_inc(x_14); -if (lean_obj_tag(x_14) == 0) +x_15 = lean_apply_2(x_1, x_4, x_5); +x_16 = lean_ctor_get(x_15, 3); +lean_inc(x_16); +if (lean_obj_tag(x_16) == 0) { -uint8_t x_15; lean_object* x_16; -x_15 = 0; -x_16 = l_Lean_Parser_sepBy1Fn(x_15, x_2, x_3, x_4, x_13); -return x_16; +uint8_t x_17; lean_object* x_18; +x_17 = 0; +x_18 = l_Lean_Parser_sepBy1Fn(x_17, x_2, x_3, x_4, x_15); +return x_18; } else { -lean_dec(x_14); +lean_dec(x_16); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_13; +return x_15; } } 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; -x_17 = lean_ctor_get(x_8, 0); -x_18 = lean_ctor_get(x_8, 1); -x_19 = lean_ctor_get(x_8, 2); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_8); -x_20 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_20, 0, x_17); -lean_ctor_set(x_20, 1, x_18); -lean_ctor_set(x_20, 2, x_19); -x_21 = lean_ctor_get(x_5, 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; +x_19 = lean_ctor_get(x_9, 0); +x_20 = lean_ctor_get(x_9, 1); +x_21 = lean_ctor_get(x_9, 2); lean_inc(x_21); -x_22 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_4, 4, x_22); -lean_ctor_set(x_4, 0, x_20); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_9); +x_22 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_22, 0, x_19); +lean_ctor_set(x_22, 1, x_20); +lean_ctor_set(x_22, 2, x_21); +x_23 = lean_ctor_get(x_5, 1); +lean_inc(x_23); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_4, 4, x_24); +lean_ctor_set(x_4, 1, x_22); lean_inc(x_4); -x_23 = lean_apply_2(x_1, x_4, x_5); -x_24 = lean_ctor_get(x_23, 3); -lean_inc(x_24); -if (lean_obj_tag(x_24) == 0) +x_25 = lean_apply_2(x_1, x_4, x_5); +x_26 = lean_ctor_get(x_25, 3); +lean_inc(x_26); +if (lean_obj_tag(x_26) == 0) { -uint8_t x_25; lean_object* x_26; -x_25 = 0; -x_26 = l_Lean_Parser_sepBy1Fn(x_25, x_2, x_3, x_4, x_23); -return x_26; +uint8_t x_27; lean_object* x_28; +x_27 = 0; +x_28 = l_Lean_Parser_sepBy1Fn(x_27, x_2, x_3, x_4, x_25); +return x_28; } else { -lean_dec(x_24); +lean_dec(x_26); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_23; +return x_25; } } } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; uint8_t 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_27 = lean_ctor_get(x_4, 0); -x_28 = lean_ctor_get(x_4, 1); -x_29 = lean_ctor_get(x_4, 2); -x_30 = lean_ctor_get(x_4, 3); -x_31 = lean_ctor_get_uint8(x_4, sizeof(void*)*6); -x_32 = lean_ctor_get_uint8(x_4, sizeof(void*)*6 + 1); -x_33 = lean_ctor_get(x_4, 5); -lean_inc(x_33); +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; +x_29 = lean_ctor_get(x_8, 0); +x_30 = lean_ctor_get(x_8, 1); +x_31 = lean_ctor_get(x_8, 2); +lean_inc(x_31); lean_inc(x_30); lean_inc(x_29); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_4); -x_34 = lean_ctor_get(x_27, 0); +lean_dec(x_8); +x_32 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_32, 0, x_29); +lean_ctor_set(x_32, 1, x_30); +lean_ctor_set(x_32, 2, x_31); +x_33 = lean_ctor_get(x_9, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_9, 1); lean_inc(x_34); -x_35 = lean_ctor_get(x_27, 1); +x_35 = lean_ctor_get(x_9, 2); lean_inc(x_35); -x_36 = lean_ctor_get(x_27, 2); -lean_inc(x_36); -if (lean_is_exclusive(x_27)) { - lean_ctor_release(x_27, 0); - lean_ctor_release(x_27, 1); - lean_ctor_release(x_27, 2); - x_37 = x_27; +if (lean_is_exclusive(x_9)) { + lean_ctor_release(x_9, 0); + lean_ctor_release(x_9, 1); + lean_ctor_release(x_9, 2); + x_36 = x_9; } else { - lean_dec_ref(x_27); - x_37 = lean_box(0); + lean_dec_ref(x_9); + x_36 = lean_box(0); } -if (lean_is_scalar(x_37)) { - x_38 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_36)) { + x_37 = lean_alloc_ctor(0, 3, 0); } else { - x_38 = x_37; + x_37 = x_36; } -lean_ctor_set(x_38, 0, x_34); -lean_ctor_set(x_38, 1, x_35); -lean_ctor_set(x_38, 2, x_36); -x_39 = lean_ctor_get(x_5, 1); -lean_inc(x_39); -x_40 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_40, 0, x_39); -x_41 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_41, 0, x_38); -lean_ctor_set(x_41, 1, x_28); -lean_ctor_set(x_41, 2, x_29); -lean_ctor_set(x_41, 3, x_30); -lean_ctor_set(x_41, 4, x_40); -lean_ctor_set(x_41, 5, x_33); -lean_ctor_set_uint8(x_41, sizeof(void*)*6, x_31); -lean_ctor_set_uint8(x_41, sizeof(void*)*6 + 1, x_32); +lean_ctor_set(x_37, 0, x_33); +lean_ctor_set(x_37, 1, x_34); +lean_ctor_set(x_37, 2, x_35); +x_38 = lean_ctor_get(x_5, 1); +lean_inc(x_38); +x_39 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_4, 4, x_39); +lean_ctor_set(x_4, 1, x_37); +lean_ctor_set(x_4, 0, x_32); +lean_inc(x_4); +x_40 = lean_apply_2(x_1, x_4, x_5); +x_41 = lean_ctor_get(x_40, 3); lean_inc(x_41); -x_42 = lean_apply_2(x_1, x_41, x_5); -x_43 = lean_ctor_get(x_42, 3); -lean_inc(x_43); -if (lean_obj_tag(x_43) == 0) +if (lean_obj_tag(x_41) == 0) { -uint8_t x_44; lean_object* x_45; -x_44 = 0; -x_45 = l_Lean_Parser_sepBy1Fn(x_44, x_2, x_3, x_41, x_42); -return x_45; +uint8_t x_42; lean_object* x_43; +x_42 = 0; +x_43 = l_Lean_Parser_sepBy1Fn(x_42, x_2, x_3, x_4, x_40); +return x_43; } else { -lean_dec(x_43); lean_dec(x_41); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_42; +return x_40; +} +} +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; uint8_t 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; +x_44 = lean_ctor_get(x_4, 0); +x_45 = lean_ctor_get(x_4, 1); +x_46 = lean_ctor_get(x_4, 2); +x_47 = lean_ctor_get(x_4, 3); +x_48 = lean_ctor_get_uint8(x_4, sizeof(void*)*6); +x_49 = lean_ctor_get_uint8(x_4, sizeof(void*)*6 + 1); +x_50 = lean_ctor_get(x_4, 5); +lean_inc(x_50); +lean_inc(x_47); +lean_inc(x_46); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_4); +x_51 = lean_ctor_get(x_44, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_44, 1); +lean_inc(x_52); +x_53 = lean_ctor_get(x_44, 2); +lean_inc(x_53); +if (lean_is_exclusive(x_44)) { + lean_ctor_release(x_44, 0); + lean_ctor_release(x_44, 1); + lean_ctor_release(x_44, 2); + x_54 = x_44; +} else { + lean_dec_ref(x_44); + x_54 = lean_box(0); +} +if (lean_is_scalar(x_54)) { + x_55 = lean_alloc_ctor(0, 3, 0); +} else { + x_55 = x_54; +} +lean_ctor_set(x_55, 0, x_51); +lean_ctor_set(x_55, 1, x_52); +lean_ctor_set(x_55, 2, x_53); +x_56 = lean_ctor_get(x_45, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_45, 1); +lean_inc(x_57); +x_58 = lean_ctor_get(x_45, 2); +lean_inc(x_58); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + lean_ctor_release(x_45, 1); + lean_ctor_release(x_45, 2); + x_59 = x_45; +} else { + lean_dec_ref(x_45); + x_59 = lean_box(0); +} +if (lean_is_scalar(x_59)) { + x_60 = lean_alloc_ctor(0, 3, 0); +} else { + x_60 = x_59; +} +lean_ctor_set(x_60, 0, x_56); +lean_ctor_set(x_60, 1, x_57); +lean_ctor_set(x_60, 2, x_58); +x_61 = lean_ctor_get(x_5, 1); +lean_inc(x_61); +x_62 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_62, 0, x_61); +x_63 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_63, 0, x_55); +lean_ctor_set(x_63, 1, x_60); +lean_ctor_set(x_63, 2, x_46); +lean_ctor_set(x_63, 3, x_47); +lean_ctor_set(x_63, 4, x_62); +lean_ctor_set(x_63, 5, x_50); +lean_ctor_set_uint8(x_63, sizeof(void*)*6, x_48); +lean_ctor_set_uint8(x_63, sizeof(void*)*6 + 1, x_49); +lean_inc(x_63); +x_64 = lean_apply_2(x_1, x_63, x_5); +x_65 = lean_ctor_get(x_64, 3); +lean_inc(x_65); +if (lean_obj_tag(x_65) == 0) +{ +uint8_t x_66; lean_object* x_67; +x_66 = 0; +x_67 = l_Lean_Parser_sepBy1Fn(x_66, x_2, x_3, x_63, x_64); +return x_67; +} +else +{ +lean_dec(x_65); +lean_dec(x_63); +lean_dec(x_3); +lean_dec(x_2); +return x_64; } } } @@ -21625,7 +22216,7 @@ static lean_object* _init_l_Lean_Parser_Term_matchDiscr_formatter___closed__2() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__3; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__3; x_2 = l_Lean_Parser_mkAntiquot_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); @@ -21801,7 +22392,7 @@ static lean_object* _init_l_Lean_Parser_Term_matchAlts_formatter___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__39; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__39; x_2 = l_Lean_Parser_Term_matchAlts_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); @@ -22316,7 +22907,7 @@ static lean_object* _init_l_Lean_Parser_Term_matchAlts_parenthesizer___closed__4 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__39; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__39; x_2 = l_Lean_Parser_antiquotNestedExpr_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); @@ -27134,153 +27725,247 @@ uint8_t x_5; x_5 = !lean_is_exclusive(x_3); if (x_5 == 0) { -lean_object* x_6; lean_object* x_7; uint8_t x_8; +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_3, 4); -lean_dec(x_7); -x_8 = !lean_is_exclusive(x_6); -if (x_8 == 0) +x_7 = lean_ctor_get(x_3, 1); +x_8 = lean_ctor_get(x_3, 4); +lean_dec(x_8); +x_9 = !lean_is_exclusive(x_6); +if (x_9 == 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; -x_9 = lean_ctor_get(x_4, 1); -lean_inc(x_9); -x_10 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_3, 4, x_10); -x_11 = l_instReprChar___closed__1; -x_12 = lean_string_append(x_11, x_1); -x_13 = lean_string_append(x_12, x_11); +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; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_11 = lean_ctor_get(x_4, 1); +lean_inc(x_11); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_3, 4, x_12); +x_13 = l_instReprChar___closed__1; +x_14 = lean_string_append(x_13, x_1); +x_15 = lean_string_append(x_14, x_13); lean_inc(x_3); -x_14 = l_Lean_Parser_symbolFnAux(x_1, x_13, x_3, x_4); -x_15 = lean_ctor_get(x_14, 3); -lean_inc(x_15); -if (lean_obj_tag(x_15) == 0) +x_16 = l_Lean_Parser_symbolFnAux(x_1, x_15, x_3, x_4); +x_17 = lean_ctor_get(x_16, 3); +lean_inc(x_17); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_16; -x_16 = lean_apply_2(x_2, x_3, x_14); +lean_object* x_18; +x_18 = lean_apply_2(x_2, x_3, x_16); +return x_18; +} +else +{ +lean_dec(x_17); +lean_dec(x_3); +lean_dec(x_2); return x_16; } +} else { -lean_dec(x_15); +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_19 = lean_ctor_get(x_7, 0); +x_20 = lean_ctor_get(x_7, 1); +x_21 = lean_ctor_get(x_7, 2); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_7); +x_22 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_22, 0, x_19); +lean_ctor_set(x_22, 1, x_20); +lean_ctor_set(x_22, 2, x_21); +x_23 = lean_ctor_get(x_4, 1); +lean_inc(x_23); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_3, 4, x_24); +lean_ctor_set(x_3, 1, x_22); +x_25 = l_instReprChar___closed__1; +x_26 = lean_string_append(x_25, x_1); +x_27 = lean_string_append(x_26, x_25); +lean_inc(x_3); +x_28 = l_Lean_Parser_symbolFnAux(x_1, x_27, x_3, x_4); +x_29 = lean_ctor_get(x_28, 3); +lean_inc(x_29); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; +x_30 = lean_apply_2(x_2, x_3, x_28); +return x_30; +} +else +{ +lean_dec(x_29); lean_dec(x_3); lean_dec(x_2); -return x_14; -} -} -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; lean_object* x_27; -x_17 = lean_ctor_get(x_6, 0); -x_18 = lean_ctor_get(x_6, 1); -x_19 = lean_ctor_get(x_6, 2); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_6); -x_20 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_20, 0, x_17); -lean_ctor_set(x_20, 1, x_18); -lean_ctor_set(x_20, 2, x_19); -x_21 = lean_ctor_get(x_4, 1); -lean_inc(x_21); -x_22 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_3, 4, x_22); -lean_ctor_set(x_3, 0, x_20); -x_23 = l_instReprChar___closed__1; -x_24 = lean_string_append(x_23, x_1); -x_25 = lean_string_append(x_24, x_23); -lean_inc(x_3); -x_26 = l_Lean_Parser_symbolFnAux(x_1, x_25, x_3, x_4); -x_27 = lean_ctor_get(x_26, 3); -lean_inc(x_27); -if (lean_obj_tag(x_27) == 0) -{ -lean_object* x_28; -x_28 = lean_apply_2(x_2, x_3, x_26); return x_28; } -else -{ -lean_dec(x_27); -lean_dec(x_3); -lean_dec(x_2); -return x_26; -} } } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; uint8_t 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_29 = lean_ctor_get(x_3, 0); -x_30 = lean_ctor_get(x_3, 1); -x_31 = lean_ctor_get(x_3, 2); -x_32 = lean_ctor_get(x_3, 3); -x_33 = lean_ctor_get_uint8(x_3, sizeof(void*)*6); -x_34 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 1); -x_35 = lean_ctor_get(x_3, 5); -lean_inc(x_35); +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_31 = lean_ctor_get(x_6, 0); +x_32 = lean_ctor_get(x_6, 1); +x_33 = lean_ctor_get(x_6, 2); +lean_inc(x_33); lean_inc(x_32); lean_inc(x_31); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_3); -x_36 = lean_ctor_get(x_29, 0); +lean_dec(x_6); +x_34 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_34, 0, x_31); +lean_ctor_set(x_34, 1, x_32); +lean_ctor_set(x_34, 2, x_33); +x_35 = lean_ctor_get(x_7, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_7, 1); lean_inc(x_36); -x_37 = lean_ctor_get(x_29, 1); +x_37 = lean_ctor_get(x_7, 2); lean_inc(x_37); -x_38 = lean_ctor_get(x_29, 2); -lean_inc(x_38); -if (lean_is_exclusive(x_29)) { - lean_ctor_release(x_29, 0); - lean_ctor_release(x_29, 1); - lean_ctor_release(x_29, 2); - x_39 = x_29; +if (lean_is_exclusive(x_7)) { + lean_ctor_release(x_7, 0); + lean_ctor_release(x_7, 1); + lean_ctor_release(x_7, 2); + x_38 = x_7; } else { - lean_dec_ref(x_29); - x_39 = lean_box(0); + lean_dec_ref(x_7); + x_38 = lean_box(0); } -if (lean_is_scalar(x_39)) { - x_40 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_38)) { + x_39 = lean_alloc_ctor(0, 3, 0); } else { - x_40 = x_39; + x_39 = x_38; } -lean_ctor_set(x_40, 0, x_36); -lean_ctor_set(x_40, 1, x_37); -lean_ctor_set(x_40, 2, x_38); -x_41 = lean_ctor_get(x_4, 1); -lean_inc(x_41); -x_42 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_42, 0, x_41); -x_43 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_43, 0, x_40); -lean_ctor_set(x_43, 1, x_30); -lean_ctor_set(x_43, 2, x_31); -lean_ctor_set(x_43, 3, x_32); -lean_ctor_set(x_43, 4, x_42); -lean_ctor_set(x_43, 5, x_35); -lean_ctor_set_uint8(x_43, sizeof(void*)*6, x_33); -lean_ctor_set_uint8(x_43, sizeof(void*)*6 + 1, x_34); -x_44 = l_instReprChar___closed__1; -x_45 = lean_string_append(x_44, x_1); -x_46 = lean_string_append(x_45, x_44); -lean_inc(x_43); -x_47 = l_Lean_Parser_symbolFnAux(x_1, x_46, x_43, x_4); -x_48 = lean_ctor_get(x_47, 3); -lean_inc(x_48); -if (lean_obj_tag(x_48) == 0) +lean_ctor_set(x_39, 0, x_35); +lean_ctor_set(x_39, 1, x_36); +lean_ctor_set(x_39, 2, x_37); +x_40 = lean_ctor_get(x_4, 1); +lean_inc(x_40); +x_41 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_3, 4, x_41); +lean_ctor_set(x_3, 1, x_39); +lean_ctor_set(x_3, 0, x_34); +x_42 = l_instReprChar___closed__1; +x_43 = lean_string_append(x_42, x_1); +x_44 = lean_string_append(x_43, x_42); +lean_inc(x_3); +x_45 = l_Lean_Parser_symbolFnAux(x_1, x_44, x_3, x_4); +x_46 = lean_ctor_get(x_45, 3); +lean_inc(x_46); +if (lean_obj_tag(x_46) == 0) { -lean_object* x_49; -x_49 = lean_apply_2(x_2, x_43, x_47); -return x_49; +lean_object* x_47; +x_47 = lean_apply_2(x_2, x_3, x_45); +return x_47; } else { -lean_dec(x_48); -lean_dec(x_43); +lean_dec(x_46); +lean_dec(x_3); lean_dec(x_2); -return x_47; +return x_45; +} +} +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; uint8_t 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_48 = lean_ctor_get(x_3, 0); +x_49 = lean_ctor_get(x_3, 1); +x_50 = lean_ctor_get(x_3, 2); +x_51 = lean_ctor_get(x_3, 3); +x_52 = lean_ctor_get_uint8(x_3, sizeof(void*)*6); +x_53 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 1); +x_54 = lean_ctor_get(x_3, 5); +lean_inc(x_54); +lean_inc(x_51); +lean_inc(x_50); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_3); +x_55 = lean_ctor_get(x_48, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_48, 1); +lean_inc(x_56); +x_57 = lean_ctor_get(x_48, 2); +lean_inc(x_57); +if (lean_is_exclusive(x_48)) { + lean_ctor_release(x_48, 0); + lean_ctor_release(x_48, 1); + lean_ctor_release(x_48, 2); + x_58 = x_48; +} else { + lean_dec_ref(x_48); + x_58 = lean_box(0); +} +if (lean_is_scalar(x_58)) { + x_59 = lean_alloc_ctor(0, 3, 0); +} else { + x_59 = x_58; +} +lean_ctor_set(x_59, 0, x_55); +lean_ctor_set(x_59, 1, x_56); +lean_ctor_set(x_59, 2, x_57); +x_60 = lean_ctor_get(x_49, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_49, 1); +lean_inc(x_61); +x_62 = lean_ctor_get(x_49, 2); +lean_inc(x_62); +if (lean_is_exclusive(x_49)) { + lean_ctor_release(x_49, 0); + lean_ctor_release(x_49, 1); + lean_ctor_release(x_49, 2); + x_63 = x_49; +} else { + lean_dec_ref(x_49); + x_63 = lean_box(0); +} +if (lean_is_scalar(x_63)) { + x_64 = lean_alloc_ctor(0, 3, 0); +} else { + x_64 = x_63; +} +lean_ctor_set(x_64, 0, x_60); +lean_ctor_set(x_64, 1, x_61); +lean_ctor_set(x_64, 2, x_62); +x_65 = lean_ctor_get(x_4, 1); +lean_inc(x_65); +x_66 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_66, 0, x_65); +x_67 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_67, 0, x_59); +lean_ctor_set(x_67, 1, x_64); +lean_ctor_set(x_67, 2, x_50); +lean_ctor_set(x_67, 3, x_51); +lean_ctor_set(x_67, 4, x_66); +lean_ctor_set(x_67, 5, x_54); +lean_ctor_set_uint8(x_67, sizeof(void*)*6, x_52); +lean_ctor_set_uint8(x_67, sizeof(void*)*6 + 1, x_53); +x_68 = l_instReprChar___closed__1; +x_69 = lean_string_append(x_68, x_1); +x_70 = lean_string_append(x_69, x_68); +lean_inc(x_67); +x_71 = l_Lean_Parser_symbolFnAux(x_1, x_70, x_67, x_4); +x_72 = lean_ctor_get(x_71, 3); +lean_inc(x_72); +if (lean_obj_tag(x_72) == 0) +{ +lean_object* x_73; +x_73 = lean_apply_2(x_2, x_67, x_71); +return x_73; +} +else +{ +lean_dec(x_72); +lean_dec(x_67); +lean_dec(x_2); +return x_71; } } } @@ -27575,7 +28260,7 @@ static lean_object* _init_l_Lean_Parser_Term_letIdLhs_formatter___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__1; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__1; x_2 = l_Lean_Parser_Term_letIdLhs_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); @@ -28017,7 +28702,7 @@ static lean_object* _init_l_Lean_Parser_Term_letIdLhs_parenthesizer___closed__6( _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__1; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__1; x_2 = l_Lean_Parser_Term_letIdLhs_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); @@ -29714,263 +30399,394 @@ uint8_t x_5; x_5 = !lean_is_exclusive(x_3); if (x_5 == 0) { -lean_object* x_6; lean_object* x_7; uint8_t x_8; +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_3, 4); -lean_dec(x_7); -x_8 = !lean_is_exclusive(x_6); -if (x_8 == 0) +x_7 = lean_ctor_get(x_3, 1); +x_8 = lean_ctor_get(x_3, 4); +lean_dec(x_8); +x_9 = !lean_is_exclusive(x_6); +if (x_9 == 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; -x_9 = lean_ctor_get(x_4, 1); -lean_inc(x_9); -x_10 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_3, 4, x_10); -x_11 = lean_ctor_get(x_4, 0); +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; 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_4, 1); lean_inc(x_11); -x_12 = lean_array_get_size(x_11); -lean_dec(x_11); -x_13 = l_instReprChar___closed__1; -x_14 = lean_string_append(x_13, x_1); -x_15 = lean_string_append(x_14, x_13); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_3, 4, x_12); +x_13 = lean_ctor_get(x_4, 0); +lean_inc(x_13); +x_14 = lean_array_get_size(x_13); +lean_dec(x_13); +x_15 = l_instReprChar___closed__1; +x_16 = lean_string_append(x_15, x_1); +x_17 = lean_string_append(x_16, x_15); lean_inc(x_3); -x_16 = l_Lean_Parser_symbolFnAux(x_1, x_15, x_3, x_4); -x_17 = lean_ctor_get(x_16, 3); -lean_inc(x_17); -if (lean_obj_tag(x_17) == 0) +x_18 = l_Lean_Parser_symbolFnAux(x_1, x_17, x_3, x_4); +x_19 = lean_ctor_get(x_18, 3); +lean_inc(x_19); +if (lean_obj_tag(x_19) == 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_string_append(x_13, x_2); -x_19 = lean_string_append(x_18, x_13); +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_20 = lean_string_append(x_15, x_2); +x_21 = lean_string_append(x_20, x_15); lean_inc(x_3); -x_20 = l_Lean_Parser_nonReservedSymbolFnAux(x_2, x_19, x_3, x_16); -x_21 = l_Lean_nullKind; -x_22 = l_Lean_Parser_ParserState_mkNode(x_20, x_21, x_12); -x_23 = lean_ctor_get(x_22, 3); -lean_inc(x_23); -if (lean_obj_tag(x_23) == 0) +x_22 = l_Lean_Parser_nonReservedSymbolFnAux(x_2, x_21, x_3, x_18); +x_23 = l_Lean_nullKind; +x_24 = l_Lean_Parser_ParserState_mkNode(x_22, x_23, x_14); +x_25 = lean_ctor_get(x_24, 3); +lean_inc(x_25); +if (lean_obj_tag(x_25) == 0) { -lean_object* x_24; -x_24 = l_Lean_Parser_Term_letRecDecls___elambda__1(x_3, x_22); -return x_24; -} -else -{ -lean_dec(x_23); -lean_dec(x_3); -return x_22; -} -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; -lean_dec(x_17); -lean_dec(x_2); -x_25 = l_Lean_nullKind; -x_26 = l_Lean_Parser_ParserState_mkNode(x_16, x_25, x_12); -x_27 = lean_ctor_get(x_26, 3); -lean_inc(x_27); -if (lean_obj_tag(x_27) == 0) -{ -lean_object* x_28; -x_28 = l_Lean_Parser_Term_letRecDecls___elambda__1(x_3, x_26); -return x_28; -} -else -{ -lean_dec(x_27); -lean_dec(x_3); +lean_object* x_26; +x_26 = l_Lean_Parser_Term_letRecDecls___elambda__1(x_3, x_24); return x_26; } -} -} 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; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_29 = lean_ctor_get(x_6, 0); -x_30 = lean_ctor_get(x_6, 1); -x_31 = lean_ctor_get(x_6, 2); -lean_inc(x_31); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_6); -x_32 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_32, 0, x_29); -lean_ctor_set(x_32, 1, x_30); -lean_ctor_set(x_32, 2, x_31); -x_33 = lean_ctor_get(x_4, 1); -lean_inc(x_33); -x_34 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_3, 4, x_34); -lean_ctor_set(x_3, 0, x_32); -x_35 = lean_ctor_get(x_4, 0); -lean_inc(x_35); -x_36 = lean_array_get_size(x_35); -lean_dec(x_35); -x_37 = l_instReprChar___closed__1; -x_38 = lean_string_append(x_37, x_1); -x_39 = lean_string_append(x_38, x_37); -lean_inc(x_3); -x_40 = l_Lean_Parser_symbolFnAux(x_1, x_39, x_3, x_4); -x_41 = lean_ctor_get(x_40, 3); -lean_inc(x_41); -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; -x_42 = lean_string_append(x_37, x_2); -x_43 = lean_string_append(x_42, x_37); -lean_inc(x_3); -x_44 = l_Lean_Parser_nonReservedSymbolFnAux(x_2, x_43, x_3, x_40); -x_45 = l_Lean_nullKind; -x_46 = l_Lean_Parser_ParserState_mkNode(x_44, x_45, x_36); -x_47 = lean_ctor_get(x_46, 3); -lean_inc(x_47); -if (lean_obj_tag(x_47) == 0) -{ -lean_object* x_48; -x_48 = l_Lean_Parser_Term_letRecDecls___elambda__1(x_3, x_46); -return x_48; -} -else -{ -lean_dec(x_47); +lean_dec(x_25); lean_dec(x_3); -return x_46; +return x_24; } } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -lean_dec(x_41); +lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_dec(x_19); lean_dec(x_2); -x_49 = l_Lean_nullKind; -x_50 = l_Lean_Parser_ParserState_mkNode(x_40, x_49, x_36); -x_51 = lean_ctor_get(x_50, 3); -lean_inc(x_51); -if (lean_obj_tag(x_51) == 0) +x_27 = l_Lean_nullKind; +x_28 = l_Lean_Parser_ParserState_mkNode(x_18, x_27, x_14); +x_29 = lean_ctor_get(x_28, 3); +lean_inc(x_29); +if (lean_obj_tag(x_29) == 0) { -lean_object* x_52; -x_52 = l_Lean_Parser_Term_letRecDecls___elambda__1(x_3, x_50); -return x_52; +lean_object* x_30; +x_30 = l_Lean_Parser_Term_letRecDecls___elambda__1(x_3, x_28); +return x_30; } else { -lean_dec(x_51); +lean_dec(x_29); lean_dec(x_3); +return x_28; +} +} +} +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; +x_31 = lean_ctor_get(x_7, 0); +x_32 = lean_ctor_get(x_7, 1); +x_33 = lean_ctor_get(x_7, 2); +lean_inc(x_33); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_7); +x_34 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_34, 0, x_31); +lean_ctor_set(x_34, 1, x_32); +lean_ctor_set(x_34, 2, x_33); +x_35 = lean_ctor_get(x_4, 1); +lean_inc(x_35); +x_36 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_3, 4, x_36); +lean_ctor_set(x_3, 1, x_34); +x_37 = lean_ctor_get(x_4, 0); +lean_inc(x_37); +x_38 = lean_array_get_size(x_37); +lean_dec(x_37); +x_39 = l_instReprChar___closed__1; +x_40 = lean_string_append(x_39, x_1); +x_41 = lean_string_append(x_40, x_39); +lean_inc(x_3); +x_42 = l_Lean_Parser_symbolFnAux(x_1, x_41, x_3, x_4); +x_43 = lean_ctor_get(x_42, 3); +lean_inc(x_43); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_44 = lean_string_append(x_39, x_2); +x_45 = lean_string_append(x_44, x_39); +lean_inc(x_3); +x_46 = l_Lean_Parser_nonReservedSymbolFnAux(x_2, x_45, x_3, x_42); +x_47 = l_Lean_nullKind; +x_48 = l_Lean_Parser_ParserState_mkNode(x_46, x_47, x_38); +x_49 = lean_ctor_get(x_48, 3); +lean_inc(x_49); +if (lean_obj_tag(x_49) == 0) +{ +lean_object* x_50; +x_50 = l_Lean_Parser_Term_letRecDecls___elambda__1(x_3, x_48); return x_50; } +else +{ +lean_dec(x_49); +lean_dec(x_3); +return x_48; +} +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +lean_dec(x_43); +lean_dec(x_2); +x_51 = l_Lean_nullKind; +x_52 = l_Lean_Parser_ParserState_mkNode(x_42, x_51, x_38); +x_53 = lean_ctor_get(x_52, 3); +lean_inc(x_53); +if (lean_obj_tag(x_53) == 0) +{ +lean_object* x_54; +x_54 = l_Lean_Parser_Term_letRecDecls___elambda__1(x_3, x_52); +return x_54; +} +else +{ +lean_dec(x_53); +lean_dec(x_3); +return x_52; +} } } } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; uint8_t x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_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_uint8(x_3, sizeof(void*)*6); -x_58 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 1); -x_59 = lean_ctor_get(x_3, 5); -lean_inc(x_59); +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_55 = lean_ctor_get(x_6, 0); +x_56 = lean_ctor_get(x_6, 1); +x_57 = lean_ctor_get(x_6, 2); +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_60 = lean_ctor_get(x_53, 0); +lean_dec(x_6); +x_58 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_58, 0, x_55); +lean_ctor_set(x_58, 1, x_56); +lean_ctor_set(x_58, 2, x_57); +x_59 = lean_ctor_get(x_7, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_7, 1); lean_inc(x_60); -x_61 = lean_ctor_get(x_53, 1); +x_61 = lean_ctor_get(x_7, 2); lean_inc(x_61); -x_62 = lean_ctor_get(x_53, 2); -lean_inc(x_62); -if (lean_is_exclusive(x_53)) { - lean_ctor_release(x_53, 0); - lean_ctor_release(x_53, 1); - lean_ctor_release(x_53, 2); - x_63 = x_53; +if (lean_is_exclusive(x_7)) { + lean_ctor_release(x_7, 0); + lean_ctor_release(x_7, 1); + lean_ctor_release(x_7, 2); + x_62 = x_7; } else { - lean_dec_ref(x_53); - x_63 = lean_box(0); + lean_dec_ref(x_7); + x_62 = lean_box(0); } -if (lean_is_scalar(x_63)) { - x_64 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_62)) { + x_63 = lean_alloc_ctor(0, 3, 0); } else { - x_64 = x_63; + x_63 = x_62; } -lean_ctor_set(x_64, 0, x_60); -lean_ctor_set(x_64, 1, x_61); -lean_ctor_set(x_64, 2, x_62); -x_65 = lean_ctor_get(x_4, 1); -lean_inc(x_65); -x_66 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_66, 0, x_65); -x_67 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_67, 0, x_64); -lean_ctor_set(x_67, 1, x_54); -lean_ctor_set(x_67, 2, x_55); -lean_ctor_set(x_67, 3, x_56); -lean_ctor_set(x_67, 4, x_66); -lean_ctor_set(x_67, 5, x_59); -lean_ctor_set_uint8(x_67, sizeof(void*)*6, x_57); -lean_ctor_set_uint8(x_67, sizeof(void*)*6 + 1, x_58); -x_68 = lean_ctor_get(x_4, 0); -lean_inc(x_68); -x_69 = lean_array_get_size(x_68); -lean_dec(x_68); -x_70 = l_instReprChar___closed__1; -x_71 = lean_string_append(x_70, x_1); -x_72 = lean_string_append(x_71, x_70); -lean_inc(x_67); -x_73 = l_Lean_Parser_symbolFnAux(x_1, x_72, x_67, x_4); -x_74 = lean_ctor_get(x_73, 3); -lean_inc(x_74); -if (lean_obj_tag(x_74) == 0) +lean_ctor_set(x_63, 0, x_59); +lean_ctor_set(x_63, 1, x_60); +lean_ctor_set(x_63, 2, x_61); +x_64 = lean_ctor_get(x_4, 1); +lean_inc(x_64); +x_65 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_3, 4, x_65); +lean_ctor_set(x_3, 1, x_63); +lean_ctor_set(x_3, 0, x_58); +x_66 = lean_ctor_get(x_4, 0); +lean_inc(x_66); +x_67 = lean_array_get_size(x_66); +lean_dec(x_66); +x_68 = l_instReprChar___closed__1; +x_69 = lean_string_append(x_68, x_1); +x_70 = lean_string_append(x_69, x_68); +lean_inc(x_3); +x_71 = l_Lean_Parser_symbolFnAux(x_1, x_70, x_3, x_4); +x_72 = lean_ctor_get(x_71, 3); +lean_inc(x_72); +if (lean_obj_tag(x_72) == 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; -x_75 = lean_string_append(x_70, x_2); -x_76 = lean_string_append(x_75, x_70); -lean_inc(x_67); -x_77 = l_Lean_Parser_nonReservedSymbolFnAux(x_2, x_76, x_67, x_73); -x_78 = l_Lean_nullKind; -x_79 = l_Lean_Parser_ParserState_mkNode(x_77, x_78, x_69); -x_80 = lean_ctor_get(x_79, 3); -lean_inc(x_80); -if (lean_obj_tag(x_80) == 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; +x_73 = lean_string_append(x_68, x_2); +x_74 = lean_string_append(x_73, x_68); +lean_inc(x_3); +x_75 = l_Lean_Parser_nonReservedSymbolFnAux(x_2, x_74, x_3, x_71); +x_76 = l_Lean_nullKind; +x_77 = l_Lean_Parser_ParserState_mkNode(x_75, x_76, x_67); +x_78 = lean_ctor_get(x_77, 3); +lean_inc(x_78); +if (lean_obj_tag(x_78) == 0) { -lean_object* x_81; -x_81 = l_Lean_Parser_Term_letRecDecls___elambda__1(x_67, x_79); -return x_81; -} -else -{ -lean_dec(x_80); -lean_dec(x_67); +lean_object* x_79; +x_79 = l_Lean_Parser_Term_letRecDecls___elambda__1(x_3, x_77); return x_79; } +else +{ +lean_dec(x_78); +lean_dec(x_3); +return x_77; +} } else { -lean_object* x_82; lean_object* x_83; lean_object* x_84; -lean_dec(x_74); +lean_object* x_80; lean_object* x_81; lean_object* x_82; +lean_dec(x_72); lean_dec(x_2); -x_82 = l_Lean_nullKind; -x_83 = l_Lean_Parser_ParserState_mkNode(x_73, x_82, x_69); -x_84 = lean_ctor_get(x_83, 3); -lean_inc(x_84); -if (lean_obj_tag(x_84) == 0) +x_80 = l_Lean_nullKind; +x_81 = l_Lean_Parser_ParserState_mkNode(x_71, x_80, x_67); +x_82 = lean_ctor_get(x_81, 3); +lean_inc(x_82); +if (lean_obj_tag(x_82) == 0) { -lean_object* x_85; -x_85 = l_Lean_Parser_Term_letRecDecls___elambda__1(x_67, x_83); -return x_85; +lean_object* x_83; +x_83 = l_Lean_Parser_Term_letRecDecls___elambda__1(x_3, x_81); +return x_83; } else { -lean_dec(x_84); -lean_dec(x_67); -return x_83; +lean_dec(x_82); +lean_dec(x_3); +return x_81; +} +} +} +} +else +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; 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; 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_84 = lean_ctor_get(x_3, 0); +x_85 = lean_ctor_get(x_3, 1); +x_86 = lean_ctor_get(x_3, 2); +x_87 = lean_ctor_get(x_3, 3); +x_88 = lean_ctor_get_uint8(x_3, sizeof(void*)*6); +x_89 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 1); +x_90 = lean_ctor_get(x_3, 5); +lean_inc(x_90); +lean_inc(x_87); +lean_inc(x_86); +lean_inc(x_85); +lean_inc(x_84); +lean_dec(x_3); +x_91 = lean_ctor_get(x_84, 0); +lean_inc(x_91); +x_92 = lean_ctor_get(x_84, 1); +lean_inc(x_92); +x_93 = lean_ctor_get(x_84, 2); +lean_inc(x_93); +if (lean_is_exclusive(x_84)) { + lean_ctor_release(x_84, 0); + lean_ctor_release(x_84, 1); + lean_ctor_release(x_84, 2); + x_94 = x_84; +} else { + lean_dec_ref(x_84); + x_94 = lean_box(0); +} +if (lean_is_scalar(x_94)) { + x_95 = lean_alloc_ctor(0, 3, 0); +} else { + x_95 = x_94; +} +lean_ctor_set(x_95, 0, x_91); +lean_ctor_set(x_95, 1, x_92); +lean_ctor_set(x_95, 2, x_93); +x_96 = lean_ctor_get(x_85, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_85, 1); +lean_inc(x_97); +x_98 = lean_ctor_get(x_85, 2); +lean_inc(x_98); +if (lean_is_exclusive(x_85)) { + lean_ctor_release(x_85, 0); + lean_ctor_release(x_85, 1); + lean_ctor_release(x_85, 2); + x_99 = x_85; +} else { + lean_dec_ref(x_85); + x_99 = lean_box(0); +} +if (lean_is_scalar(x_99)) { + x_100 = lean_alloc_ctor(0, 3, 0); +} else { + x_100 = x_99; +} +lean_ctor_set(x_100, 0, x_96); +lean_ctor_set(x_100, 1, x_97); +lean_ctor_set(x_100, 2, x_98); +x_101 = lean_ctor_get(x_4, 1); +lean_inc(x_101); +x_102 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_102, 0, x_101); +x_103 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_103, 0, x_95); +lean_ctor_set(x_103, 1, x_100); +lean_ctor_set(x_103, 2, x_86); +lean_ctor_set(x_103, 3, x_87); +lean_ctor_set(x_103, 4, x_102); +lean_ctor_set(x_103, 5, x_90); +lean_ctor_set_uint8(x_103, sizeof(void*)*6, x_88); +lean_ctor_set_uint8(x_103, sizeof(void*)*6 + 1, x_89); +x_104 = lean_ctor_get(x_4, 0); +lean_inc(x_104); +x_105 = lean_array_get_size(x_104); +lean_dec(x_104); +x_106 = l_instReprChar___closed__1; +x_107 = lean_string_append(x_106, x_1); +x_108 = lean_string_append(x_107, x_106); +lean_inc(x_103); +x_109 = l_Lean_Parser_symbolFnAux(x_1, x_108, x_103, x_4); +x_110 = lean_ctor_get(x_109, 3); +lean_inc(x_110); +if (lean_obj_tag(x_110) == 0) +{ +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; +x_111 = lean_string_append(x_106, x_2); +x_112 = lean_string_append(x_111, x_106); +lean_inc(x_103); +x_113 = l_Lean_Parser_nonReservedSymbolFnAux(x_2, x_112, x_103, x_109); +x_114 = l_Lean_nullKind; +x_115 = l_Lean_Parser_ParserState_mkNode(x_113, x_114, x_105); +x_116 = lean_ctor_get(x_115, 3); +lean_inc(x_116); +if (lean_obj_tag(x_116) == 0) +{ +lean_object* x_117; +x_117 = l_Lean_Parser_Term_letRecDecls___elambda__1(x_103, x_115); +return x_117; +} +else +{ +lean_dec(x_116); +lean_dec(x_103); +return x_115; +} +} +else +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; +lean_dec(x_110); +lean_dec(x_2); +x_118 = l_Lean_nullKind; +x_119 = l_Lean_Parser_ParserState_mkNode(x_109, x_118, x_105); +x_120 = lean_ctor_get(x_119, 3); +lean_inc(x_120); +if (lean_obj_tag(x_120) == 0) +{ +lean_object* x_121; +x_121 = l_Lean_Parser_Term_letRecDecls___elambda__1(x_103, x_119); +return x_121; +} +else +{ +lean_dec(x_120); +lean_dec(x_103); +return x_119; } } } @@ -31201,522 +32017,738 @@ uint8_t x_6; x_6 = !lean_is_exclusive(x_4); if (x_6 == 0) { -lean_object* x_7; lean_object* x_8; uint8_t x_9; +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; x_7 = lean_ctor_get(x_4, 0); -x_8 = lean_ctor_get(x_4, 4); -lean_dec(x_8); -x_9 = !lean_is_exclusive(x_7); -if (x_9 == 0) +x_8 = lean_ctor_get(x_4, 1); +x_9 = lean_ctor_get(x_4, 4); +lean_dec(x_9); +x_10 = !lean_is_exclusive(x_7); +if (x_10 == 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_7, 2); -lean_inc(x_10); -x_11 = lean_ctor_get(x_5, 1); +lean_object* x_11; uint8_t x_12; +x_11 = lean_ctor_get(x_7, 2); lean_inc(x_11); -lean_inc(x_11); -x_12 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_4, 4, x_12); -x_13 = lean_ctor_get(x_5, 0); +x_12 = !lean_is_exclusive(x_8); +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; uint8_t x_19; +x_13 = lean_ctor_get(x_5, 1); lean_inc(x_13); -x_14 = lean_array_get_size(x_13); -lean_dec(x_13); -x_15 = l_Lean_FileMap_toPosition(x_10, x_11); -lean_dec(x_10); -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); +lean_inc(x_13); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_4, 4, x_14); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +x_16 = lean_array_get_size(x_15); lean_dec(x_15); -x_17 = lean_nat_dec_le(x_16, x_16); -lean_dec(x_16); -if (x_17 == 0) +x_17 = l_Lean_FileMap_toPosition(x_11, x_13); +lean_dec(x_11); +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +lean_dec(x_17); +x_19 = lean_nat_dec_le(x_18, x_18); +lean_dec(x_18); +if (x_19 == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_18 = l_Lean_Parser_many1Indent___lambda__1___closed__1; -x_19 = l_Lean_Parser_ParserState_mkError(x_5, x_18); -x_20 = l_Lean_nullKind; -x_21 = l_Lean_Parser_ParserState_mkNode(x_19, x_20, x_14); -return x_21; +x_20 = l_Lean_Parser_many1Indent___lambda__1___closed__1; +x_21 = l_Lean_Parser_ParserState_mkError(x_5, x_20); +x_22 = l_Lean_nullKind; +x_23 = l_Lean_Parser_ParserState_mkNode(x_21, x_22, x_16); +return x_23; } else { -lean_object* x_22; -x_22 = lean_ctor_get(x_5, 3); -lean_inc(x_22); -if (lean_obj_tag(x_22) == 0) +lean_object* x_24; +x_24 = lean_ctor_get(x_5, 3); +lean_inc(x_24); +if (lean_obj_tag(x_24) == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = l_Lean_Parser_Term_attributes___closed__8; +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = l_Lean_Parser_Term_attributes___closed__8; lean_inc(x_4); -x_24 = l_Lean_Parser_optionalFn(x_23, x_4, x_5); -x_25 = lean_ctor_get(x_24, 3); -lean_inc(x_25); -if (lean_obj_tag(x_25) == 0) -{ -lean_object* x_26; lean_object* x_27; -lean_inc(x_4); -x_26 = lean_apply_2(x_1, x_4, x_24); +x_26 = l_Lean_Parser_optionalFn(x_25, x_4, x_5); x_27 = lean_ctor_get(x_26, 3); lean_inc(x_27); 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_28; lean_object* x_29; lean_inc(x_4); -x_28 = l_Lean_Parser_optionalFn(x_2, x_4, x_26); -x_29 = l_Lean_nullKind; -lean_inc(x_14); -x_30 = l_Lean_Parser_ParserState_mkNode(x_28, x_29, x_14); -x_31 = lean_ctor_get(x_30, 3); -lean_inc(x_31); -if (lean_obj_tag(x_31) == 0) +x_28 = lean_apply_2(x_1, x_4, x_26); +x_29 = lean_ctor_get(x_28, 3); +lean_inc(x_29); +if (lean_obj_tag(x_29) == 0) { -lean_object* x_32; lean_object* x_33; -x_32 = l_Lean_Parser_manyAux(x_3, x_4, x_30); -x_33 = l_Lean_Parser_ParserState_mkNode(x_32, x_29, x_14); -return x_33; +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +lean_inc(x_4); +x_30 = l_Lean_Parser_optionalFn(x_2, x_4, x_28); +x_31 = l_Lean_nullKind; +lean_inc(x_16); +x_32 = l_Lean_Parser_ParserState_mkNode(x_30, x_31, x_16); +x_33 = lean_ctor_get(x_32, 3); +lean_inc(x_33); +if (lean_obj_tag(x_33) == 0) +{ +lean_object* x_34; lean_object* x_35; +x_34 = l_Lean_Parser_manyAux(x_3, x_4, x_32); +x_35 = l_Lean_Parser_ParserState_mkNode(x_34, x_31, x_16); +return x_35; } else { -lean_object* x_34; -lean_dec(x_31); +lean_object* x_36; +lean_dec(x_33); lean_dec(x_4); lean_dec(x_3); -x_34 = l_Lean_Parser_ParserState_mkNode(x_30, x_29, x_14); -return x_34; +x_36 = l_Lean_Parser_ParserState_mkNode(x_32, x_31, x_16); +return x_36; } } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; +lean_object* x_37; lean_object* x_38; lean_object* x_39; +lean_dec(x_29); +lean_dec(x_2); +x_37 = l_Lean_nullKind; +lean_inc(x_16); +x_38 = l_Lean_Parser_ParserState_mkNode(x_28, x_37, x_16); +x_39 = lean_ctor_get(x_38, 3); +lean_inc(x_39); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_40; lean_object* x_41; +x_40 = l_Lean_Parser_manyAux(x_3, x_4, x_38); +x_41 = l_Lean_Parser_ParserState_mkNode(x_40, x_37, x_16); +return x_41; +} +else +{ +lean_object* x_42; +lean_dec(x_39); +lean_dec(x_4); +lean_dec(x_3); +x_42 = l_Lean_Parser_ParserState_mkNode(x_38, x_37, x_16); +return x_42; +} +} +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_dec(x_27); lean_dec(x_2); -x_35 = l_Lean_nullKind; -lean_inc(x_14); -x_36 = l_Lean_Parser_ParserState_mkNode(x_26, x_35, x_14); -x_37 = lean_ctor_get(x_36, 3); -lean_inc(x_37); -if (lean_obj_tag(x_37) == 0) -{ -lean_object* x_38; lean_object* x_39; -x_38 = l_Lean_Parser_manyAux(x_3, x_4, x_36); -x_39 = l_Lean_Parser_ParserState_mkNode(x_38, x_35, x_14); -return x_39; -} -else -{ -lean_object* x_40; -lean_dec(x_37); -lean_dec(x_4); -lean_dec(x_3); -x_40 = l_Lean_Parser_ParserState_mkNode(x_36, x_35, x_14); -return x_40; -} -} -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -lean_dec(x_25); -lean_dec(x_2); lean_dec(x_1); -x_41 = l_Lean_nullKind; -lean_inc(x_14); -x_42 = l_Lean_Parser_ParserState_mkNode(x_24, x_41, x_14); -x_43 = lean_ctor_get(x_42, 3); -lean_inc(x_43); -if (lean_obj_tag(x_43) == 0) +x_43 = l_Lean_nullKind; +lean_inc(x_16); +x_44 = l_Lean_Parser_ParserState_mkNode(x_26, x_43, x_16); +x_45 = lean_ctor_get(x_44, 3); +lean_inc(x_45); +if (lean_obj_tag(x_45) == 0) { -lean_object* x_44; lean_object* x_45; -x_44 = l_Lean_Parser_manyAux(x_3, x_4, x_42); -x_45 = l_Lean_Parser_ParserState_mkNode(x_44, x_41, x_14); -return x_45; +lean_object* x_46; lean_object* x_47; +x_46 = l_Lean_Parser_manyAux(x_3, x_4, x_44); +x_47 = l_Lean_Parser_ParserState_mkNode(x_46, x_43, x_16); +return x_47; } else { -lean_object* x_46; -lean_dec(x_43); +lean_object* x_48; +lean_dec(x_45); lean_dec(x_4); lean_dec(x_3); -x_46 = l_Lean_Parser_ParserState_mkNode(x_42, x_41, x_14); -return x_46; -} -} -} -else -{ -lean_object* x_47; lean_object* x_48; -lean_dec(x_22); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_47 = l_Lean_nullKind; -x_48 = l_Lean_Parser_ParserState_mkNode(x_5, x_47, x_14); +x_48 = l_Lean_Parser_ParserState_mkNode(x_44, x_43, x_16); 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; uint8_t x_59; -x_49 = lean_ctor_get(x_7, 0); -x_50 = lean_ctor_get(x_7, 1); -x_51 = lean_ctor_get(x_7, 2); -lean_inc(x_51); -lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_7); -lean_inc(x_51); -x_52 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_52, 0, x_49); -lean_ctor_set(x_52, 1, x_50); -lean_ctor_set(x_52, 2, x_51); -x_53 = lean_ctor_get(x_5, 1); -lean_inc(x_53); -lean_inc(x_53); -x_54 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_4, 4, x_54); -lean_ctor_set(x_4, 0, x_52); -x_55 = lean_ctor_get(x_5, 0); -lean_inc(x_55); -x_56 = lean_array_get_size(x_55); -lean_dec(x_55); -x_57 = l_Lean_FileMap_toPosition(x_51, x_53); -lean_dec(x_51); -x_58 = lean_ctor_get(x_57, 1); -lean_inc(x_58); -lean_dec(x_57); -x_59 = lean_nat_dec_le(x_58, x_58); -lean_dec(x_58); -if (x_59 == 0) -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +lean_object* x_49; lean_object* x_50; +lean_dec(x_24); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_60 = l_Lean_Parser_many1Indent___lambda__1___closed__1; -x_61 = l_Lean_Parser_ParserState_mkError(x_5, x_60); -x_62 = l_Lean_nullKind; -x_63 = l_Lean_Parser_ParserState_mkNode(x_61, x_62, x_56); -return x_63; +x_49 = l_Lean_nullKind; +x_50 = l_Lean_Parser_ParserState_mkNode(x_5, x_49, x_16); +return x_50; +} +} } else { -lean_object* x_64; -x_64 = lean_ctor_get(x_5, 3); -lean_inc(x_64); -if (lean_obj_tag(x_64) == 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; uint8_t x_61; +x_51 = lean_ctor_get(x_8, 0); +x_52 = lean_ctor_get(x_8, 1); +x_53 = lean_ctor_get(x_8, 2); +lean_inc(x_53); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_8); +x_54 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_54, 0, x_51); +lean_ctor_set(x_54, 1, x_52); +lean_ctor_set(x_54, 2, x_53); +x_55 = lean_ctor_get(x_5, 1); +lean_inc(x_55); +lean_inc(x_55); +x_56 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_4, 4, x_56); +lean_ctor_set(x_4, 1, x_54); +x_57 = lean_ctor_get(x_5, 0); +lean_inc(x_57); +x_58 = lean_array_get_size(x_57); +lean_dec(x_57); +x_59 = l_Lean_FileMap_toPosition(x_11, x_55); +lean_dec(x_11); +x_60 = lean_ctor_get(x_59, 1); +lean_inc(x_60); +lean_dec(x_59); +x_61 = lean_nat_dec_le(x_60, x_60); +lean_dec(x_60); +if (x_61 == 0) { -lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_65 = l_Lean_Parser_Term_attributes___closed__8; -lean_inc(x_4); -x_66 = l_Lean_Parser_optionalFn(x_65, x_4, x_5); -x_67 = lean_ctor_get(x_66, 3); -lean_inc(x_67); -if (lean_obj_tag(x_67) == 0) +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_62 = l_Lean_Parser_many1Indent___lambda__1___closed__1; +x_63 = l_Lean_Parser_ParserState_mkError(x_5, x_62); +x_64 = l_Lean_nullKind; +x_65 = l_Lean_Parser_ParserState_mkNode(x_63, x_64, x_58); +return x_65; +} +else { -lean_object* x_68; lean_object* x_69; +lean_object* x_66; +x_66 = lean_ctor_get(x_5, 3); +lean_inc(x_66); +if (lean_obj_tag(x_66) == 0) +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = l_Lean_Parser_Term_attributes___closed__8; lean_inc(x_4); -x_68 = lean_apply_2(x_1, x_4, x_66); +x_68 = l_Lean_Parser_optionalFn(x_67, x_4, x_5); x_69 = lean_ctor_get(x_68, 3); lean_inc(x_69); 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_70; lean_object* x_71; lean_inc(x_4); -x_70 = l_Lean_Parser_optionalFn(x_2, x_4, x_68); -x_71 = l_Lean_nullKind; -lean_inc(x_56); -x_72 = l_Lean_Parser_ParserState_mkNode(x_70, x_71, x_56); -x_73 = lean_ctor_get(x_72, 3); -lean_inc(x_73); -if (lean_obj_tag(x_73) == 0) +x_70 = lean_apply_2(x_1, x_4, x_68); +x_71 = lean_ctor_get(x_70, 3); +lean_inc(x_71); +if (lean_obj_tag(x_71) == 0) { -lean_object* x_74; lean_object* x_75; -x_74 = l_Lean_Parser_manyAux(x_3, x_4, x_72); -x_75 = l_Lean_Parser_ParserState_mkNode(x_74, x_71, x_56); -return x_75; +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +lean_inc(x_4); +x_72 = l_Lean_Parser_optionalFn(x_2, x_4, x_70); +x_73 = l_Lean_nullKind; +lean_inc(x_58); +x_74 = l_Lean_Parser_ParserState_mkNode(x_72, x_73, x_58); +x_75 = lean_ctor_get(x_74, 3); +lean_inc(x_75); +if (lean_obj_tag(x_75) == 0) +{ +lean_object* x_76; lean_object* x_77; +x_76 = l_Lean_Parser_manyAux(x_3, x_4, x_74); +x_77 = l_Lean_Parser_ParserState_mkNode(x_76, x_73, x_58); +return x_77; } else { -lean_object* x_76; -lean_dec(x_73); +lean_object* x_78; +lean_dec(x_75); lean_dec(x_4); lean_dec(x_3); -x_76 = l_Lean_Parser_ParserState_mkNode(x_72, x_71, x_56); -return x_76; +x_78 = l_Lean_Parser_ParserState_mkNode(x_74, x_73, x_58); +return x_78; } } else { -lean_object* x_77; lean_object* x_78; lean_object* x_79; +lean_object* x_79; lean_object* x_80; lean_object* x_81; +lean_dec(x_71); +lean_dec(x_2); +x_79 = l_Lean_nullKind; +lean_inc(x_58); +x_80 = l_Lean_Parser_ParserState_mkNode(x_70, x_79, x_58); +x_81 = lean_ctor_get(x_80, 3); +lean_inc(x_81); +if (lean_obj_tag(x_81) == 0) +{ +lean_object* x_82; lean_object* x_83; +x_82 = l_Lean_Parser_manyAux(x_3, x_4, x_80); +x_83 = l_Lean_Parser_ParserState_mkNode(x_82, x_79, x_58); +return x_83; +} +else +{ +lean_object* x_84; +lean_dec(x_81); +lean_dec(x_4); +lean_dec(x_3); +x_84 = l_Lean_Parser_ParserState_mkNode(x_80, x_79, x_58); +return x_84; +} +} +} +else +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_dec(x_69); lean_dec(x_2); -x_77 = l_Lean_nullKind; -lean_inc(x_56); -x_78 = l_Lean_Parser_ParserState_mkNode(x_68, x_77, x_56); -x_79 = lean_ctor_get(x_78, 3); -lean_inc(x_79); -if (lean_obj_tag(x_79) == 0) -{ -lean_object* x_80; lean_object* x_81; -x_80 = l_Lean_Parser_manyAux(x_3, x_4, x_78); -x_81 = l_Lean_Parser_ParserState_mkNode(x_80, x_77, x_56); -return x_81; -} -else -{ -lean_object* x_82; -lean_dec(x_79); -lean_dec(x_4); -lean_dec(x_3); -x_82 = l_Lean_Parser_ParserState_mkNode(x_78, x_77, x_56); -return x_82; -} -} -} -else -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; -lean_dec(x_67); -lean_dec(x_2); lean_dec(x_1); -x_83 = l_Lean_nullKind; -lean_inc(x_56); -x_84 = l_Lean_Parser_ParserState_mkNode(x_66, x_83, x_56); -x_85 = lean_ctor_get(x_84, 3); -lean_inc(x_85); -if (lean_obj_tag(x_85) == 0) +x_85 = l_Lean_nullKind; +lean_inc(x_58); +x_86 = l_Lean_Parser_ParserState_mkNode(x_68, x_85, x_58); +x_87 = lean_ctor_get(x_86, 3); +lean_inc(x_87); +if (lean_obj_tag(x_87) == 0) { -lean_object* x_86; lean_object* x_87; -x_86 = l_Lean_Parser_manyAux(x_3, x_4, x_84); -x_87 = l_Lean_Parser_ParserState_mkNode(x_86, x_83, x_56); -return x_87; +lean_object* x_88; lean_object* x_89; +x_88 = l_Lean_Parser_manyAux(x_3, x_4, x_86); +x_89 = l_Lean_Parser_ParserState_mkNode(x_88, x_85, x_58); +return x_89; } else { -lean_object* x_88; -lean_dec(x_85); +lean_object* x_90; +lean_dec(x_87); lean_dec(x_4); lean_dec(x_3); -x_88 = l_Lean_Parser_ParserState_mkNode(x_84, x_83, x_56); -return x_88; -} -} -} -else -{ -lean_object* x_89; lean_object* x_90; -lean_dec(x_64); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_89 = l_Lean_nullKind; -x_90 = l_Lean_Parser_ParserState_mkNode(x_5, x_89, x_56); +x_90 = l_Lean_Parser_ParserState_mkNode(x_86, x_85, x_58); return x_90; } } } -} else { -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; uint8_t 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; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; uint8_t x_110; -x_91 = lean_ctor_get(x_4, 0); -x_92 = lean_ctor_get(x_4, 1); -x_93 = lean_ctor_get(x_4, 2); -x_94 = lean_ctor_get(x_4, 3); -x_95 = lean_ctor_get_uint8(x_4, sizeof(void*)*6); -x_96 = lean_ctor_get_uint8(x_4, sizeof(void*)*6 + 1); -x_97 = lean_ctor_get(x_4, 5); -lean_inc(x_97); -lean_inc(x_94); -lean_inc(x_93); -lean_inc(x_92); -lean_inc(x_91); +lean_object* x_91; lean_object* x_92; +lean_dec(x_66); lean_dec(x_4); -x_98 = lean_ctor_get(x_91, 0); -lean_inc(x_98); -x_99 = lean_ctor_get(x_91, 1); -lean_inc(x_99); -x_100 = lean_ctor_get(x_91, 2); -lean_inc(x_100); -if (lean_is_exclusive(x_91)) { - lean_ctor_release(x_91, 0); - lean_ctor_release(x_91, 1); - lean_ctor_release(x_91, 2); - x_101 = x_91; -} else { - lean_dec_ref(x_91); - x_101 = lean_box(0); -} -lean_inc(x_100); -if (lean_is_scalar(x_101)) { - x_102 = lean_alloc_ctor(0, 3, 0); -} else { - x_102 = x_101; -} -lean_ctor_set(x_102, 0, x_98); -lean_ctor_set(x_102, 1, x_99); -lean_ctor_set(x_102, 2, x_100); -x_103 = lean_ctor_get(x_5, 1); -lean_inc(x_103); -lean_inc(x_103); -x_104 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_104, 0, x_103); -x_105 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_105, 0, x_102); -lean_ctor_set(x_105, 1, x_92); -lean_ctor_set(x_105, 2, x_93); -lean_ctor_set(x_105, 3, x_94); -lean_ctor_set(x_105, 4, x_104); -lean_ctor_set(x_105, 5, x_97); -lean_ctor_set_uint8(x_105, sizeof(void*)*6, x_95); -lean_ctor_set_uint8(x_105, sizeof(void*)*6 + 1, x_96); -x_106 = lean_ctor_get(x_5, 0); -lean_inc(x_106); -x_107 = lean_array_get_size(x_106); -lean_dec(x_106); -x_108 = l_Lean_FileMap_toPosition(x_100, x_103); -lean_dec(x_100); -x_109 = lean_ctor_get(x_108, 1); -lean_inc(x_109); -lean_dec(x_108); -x_110 = lean_nat_dec_le(x_109, x_109); -lean_dec(x_109); -if (x_110 == 0) -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; -lean_dec(x_105); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_111 = l_Lean_Parser_many1Indent___lambda__1___closed__1; -x_112 = l_Lean_Parser_ParserState_mkError(x_5, x_111); -x_113 = l_Lean_nullKind; -x_114 = l_Lean_Parser_ParserState_mkNode(x_112, x_113, x_107); -return x_114; +x_91 = l_Lean_nullKind; +x_92 = l_Lean_Parser_ParserState_mkNode(x_5, x_91, x_58); +return x_92; +} +} +} } else { -lean_object* x_115; -x_115 = lean_ctor_get(x_5, 3); -lean_inc(x_115); -if (lean_obj_tag(x_115) == 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; 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_93 = lean_ctor_get(x_7, 0); +x_94 = lean_ctor_get(x_7, 1); +x_95 = lean_ctor_get(x_7, 2); +lean_inc(x_95); +lean_inc(x_94); +lean_inc(x_93); +lean_dec(x_7); +lean_inc(x_95); +x_96 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_96, 0, x_93); +lean_ctor_set(x_96, 1, x_94); +lean_ctor_set(x_96, 2, x_95); +x_97 = lean_ctor_get(x_8, 0); +lean_inc(x_97); +x_98 = lean_ctor_get(x_8, 1); +lean_inc(x_98); +x_99 = lean_ctor_get(x_8, 2); +lean_inc(x_99); +if (lean_is_exclusive(x_8)) { + lean_ctor_release(x_8, 0); + lean_ctor_release(x_8, 1); + lean_ctor_release(x_8, 2); + x_100 = x_8; +} else { + lean_dec_ref(x_8); + x_100 = lean_box(0); +} +if (lean_is_scalar(x_100)) { + x_101 = lean_alloc_ctor(0, 3, 0); +} else { + x_101 = x_100; +} +lean_ctor_set(x_101, 0, x_97); +lean_ctor_set(x_101, 1, x_98); +lean_ctor_set(x_101, 2, x_99); +x_102 = lean_ctor_get(x_5, 1); +lean_inc(x_102); +lean_inc(x_102); +x_103 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_103, 0, x_102); +lean_ctor_set(x_4, 4, x_103); +lean_ctor_set(x_4, 1, x_101); +lean_ctor_set(x_4, 0, x_96); +x_104 = lean_ctor_get(x_5, 0); +lean_inc(x_104); +x_105 = lean_array_get_size(x_104); +lean_dec(x_104); +x_106 = l_Lean_FileMap_toPosition(x_95, x_102); +lean_dec(x_95); +x_107 = lean_ctor_get(x_106, 1); +lean_inc(x_107); +lean_dec(x_106); +x_108 = lean_nat_dec_le(x_107, x_107); +lean_dec(x_107); +if (x_108 == 0) { -lean_object* x_116; lean_object* x_117; lean_object* x_118; -x_116 = l_Lean_Parser_Term_attributes___closed__8; -lean_inc(x_105); -x_117 = l_Lean_Parser_optionalFn(x_116, x_105, x_5); +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_109 = l_Lean_Parser_many1Indent___lambda__1___closed__1; +x_110 = l_Lean_Parser_ParserState_mkError(x_5, x_109); +x_111 = l_Lean_nullKind; +x_112 = l_Lean_Parser_ParserState_mkNode(x_110, x_111, x_105); +return x_112; +} +else +{ +lean_object* x_113; +x_113 = lean_ctor_get(x_5, 3); +lean_inc(x_113); +if (lean_obj_tag(x_113) == 0) +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; +x_114 = l_Lean_Parser_Term_attributes___closed__8; +lean_inc(x_4); +x_115 = l_Lean_Parser_optionalFn(x_114, x_4, x_5); +x_116 = lean_ctor_get(x_115, 3); +lean_inc(x_116); +if (lean_obj_tag(x_116) == 0) +{ +lean_object* x_117; lean_object* x_118; +lean_inc(x_4); +x_117 = lean_apply_2(x_1, x_4, x_115); x_118 = lean_ctor_get(x_117, 3); lean_inc(x_118); if (lean_obj_tag(x_118) == 0) { -lean_object* x_119; lean_object* x_120; +lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; +lean_inc(x_4); +x_119 = l_Lean_Parser_optionalFn(x_2, x_4, x_117); +x_120 = l_Lean_nullKind; lean_inc(x_105); -x_119 = lean_apply_2(x_1, x_105, x_117); -x_120 = lean_ctor_get(x_119, 3); -lean_inc(x_120); -if (lean_obj_tag(x_120) == 0) +x_121 = l_Lean_Parser_ParserState_mkNode(x_119, x_120, x_105); +x_122 = lean_ctor_get(x_121, 3); +lean_inc(x_122); +if (lean_obj_tag(x_122) == 0) { -lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; -lean_inc(x_105); -x_121 = l_Lean_Parser_optionalFn(x_2, x_105, x_119); -x_122 = l_Lean_nullKind; -lean_inc(x_107); -x_123 = l_Lean_Parser_ParserState_mkNode(x_121, x_122, x_107); -x_124 = lean_ctor_get(x_123, 3); -lean_inc(x_124); -if (lean_obj_tag(x_124) == 0) -{ -lean_object* x_125; lean_object* x_126; -x_125 = l_Lean_Parser_manyAux(x_3, x_105, x_123); -x_126 = l_Lean_Parser_ParserState_mkNode(x_125, x_122, x_107); -return x_126; +lean_object* x_123; lean_object* x_124; +x_123 = l_Lean_Parser_manyAux(x_3, x_4, x_121); +x_124 = l_Lean_Parser_ParserState_mkNode(x_123, x_120, x_105); +return x_124; } else { -lean_object* x_127; -lean_dec(x_124); -lean_dec(x_105); +lean_object* x_125; +lean_dec(x_122); +lean_dec(x_4); lean_dec(x_3); -x_127 = l_Lean_Parser_ParserState_mkNode(x_123, x_122, x_107); -return x_127; +x_125 = l_Lean_Parser_ParserState_mkNode(x_121, x_120, x_105); +return x_125; } } else { -lean_object* x_128; lean_object* x_129; lean_object* x_130; -lean_dec(x_120); -lean_dec(x_2); -x_128 = l_Lean_nullKind; -lean_inc(x_107); -x_129 = l_Lean_Parser_ParserState_mkNode(x_119, x_128, x_107); -x_130 = lean_ctor_get(x_129, 3); -lean_inc(x_130); -if (lean_obj_tag(x_130) == 0) -{ -lean_object* x_131; lean_object* x_132; -x_131 = l_Lean_Parser_manyAux(x_3, x_105, x_129); -x_132 = l_Lean_Parser_ParserState_mkNode(x_131, x_128, x_107); -return x_132; -} -else -{ -lean_object* x_133; -lean_dec(x_130); -lean_dec(x_105); -lean_dec(x_3); -x_133 = l_Lean_Parser_ParserState_mkNode(x_129, x_128, x_107); -return x_133; -} -} -} -else -{ -lean_object* x_134; lean_object* x_135; lean_object* x_136; +lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_dec(x_118); lean_dec(x_2); -lean_dec(x_1); -x_134 = l_Lean_nullKind; -lean_inc(x_107); -x_135 = l_Lean_Parser_ParserState_mkNode(x_117, x_134, x_107); -x_136 = lean_ctor_get(x_135, 3); -lean_inc(x_136); -if (lean_obj_tag(x_136) == 0) +x_126 = l_Lean_nullKind; +lean_inc(x_105); +x_127 = l_Lean_Parser_ParserState_mkNode(x_117, x_126, x_105); +x_128 = lean_ctor_get(x_127, 3); +lean_inc(x_128); +if (lean_obj_tag(x_128) == 0) { -lean_object* x_137; lean_object* x_138; -x_137 = l_Lean_Parser_manyAux(x_3, x_105, x_135); -x_138 = l_Lean_Parser_ParserState_mkNode(x_137, x_134, x_107); -return x_138; +lean_object* x_129; lean_object* x_130; +x_129 = l_Lean_Parser_manyAux(x_3, x_4, x_127); +x_130 = l_Lean_Parser_ParserState_mkNode(x_129, x_126, x_105); +return x_130; } else { -lean_object* x_139; -lean_dec(x_136); -lean_dec(x_105); +lean_object* x_131; +lean_dec(x_128); +lean_dec(x_4); lean_dec(x_3); -x_139 = l_Lean_Parser_ParserState_mkNode(x_135, x_134, x_107); +x_131 = l_Lean_Parser_ParserState_mkNode(x_127, x_126, x_105); +return x_131; +} +} +} +else +{ +lean_object* x_132; lean_object* x_133; lean_object* x_134; +lean_dec(x_116); +lean_dec(x_2); +lean_dec(x_1); +x_132 = l_Lean_nullKind; +lean_inc(x_105); +x_133 = l_Lean_Parser_ParserState_mkNode(x_115, x_132, x_105); +x_134 = lean_ctor_get(x_133, 3); +lean_inc(x_134); +if (lean_obj_tag(x_134) == 0) +{ +lean_object* x_135; lean_object* x_136; +x_135 = l_Lean_Parser_manyAux(x_3, x_4, x_133); +x_136 = l_Lean_Parser_ParserState_mkNode(x_135, x_132, x_105); +return x_136; +} +else +{ +lean_object* x_137; +lean_dec(x_134); +lean_dec(x_4); +lean_dec(x_3); +x_137 = l_Lean_Parser_ParserState_mkNode(x_133, x_132, x_105); +return x_137; +} +} +} +else +{ +lean_object* x_138; lean_object* x_139; +lean_dec(x_113); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_138 = l_Lean_nullKind; +x_139 = l_Lean_Parser_ParserState_mkNode(x_5, x_138, x_105); return x_139; } } } +} else { -lean_object* x_140; lean_object* x_141; -lean_dec(x_115); -lean_dec(x_105); +lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; uint8_t x_144; uint8_t 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; uint8_t x_164; +x_140 = lean_ctor_get(x_4, 0); +x_141 = lean_ctor_get(x_4, 1); +x_142 = lean_ctor_get(x_4, 2); +x_143 = lean_ctor_get(x_4, 3); +x_144 = lean_ctor_get_uint8(x_4, sizeof(void*)*6); +x_145 = lean_ctor_get_uint8(x_4, sizeof(void*)*6 + 1); +x_146 = lean_ctor_get(x_4, 5); +lean_inc(x_146); +lean_inc(x_143); +lean_inc(x_142); +lean_inc(x_141); +lean_inc(x_140); +lean_dec(x_4); +x_147 = lean_ctor_get(x_140, 0); +lean_inc(x_147); +x_148 = lean_ctor_get(x_140, 1); +lean_inc(x_148); +x_149 = lean_ctor_get(x_140, 2); +lean_inc(x_149); +if (lean_is_exclusive(x_140)) { + lean_ctor_release(x_140, 0); + lean_ctor_release(x_140, 1); + lean_ctor_release(x_140, 2); + x_150 = x_140; +} else { + lean_dec_ref(x_140); + x_150 = lean_box(0); +} +lean_inc(x_149); +if (lean_is_scalar(x_150)) { + x_151 = lean_alloc_ctor(0, 3, 0); +} else { + x_151 = x_150; +} +lean_ctor_set(x_151, 0, x_147); +lean_ctor_set(x_151, 1, x_148); +lean_ctor_set(x_151, 2, x_149); +x_152 = lean_ctor_get(x_141, 0); +lean_inc(x_152); +x_153 = lean_ctor_get(x_141, 1); +lean_inc(x_153); +x_154 = lean_ctor_get(x_141, 2); +lean_inc(x_154); +if (lean_is_exclusive(x_141)) { + lean_ctor_release(x_141, 0); + lean_ctor_release(x_141, 1); + lean_ctor_release(x_141, 2); + x_155 = x_141; +} else { + lean_dec_ref(x_141); + x_155 = lean_box(0); +} +if (lean_is_scalar(x_155)) { + x_156 = lean_alloc_ctor(0, 3, 0); +} else { + x_156 = x_155; +} +lean_ctor_set(x_156, 0, x_152); +lean_ctor_set(x_156, 1, x_153); +lean_ctor_set(x_156, 2, x_154); +x_157 = lean_ctor_get(x_5, 1); +lean_inc(x_157); +lean_inc(x_157); +x_158 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_158, 0, x_157); +x_159 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_159, 0, x_151); +lean_ctor_set(x_159, 1, x_156); +lean_ctor_set(x_159, 2, x_142); +lean_ctor_set(x_159, 3, x_143); +lean_ctor_set(x_159, 4, x_158); +lean_ctor_set(x_159, 5, x_146); +lean_ctor_set_uint8(x_159, sizeof(void*)*6, x_144); +lean_ctor_set_uint8(x_159, sizeof(void*)*6 + 1, x_145); +x_160 = lean_ctor_get(x_5, 0); +lean_inc(x_160); +x_161 = lean_array_get_size(x_160); +lean_dec(x_160); +x_162 = l_Lean_FileMap_toPosition(x_149, x_157); +lean_dec(x_149); +x_163 = lean_ctor_get(x_162, 1); +lean_inc(x_163); +lean_dec(x_162); +x_164 = lean_nat_dec_le(x_163, x_163); +lean_dec(x_163); +if (x_164 == 0) +{ +lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; +lean_dec(x_159); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_140 = l_Lean_nullKind; -x_141 = l_Lean_Parser_ParserState_mkNode(x_5, x_140, x_107); -return x_141; +x_165 = l_Lean_Parser_many1Indent___lambda__1___closed__1; +x_166 = l_Lean_Parser_ParserState_mkError(x_5, x_165); +x_167 = l_Lean_nullKind; +x_168 = l_Lean_Parser_ParserState_mkNode(x_166, x_167, x_161); +return x_168; +} +else +{ +lean_object* x_169; +x_169 = lean_ctor_get(x_5, 3); +lean_inc(x_169); +if (lean_obj_tag(x_169) == 0) +{ +lean_object* x_170; lean_object* x_171; lean_object* x_172; +x_170 = l_Lean_Parser_Term_attributes___closed__8; +lean_inc(x_159); +x_171 = l_Lean_Parser_optionalFn(x_170, x_159, x_5); +x_172 = lean_ctor_get(x_171, 3); +lean_inc(x_172); +if (lean_obj_tag(x_172) == 0) +{ +lean_object* x_173; lean_object* x_174; +lean_inc(x_159); +x_173 = lean_apply_2(x_1, x_159, x_171); +x_174 = lean_ctor_get(x_173, 3); +lean_inc(x_174); +if (lean_obj_tag(x_174) == 0) +{ +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; +lean_inc(x_159); +x_175 = l_Lean_Parser_optionalFn(x_2, x_159, x_173); +x_176 = l_Lean_nullKind; +lean_inc(x_161); +x_177 = l_Lean_Parser_ParserState_mkNode(x_175, x_176, x_161); +x_178 = lean_ctor_get(x_177, 3); +lean_inc(x_178); +if (lean_obj_tag(x_178) == 0) +{ +lean_object* x_179; lean_object* x_180; +x_179 = l_Lean_Parser_manyAux(x_3, x_159, x_177); +x_180 = l_Lean_Parser_ParserState_mkNode(x_179, x_176, x_161); +return x_180; +} +else +{ +lean_object* x_181; +lean_dec(x_178); +lean_dec(x_159); +lean_dec(x_3); +x_181 = l_Lean_Parser_ParserState_mkNode(x_177, x_176, x_161); +return x_181; +} +} +else +{ +lean_object* x_182; lean_object* x_183; lean_object* x_184; +lean_dec(x_174); +lean_dec(x_2); +x_182 = l_Lean_nullKind; +lean_inc(x_161); +x_183 = l_Lean_Parser_ParserState_mkNode(x_173, x_182, x_161); +x_184 = lean_ctor_get(x_183, 3); +lean_inc(x_184); +if (lean_obj_tag(x_184) == 0) +{ +lean_object* x_185; lean_object* x_186; +x_185 = l_Lean_Parser_manyAux(x_3, x_159, x_183); +x_186 = l_Lean_Parser_ParserState_mkNode(x_185, x_182, x_161); +return x_186; +} +else +{ +lean_object* x_187; +lean_dec(x_184); +lean_dec(x_159); +lean_dec(x_3); +x_187 = l_Lean_Parser_ParserState_mkNode(x_183, x_182, x_161); +return x_187; +} +} +} +else +{ +lean_object* x_188; lean_object* x_189; lean_object* x_190; +lean_dec(x_172); +lean_dec(x_2); +lean_dec(x_1); +x_188 = l_Lean_nullKind; +lean_inc(x_161); +x_189 = l_Lean_Parser_ParserState_mkNode(x_171, x_188, x_161); +x_190 = lean_ctor_get(x_189, 3); +lean_inc(x_190); +if (lean_obj_tag(x_190) == 0) +{ +lean_object* x_191; lean_object* x_192; +x_191 = l_Lean_Parser_manyAux(x_3, x_159, x_189); +x_192 = l_Lean_Parser_ParserState_mkNode(x_191, x_188, x_161); +return x_192; +} +else +{ +lean_object* x_193; +lean_dec(x_190); +lean_dec(x_159); +lean_dec(x_3); +x_193 = l_Lean_Parser_ParserState_mkNode(x_189, x_188, x_161); +return x_193; +} +} +} +else +{ +lean_object* x_194; lean_object* x_195; +lean_dec(x_169); +lean_dec(x_159); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_194 = l_Lean_nullKind; +x_195 = l_Lean_Parser_ParserState_mkNode(x_5, x_194, x_161); +return x_195; } } } @@ -35272,7 +36304,7 @@ static lean_object* _init_l_Lean_Parser_Term_app_formatter___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__37; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__37; x_2 = l_Lean_Parser_Term_app_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); @@ -35284,7 +36316,7 @@ static lean_object* _init_l_Lean_Parser_Term_app_formatter___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__1; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__1; x_2 = l_Lean_Parser_Term_app_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); @@ -35484,7 +36516,7 @@ static lean_object* _init_l_Lean_Parser_Term_app_parenthesizer___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__37; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__37; x_2 = l_Lean_Parser_Term_app_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); @@ -35496,7 +36528,7 @@ static lean_object* _init_l_Lean_Parser_Term_app_parenthesizer___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__1; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__1; x_2 = l_Lean_Parser_Term_app_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); @@ -35765,7 +36797,7 @@ static lean_object* _init_l_Lean_Parser_Term_proj_formatter___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__3; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__3; x_2 = l_Lean_Parser_Term_proj_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); @@ -35831,7 +36863,7 @@ static lean_object* _init_l_Lean_Parser_Term_proj_parenthesizer___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__3; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__3; x_2 = l_Lean_Parser_Term_proj_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); @@ -36091,7 +37123,7 @@ static lean_object* _init_l_Lean_Parser_Term_arrayRef_formatter___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__3; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__3; x_2 = l_Lean_Parser_Term_structInstArrayRef_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); @@ -36133,7 +37165,7 @@ static lean_object* _init_l_Lean_Parser_Term_arrayRef_parenthesizer___closed__1( _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__3; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__3; x_2 = l_Lean_Parser_Term_structInstArrayRef_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); @@ -36919,7 +37951,7 @@ static lean_object* _init_l_Lean_Parser_Term_explicitUniv_formatter___closed__5( _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__3; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__3; x_2 = l_Lean_Parser_Term_explicitUniv_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); @@ -37017,7 +38049,7 @@ static lean_object* _init_l_Lean_Parser_Term_explicitUniv_parenthesizer___closed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__3; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__3; x_2 = l_Lean_Parser_Term_explicitUniv_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); @@ -37293,7 +38325,7 @@ static lean_object* _init_l_Lean_Parser_Term_namedPattern_formatter___closed__1( _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__3; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__3; x_2 = l_Lean_Parser_Term_explicit_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); @@ -37347,7 +38379,7 @@ static lean_object* _init_l_Lean_Parser_Term_namedPattern_parenthesizer___closed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__3; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__3; x_2 = l_Lean_Parser_Term_explicit_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); @@ -39121,159 +40153,255 @@ uint8_t x_6; x_6 = !lean_is_exclusive(x_4); if (x_6 == 0) { -lean_object* x_7; lean_object* x_8; uint8_t x_9; +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; x_7 = lean_ctor_get(x_4, 0); -x_8 = lean_ctor_get(x_4, 4); -lean_dec(x_8); -x_9 = !lean_is_exclusive(x_7); -if (x_9 == 0) +x_8 = lean_ctor_get(x_4, 1); +x_9 = lean_ctor_get(x_4, 4); +lean_dec(x_9); +x_10 = !lean_is_exclusive(x_7); +if (x_10 == 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; -x_10 = lean_ctor_get(x_5, 1); -lean_inc(x_10); -x_11 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_4, 4, x_11); -x_12 = l_instReprChar___closed__1; -x_13 = lean_string_append(x_12, x_1); -x_14 = lean_string_append(x_13, x_12); +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; +x_12 = lean_ctor_get(x_5, 1); +lean_inc(x_12); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_4, 4, x_13); +x_14 = l_instReprChar___closed__1; +x_15 = lean_string_append(x_14, x_1); +x_16 = lean_string_append(x_15, x_14); lean_inc(x_4); -x_15 = l_Lean_Parser_symbolFnAux(x_1, x_14, x_4, x_5); -x_16 = lean_ctor_get(x_15, 3); -lean_inc(x_16); -if (lean_obj_tag(x_16) == 0) +x_17 = l_Lean_Parser_symbolFnAux(x_1, x_16, x_4, x_5); +x_18 = lean_ctor_get(x_17, 3); +lean_inc(x_18); +if (lean_obj_tag(x_18) == 0) { -uint8_t x_17; lean_object* x_18; -x_17 = 1; -x_18 = l_Lean_Parser_orelseFnCore(x_2, x_3, x_17, x_4, x_15); -return x_18; +uint8_t x_19; lean_object* x_20; +x_19 = 1; +x_20 = l_Lean_Parser_orelseFnCore(x_2, x_3, x_19, x_4, x_17); +return x_20; } else { -lean_dec(x_16); +lean_dec(x_18); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_15; +return x_17; } } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_19 = lean_ctor_get(x_7, 0); -x_20 = lean_ctor_get(x_7, 1); -x_21 = lean_ctor_get(x_7, 2); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_7); -x_22 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_22, 0, x_19); -lean_ctor_set(x_22, 1, x_20); -lean_ctor_set(x_22, 2, x_21); -x_23 = lean_ctor_get(x_5, 1); +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_21 = lean_ctor_get(x_8, 0); +x_22 = lean_ctor_get(x_8, 1); +x_23 = lean_ctor_get(x_8, 2); lean_inc(x_23); -x_24 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_4, 4, x_24); -lean_ctor_set(x_4, 0, x_22); -x_25 = l_instReprChar___closed__1; -x_26 = lean_string_append(x_25, x_1); -x_27 = lean_string_append(x_26, x_25); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_8); +x_24 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_24, 0, x_21); +lean_ctor_set(x_24, 1, x_22); +lean_ctor_set(x_24, 2, x_23); +x_25 = lean_ctor_get(x_5, 1); +lean_inc(x_25); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_4, 4, x_26); +lean_ctor_set(x_4, 1, x_24); +x_27 = l_instReprChar___closed__1; +x_28 = lean_string_append(x_27, x_1); +x_29 = lean_string_append(x_28, x_27); lean_inc(x_4); -x_28 = l_Lean_Parser_symbolFnAux(x_1, x_27, x_4, x_5); -x_29 = lean_ctor_get(x_28, 3); -lean_inc(x_29); -if (lean_obj_tag(x_29) == 0) +x_30 = l_Lean_Parser_symbolFnAux(x_1, x_29, x_4, x_5); +x_31 = lean_ctor_get(x_30, 3); +lean_inc(x_31); +if (lean_obj_tag(x_31) == 0) { -uint8_t x_30; lean_object* x_31; -x_30 = 1; -x_31 = l_Lean_Parser_orelseFnCore(x_2, x_3, x_30, x_4, x_28); -return x_31; +uint8_t x_32; lean_object* x_33; +x_32 = 1; +x_33 = l_Lean_Parser_orelseFnCore(x_2, x_3, x_32, x_4, x_30); +return x_33; } else { -lean_dec(x_29); +lean_dec(x_31); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_28; +return x_30; } } } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; uint8_t 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_32 = lean_ctor_get(x_4, 0); -x_33 = lean_ctor_get(x_4, 1); -x_34 = lean_ctor_get(x_4, 2); -x_35 = lean_ctor_get(x_4, 3); -x_36 = lean_ctor_get_uint8(x_4, sizeof(void*)*6); -x_37 = lean_ctor_get_uint8(x_4, sizeof(void*)*6 + 1); -x_38 = lean_ctor_get(x_4, 5); -lean_inc(x_38); +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_34 = lean_ctor_get(x_7, 0); +x_35 = lean_ctor_get(x_7, 1); +x_36 = lean_ctor_get(x_7, 2); +lean_inc(x_36); lean_inc(x_35); lean_inc(x_34); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_4); -x_39 = lean_ctor_get(x_32, 0); +lean_dec(x_7); +x_37 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_37, 0, x_34); +lean_ctor_set(x_37, 1, x_35); +lean_ctor_set(x_37, 2, x_36); +x_38 = lean_ctor_get(x_8, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_8, 1); lean_inc(x_39); -x_40 = lean_ctor_get(x_32, 1); +x_40 = lean_ctor_get(x_8, 2); lean_inc(x_40); -x_41 = lean_ctor_get(x_32, 2); -lean_inc(x_41); -if (lean_is_exclusive(x_32)) { - lean_ctor_release(x_32, 0); - lean_ctor_release(x_32, 1); - lean_ctor_release(x_32, 2); - x_42 = x_32; +if (lean_is_exclusive(x_8)) { + lean_ctor_release(x_8, 0); + lean_ctor_release(x_8, 1); + lean_ctor_release(x_8, 2); + x_41 = x_8; } else { - lean_dec_ref(x_32); - x_42 = lean_box(0); + lean_dec_ref(x_8); + x_41 = lean_box(0); } -if (lean_is_scalar(x_42)) { - x_43 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_41)) { + x_42 = lean_alloc_ctor(0, 3, 0); } else { - x_43 = x_42; + x_42 = x_41; } -lean_ctor_set(x_43, 0, x_39); -lean_ctor_set(x_43, 1, x_40); -lean_ctor_set(x_43, 2, x_41); -x_44 = lean_ctor_get(x_5, 1); -lean_inc(x_44); -x_45 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_45, 0, x_44); -x_46 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_46, 0, x_43); -lean_ctor_set(x_46, 1, x_33); -lean_ctor_set(x_46, 2, x_34); -lean_ctor_set(x_46, 3, x_35); -lean_ctor_set(x_46, 4, x_45); -lean_ctor_set(x_46, 5, x_38); -lean_ctor_set_uint8(x_46, sizeof(void*)*6, x_36); -lean_ctor_set_uint8(x_46, sizeof(void*)*6 + 1, x_37); -x_47 = l_instReprChar___closed__1; -x_48 = lean_string_append(x_47, x_1); -x_49 = lean_string_append(x_48, x_47); -lean_inc(x_46); -x_50 = l_Lean_Parser_symbolFnAux(x_1, x_49, x_46, x_5); -x_51 = lean_ctor_get(x_50, 3); -lean_inc(x_51); -if (lean_obj_tag(x_51) == 0) +lean_ctor_set(x_42, 0, x_38); +lean_ctor_set(x_42, 1, x_39); +lean_ctor_set(x_42, 2, x_40); +x_43 = lean_ctor_get(x_5, 1); +lean_inc(x_43); +x_44 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_4, 4, x_44); +lean_ctor_set(x_4, 1, x_42); +lean_ctor_set(x_4, 0, x_37); +x_45 = l_instReprChar___closed__1; +x_46 = lean_string_append(x_45, x_1); +x_47 = lean_string_append(x_46, x_45); +lean_inc(x_4); +x_48 = l_Lean_Parser_symbolFnAux(x_1, x_47, x_4, x_5); +x_49 = lean_ctor_get(x_48, 3); +lean_inc(x_49); +if (lean_obj_tag(x_49) == 0) { -uint8_t x_52; lean_object* x_53; -x_52 = 1; -x_53 = l_Lean_Parser_orelseFnCore(x_2, x_3, x_52, x_46, x_50); -return x_53; +uint8_t x_50; lean_object* x_51; +x_50 = 1; +x_51 = l_Lean_Parser_orelseFnCore(x_2, x_3, x_50, x_4, x_48); +return x_51; } else { -lean_dec(x_51); -lean_dec(x_46); +lean_dec(x_49); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_50; +return x_48; +} +} +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; uint8_t 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_52 = lean_ctor_get(x_4, 0); +x_53 = lean_ctor_get(x_4, 1); +x_54 = lean_ctor_get(x_4, 2); +x_55 = lean_ctor_get(x_4, 3); +x_56 = lean_ctor_get_uint8(x_4, sizeof(void*)*6); +x_57 = lean_ctor_get_uint8(x_4, sizeof(void*)*6 + 1); +x_58 = lean_ctor_get(x_4, 5); +lean_inc(x_58); +lean_inc(x_55); +lean_inc(x_54); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_4); +x_59 = lean_ctor_get(x_52, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_52, 1); +lean_inc(x_60); +x_61 = lean_ctor_get(x_52, 2); +lean_inc(x_61); +if (lean_is_exclusive(x_52)) { + lean_ctor_release(x_52, 0); + lean_ctor_release(x_52, 1); + lean_ctor_release(x_52, 2); + x_62 = x_52; +} else { + lean_dec_ref(x_52); + x_62 = lean_box(0); +} +if (lean_is_scalar(x_62)) { + x_63 = lean_alloc_ctor(0, 3, 0); +} else { + x_63 = x_62; +} +lean_ctor_set(x_63, 0, x_59); +lean_ctor_set(x_63, 1, x_60); +lean_ctor_set(x_63, 2, x_61); +x_64 = lean_ctor_get(x_53, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_53, 1); +lean_inc(x_65); +x_66 = lean_ctor_get(x_53, 2); +lean_inc(x_66); +if (lean_is_exclusive(x_53)) { + lean_ctor_release(x_53, 0); + lean_ctor_release(x_53, 1); + lean_ctor_release(x_53, 2); + x_67 = x_53; +} else { + lean_dec_ref(x_53); + x_67 = lean_box(0); +} +if (lean_is_scalar(x_67)) { + x_68 = lean_alloc_ctor(0, 3, 0); +} else { + x_68 = x_67; +} +lean_ctor_set(x_68, 0, x_64); +lean_ctor_set(x_68, 1, x_65); +lean_ctor_set(x_68, 2, x_66); +x_69 = lean_ctor_get(x_5, 1); +lean_inc(x_69); +x_70 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_70, 0, x_69); +x_71 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_71, 0, x_63); +lean_ctor_set(x_71, 1, x_68); +lean_ctor_set(x_71, 2, x_54); +lean_ctor_set(x_71, 3, x_55); +lean_ctor_set(x_71, 4, x_70); +lean_ctor_set(x_71, 5, x_58); +lean_ctor_set_uint8(x_71, sizeof(void*)*6, x_56); +lean_ctor_set_uint8(x_71, sizeof(void*)*6 + 1, x_57); +x_72 = l_instReprChar___closed__1; +x_73 = lean_string_append(x_72, x_1); +x_74 = lean_string_append(x_73, x_72); +lean_inc(x_71); +x_75 = l_Lean_Parser_symbolFnAux(x_1, x_74, x_71, x_5); +x_76 = lean_ctor_get(x_75, 3); +lean_inc(x_76); +if (lean_obj_tag(x_76) == 0) +{ +uint8_t x_77; lean_object* x_78; +x_77 = 1; +x_78 = l_Lean_Parser_orelseFnCore(x_2, x_3, x_77, x_71, x_75); +return x_78; +} +else +{ +lean_dec(x_76); +lean_dec(x_71); +lean_dec(x_3); +lean_dec(x_2); +return x_75; } } } @@ -39780,156 +40908,251 @@ uint8_t x_5; x_5 = !lean_is_exclusive(x_3); if (x_5 == 0) { -lean_object* x_6; lean_object* x_7; uint8_t x_8; +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_3, 4); -lean_dec(x_7); -x_8 = !lean_is_exclusive(x_6); -if (x_8 == 0) +x_7 = lean_ctor_get(x_3, 1); +x_8 = lean_ctor_get(x_3, 4); +lean_dec(x_8); +x_9 = !lean_is_exclusive(x_6); +if (x_9 == 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; -x_9 = lean_ctor_get(x_4, 1); -lean_inc(x_9); -x_10 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_3, 4, x_10); -x_11 = l_instReprChar___closed__1; -x_12 = lean_string_append(x_11, x_1); -x_13 = lean_string_append(x_12, x_11); +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; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_11 = lean_ctor_get(x_4, 1); +lean_inc(x_11); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_3, 4, x_12); +x_13 = l_instReprChar___closed__1; +x_14 = lean_string_append(x_13, x_1); +x_15 = lean_string_append(x_14, x_13); lean_inc(x_3); -x_14 = l_Lean_Parser_symbolFnAux(x_1, x_13, x_3, x_4); -x_15 = lean_ctor_get(x_14, 3); -lean_inc(x_15); -if (lean_obj_tag(x_15) == 0) +x_16 = l_Lean_Parser_symbolFnAux(x_1, x_15, x_3, x_4); +x_17 = lean_ctor_get(x_16, 3); +lean_inc(x_17); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_16; lean_object* x_17; -x_16 = lean_unsigned_to_nat(0u); -x_17 = l_Lean_Parser_categoryParser___elambda__1(x_2, x_16, x_3, x_14); -return x_17; +lean_object* x_18; lean_object* x_19; +x_18 = lean_unsigned_to_nat(0u); +x_19 = l_Lean_Parser_categoryParser___elambda__1(x_2, x_18, x_3, x_16); +return x_19; } else { -lean_dec(x_15); +lean_dec(x_17); lean_dec(x_3); lean_dec(x_2); -return x_14; +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; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_18 = lean_ctor_get(x_6, 0); -x_19 = lean_ctor_get(x_6, 1); -x_20 = lean_ctor_get(x_6, 2); -lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_6); -x_21 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_21, 0, x_18); -lean_ctor_set(x_21, 1, x_19); -lean_ctor_set(x_21, 2, x_20); -x_22 = lean_ctor_get(x_4, 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; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_20 = lean_ctor_get(x_7, 0); +x_21 = lean_ctor_get(x_7, 1); +x_22 = lean_ctor_get(x_7, 2); lean_inc(x_22); -x_23 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_3, 4, x_23); -lean_ctor_set(x_3, 0, x_21); -x_24 = l_instReprChar___closed__1; -x_25 = lean_string_append(x_24, x_1); -x_26 = lean_string_append(x_25, x_24); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_7); +x_23 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_23, 0, x_20); +lean_ctor_set(x_23, 1, x_21); +lean_ctor_set(x_23, 2, x_22); +x_24 = lean_ctor_get(x_4, 1); +lean_inc(x_24); +x_25 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_3, 4, x_25); +lean_ctor_set(x_3, 1, x_23); +x_26 = l_instReprChar___closed__1; +x_27 = lean_string_append(x_26, x_1); +x_28 = lean_string_append(x_27, x_26); lean_inc(x_3); -x_27 = l_Lean_Parser_symbolFnAux(x_1, x_26, x_3, x_4); -x_28 = lean_ctor_get(x_27, 3); -lean_inc(x_28); -if (lean_obj_tag(x_28) == 0) +x_29 = l_Lean_Parser_symbolFnAux(x_1, x_28, x_3, x_4); +x_30 = lean_ctor_get(x_29, 3); +lean_inc(x_30); +if (lean_obj_tag(x_30) == 0) { -lean_object* x_29; lean_object* x_30; -x_29 = lean_unsigned_to_nat(0u); -x_30 = l_Lean_Parser_categoryParser___elambda__1(x_2, x_29, x_3, x_27); -return x_30; +lean_object* x_31; lean_object* x_32; +x_31 = lean_unsigned_to_nat(0u); +x_32 = l_Lean_Parser_categoryParser___elambda__1(x_2, x_31, x_3, x_29); +return x_32; } else { -lean_dec(x_28); +lean_dec(x_30); lean_dec(x_3); lean_dec(x_2); -return x_27; +return x_29; } } } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t 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; -x_31 = lean_ctor_get(x_3, 0); -x_32 = lean_ctor_get(x_3, 1); -x_33 = lean_ctor_get(x_3, 2); -x_34 = lean_ctor_get(x_3, 3); -x_35 = lean_ctor_get_uint8(x_3, sizeof(void*)*6); -x_36 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 1); -x_37 = lean_ctor_get(x_3, 5); -lean_inc(x_37); +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_33 = lean_ctor_get(x_6, 0); +x_34 = lean_ctor_get(x_6, 1); +x_35 = lean_ctor_get(x_6, 2); +lean_inc(x_35); lean_inc(x_34); lean_inc(x_33); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_3); -x_38 = lean_ctor_get(x_31, 0); +lean_dec(x_6); +x_36 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_36, 0, x_33); +lean_ctor_set(x_36, 1, x_34); +lean_ctor_set(x_36, 2, x_35); +x_37 = lean_ctor_get(x_7, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_7, 1); lean_inc(x_38); -x_39 = lean_ctor_get(x_31, 1); +x_39 = lean_ctor_get(x_7, 2); lean_inc(x_39); -x_40 = lean_ctor_get(x_31, 2); -lean_inc(x_40); -if (lean_is_exclusive(x_31)) { - lean_ctor_release(x_31, 0); - lean_ctor_release(x_31, 1); - lean_ctor_release(x_31, 2); - x_41 = x_31; +if (lean_is_exclusive(x_7)) { + lean_ctor_release(x_7, 0); + lean_ctor_release(x_7, 1); + lean_ctor_release(x_7, 2); + x_40 = x_7; } else { - lean_dec_ref(x_31); - x_41 = lean_box(0); + lean_dec_ref(x_7); + x_40 = lean_box(0); } -if (lean_is_scalar(x_41)) { - x_42 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_40)) { + x_41 = lean_alloc_ctor(0, 3, 0); } else { - x_42 = x_41; + x_41 = x_40; } -lean_ctor_set(x_42, 0, x_38); -lean_ctor_set(x_42, 1, x_39); -lean_ctor_set(x_42, 2, x_40); -x_43 = lean_ctor_get(x_4, 1); -lean_inc(x_43); -x_44 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_44, 0, x_43); -x_45 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_45, 0, x_42); -lean_ctor_set(x_45, 1, x_32); -lean_ctor_set(x_45, 2, x_33); -lean_ctor_set(x_45, 3, x_34); -lean_ctor_set(x_45, 4, x_44); -lean_ctor_set(x_45, 5, x_37); -lean_ctor_set_uint8(x_45, sizeof(void*)*6, x_35); -lean_ctor_set_uint8(x_45, sizeof(void*)*6 + 1, x_36); -x_46 = l_instReprChar___closed__1; -x_47 = lean_string_append(x_46, x_1); -x_48 = lean_string_append(x_47, x_46); -lean_inc(x_45); -x_49 = l_Lean_Parser_symbolFnAux(x_1, x_48, x_45, x_4); -x_50 = lean_ctor_get(x_49, 3); -lean_inc(x_50); -if (lean_obj_tag(x_50) == 0) +lean_ctor_set(x_41, 0, x_37); +lean_ctor_set(x_41, 1, x_38); +lean_ctor_set(x_41, 2, x_39); +x_42 = lean_ctor_get(x_4, 1); +lean_inc(x_42); +x_43 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_3, 4, x_43); +lean_ctor_set(x_3, 1, x_41); +lean_ctor_set(x_3, 0, x_36); +x_44 = l_instReprChar___closed__1; +x_45 = lean_string_append(x_44, x_1); +x_46 = lean_string_append(x_45, x_44); +lean_inc(x_3); +x_47 = l_Lean_Parser_symbolFnAux(x_1, x_46, x_3, x_4); +x_48 = lean_ctor_get(x_47, 3); +lean_inc(x_48); +if (lean_obj_tag(x_48) == 0) { -lean_object* x_51; lean_object* x_52; -x_51 = lean_unsigned_to_nat(0u); -x_52 = l_Lean_Parser_categoryParser___elambda__1(x_2, x_51, x_45, x_49); -return x_52; +lean_object* x_49; lean_object* x_50; +x_49 = lean_unsigned_to_nat(0u); +x_50 = l_Lean_Parser_categoryParser___elambda__1(x_2, x_49, x_3, x_47); +return x_50; } else { -lean_dec(x_50); -lean_dec(x_45); +lean_dec(x_48); +lean_dec(x_3); lean_dec(x_2); -return x_49; +return x_47; +} +} +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; 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; 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_51 = lean_ctor_get(x_3, 0); +x_52 = lean_ctor_get(x_3, 1); +x_53 = lean_ctor_get(x_3, 2); +x_54 = lean_ctor_get(x_3, 3); +x_55 = lean_ctor_get_uint8(x_3, sizeof(void*)*6); +x_56 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 1); +x_57 = lean_ctor_get(x_3, 5); +lean_inc(x_57); +lean_inc(x_54); +lean_inc(x_53); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_3); +x_58 = lean_ctor_get(x_51, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_51, 1); +lean_inc(x_59); +x_60 = lean_ctor_get(x_51, 2); +lean_inc(x_60); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + lean_ctor_release(x_51, 1); + lean_ctor_release(x_51, 2); + x_61 = x_51; +} else { + lean_dec_ref(x_51); + x_61 = lean_box(0); +} +if (lean_is_scalar(x_61)) { + x_62 = lean_alloc_ctor(0, 3, 0); +} else { + x_62 = x_61; +} +lean_ctor_set(x_62, 0, x_58); +lean_ctor_set(x_62, 1, x_59); +lean_ctor_set(x_62, 2, x_60); +x_63 = lean_ctor_get(x_52, 0); +lean_inc(x_63); +x_64 = lean_ctor_get(x_52, 1); +lean_inc(x_64); +x_65 = lean_ctor_get(x_52, 2); +lean_inc(x_65); +if (lean_is_exclusive(x_52)) { + lean_ctor_release(x_52, 0); + lean_ctor_release(x_52, 1); + lean_ctor_release(x_52, 2); + x_66 = x_52; +} else { + lean_dec_ref(x_52); + x_66 = lean_box(0); +} +if (lean_is_scalar(x_66)) { + x_67 = lean_alloc_ctor(0, 3, 0); +} else { + x_67 = x_66; +} +lean_ctor_set(x_67, 0, x_63); +lean_ctor_set(x_67, 1, x_64); +lean_ctor_set(x_67, 2, x_65); +x_68 = lean_ctor_get(x_4, 1); +lean_inc(x_68); +x_69 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_69, 0, x_68); +x_70 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_70, 0, x_62); +lean_ctor_set(x_70, 1, x_67); +lean_ctor_set(x_70, 2, x_53); +lean_ctor_set(x_70, 3, x_54); +lean_ctor_set(x_70, 4, x_69); +lean_ctor_set(x_70, 5, x_57); +lean_ctor_set_uint8(x_70, sizeof(void*)*6, x_55); +lean_ctor_set_uint8(x_70, sizeof(void*)*6 + 1, x_56); +x_71 = l_instReprChar___closed__1; +x_72 = lean_string_append(x_71, x_1); +x_73 = lean_string_append(x_72, x_71); +lean_inc(x_70); +x_74 = l_Lean_Parser_symbolFnAux(x_1, x_73, x_70, x_4); +x_75 = lean_ctor_get(x_74, 3); +lean_inc(x_75); +if (lean_obj_tag(x_75) == 0) +{ +lean_object* x_76; lean_object* x_77; +x_76 = lean_unsigned_to_nat(0u); +x_77 = l_Lean_Parser_categoryParser___elambda__1(x_2, x_76, x_70, x_74); +return x_77; +} +else +{ +lean_dec(x_75); +lean_dec(x_70); +lean_dec(x_2); +return x_74; } } } @@ -41151,6 +42374,587 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } +static lean_object* _init_l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("dynamicQuot"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_54____closed__6; +x_2 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_dynamicQuot___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_Term_dynamicQuot___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_Term_dynamicQuot___elambda__1___closed__1; +x_2 = l_Lean_Parser_Term_dynamicQuot___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_Term_dynamicQuot___elambda__1___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_parserOfStack___elambda__1___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_Term_dynamicQuot___elambda__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__5; +x_2 = l_Lean_Parser_Level_paren___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; +} +} +static lean_object* _init_l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic_intro___closed__7; +x_2 = l_String_trim(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_dynamicQuot___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_Term_dynamicQuot___elambda__1___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__8; +x_2 = l_Lean_Parser_Term_dynamicQuot___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; +} +} +static lean_object* _init_l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_ident___closed__1; +x_2 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__9; +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_Term_dynamicQuot___elambda__1___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("`("); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; +x_2 = l_String_trim(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__12; +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_Term_dynamicQuot___elambda__1___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__13; +x_2 = l_Lean_Parser_Term_dynamicQuot___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_Term_dynamicQuot___elambda__1___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__2; +x_2 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__14; +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_Term_dynamicQuot___elambda__1___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__8; +x_2 = l_Lean_Parser_Term_dynamicQuot___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; +} +} +lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; +x_3 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__4; +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +x_5 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__16; +x_6 = 1; +x_7 = l_Lean_Parser_orelseFnCore(x_4, x_5, x_6, x_1, x_2); +return x_7; +} +} +static lean_object* _init_l_Lean_Parser_Term_dynamicQuot___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Parser_parserOfStack(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_dynamicQuot___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Term_dynamicQuot___closed__1; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_antiquotNestedExpr___closed__3; +x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Term_dynamicQuot___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__7; +x_2 = l_Lean_Parser_symbolInfo(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_dynamicQuot___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_dynamicQuot___closed__3; +x_2 = l_Lean_Parser_Term_dynamicQuot___closed__2; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_dynamicQuot___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Term_ident; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Term_dynamicQuot___closed__4; +x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Term_dynamicQuot___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__12; +x_2 = l_Lean_Parser_symbolInfo(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_dynamicQuot___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_dynamicQuot___closed__6; +x_2 = l_Lean_Parser_Term_dynamicQuot___closed__5; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_dynamicQuot___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__2; +x_2 = l_Lean_Parser_Term_dynamicQuot___closed__7; +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_dynamicQuot___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_epsilonInfo; +x_2 = l_Lean_Parser_Term_dynamicQuot___closed__8; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_dynamicQuot___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__4; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Term_dynamicQuot___closed__9; +x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Term_dynamicQuot___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_dynamicQuot___elambda__1), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Term_dynamicQuot___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_dynamicQuot___closed__10; +x_2 = l_Lean_Parser_Term_dynamicQuot___closed__11; +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_Term_dynamicQuot() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Term_dynamicQuot___closed__12; +return x_1; +} +} +lean_object* l___regBuiltinParser_Lean_Parser_Term_dynamicQuot(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_2 = l___kind_term____x40_Init_Notation___hyg_19____closed__14; +x_3 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__2; +x_4 = 1; +x_5 = l_Lean_Parser_Term_dynamicQuot; +x_6 = lean_unsigned_to_nat(0u); +x_7 = l_Lean_Parser_addBuiltinParser(x_2, x_3, x_4, x_5, x_6, x_1); +return x_7; +} +} +static lean_object* _init_l_Lean_Parser_Term_dynamicQuot_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_Term_dynamicQuot___elambda__1___closed__1; +x_2 = l_Lean_Parser_Term_dynamicQuot___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_Term_dynamicQuot_formatter___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_symbol_formatter), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_dynamicQuot_formatter___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic_intro___closed__7; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_symbol_formatter), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_dynamicQuot_formatter___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_parserOfStack_formatter___boxed), 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_Term_dynamicQuot_formatter___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_dynamicQuot_formatter___closed__4; +x_2 = l_Lean_Parser_antiquotNestedExpr_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_Term_dynamicQuot_formatter___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_dynamicQuot_formatter___closed__3; +x_2 = l_Lean_Parser_Term_dynamicQuot_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_Term_dynamicQuot_formatter___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Parser_Term_ident_formatter___closed__1; +x_2 = l_Lean_Parser_Term_dynamicQuot_formatter___closed__6; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_dynamicQuot_formatter___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_dynamicQuot_formatter___closed__2; +x_2 = l_Lean_Parser_Term_dynamicQuot_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_Term_dynamicQuot_formatter___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Term_dynamicQuot_formatter___closed__8; +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_Term_dynamicQuot_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_Term_dynamicQuot_formatter___closed__1; +x_7 = l_Lean_Parser_Term_dynamicQuot_formatter___closed__9; +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; +} +} +static lean_object* _init_l___regBuiltin_Lean_Parser_Term_dynamicQuot_formatter___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_dynamicQuot_formatter), 5, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Parser_Term_dynamicQuot_formatter(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = l_Lean_PrettyPrinter_formatterAttribute; +x_3 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__2; +x_4 = l___regBuiltin_Lean_Parser_Term_dynamicQuot_formatter___closed__1; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__1() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__3; +x_2 = 1; +x_3 = lean_box(x_2); +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_parenthesizer___rarg___boxed), 7, 2); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_parserOfStack_parenthesizer___boxed), 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_Term_dynamicQuot_parenthesizer___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__2; +x_2 = l_Lean_Parser_antiquotNestedExpr_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_Term_dynamicQuot_parenthesizer___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__3; +x_2 = l_Lean_Parser_Term_dynamicQuot_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_Term_dynamicQuot_parenthesizer___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Parser_Term_ident_parenthesizer___closed__1; +x_2 = l_Lean_Parser_Term_dynamicQuot_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_Term_dynamicQuot_parenthesizer___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__3; +x_2 = l_Lean_Parser_Term_dynamicQuot_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_Term_dynamicQuot_parenthesizer___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Term_dynamicQuot_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_Term_dynamicQuot_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_Term_dynamicQuot_parenthesizer___closed__1; +x_7 = l_Lean_Parser_Term_dynamicQuot_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; +} +} +static lean_object* _init_l___regBuiltin_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_dynamicQuot_parenthesizer), 5, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Parser_Term_dynamicQuot_parenthesizer(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = l_Lean_PrettyPrinter_parenthesizerAttribute; +x_3 = l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__2; +x_4 = l___regBuiltin_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__1; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} static lean_object* _init_l_Lean_Parser_Tactic_quot___elambda__1___closed__1() { _start: { @@ -42458,7 +44262,7 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -42468,7 +44272,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__2() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__2() { _start: { lean_object* x_1; lean_object* x_2; @@ -42478,7 +44282,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__3() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -42488,7 +44292,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__4() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__4() { _start: { lean_object* x_1; lean_object* x_2; @@ -42498,7 +44302,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__5() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__5() { _start: { lean_object* x_1; lean_object* x_2; @@ -42508,7 +44312,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__6() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__6() { _start: { lean_object* x_1; lean_object* x_2; @@ -42518,7 +44322,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__7() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__7() { _start: { lean_object* x_1; lean_object* x_2; @@ -42528,7 +44332,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__8() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__8() { _start: { lean_object* x_1; lean_object* x_2; @@ -42538,7 +44342,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__9() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__9() { _start: { lean_object* x_1; lean_object* x_2; @@ -42548,7 +44352,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__10() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__10() { _start: { lean_object* x_1; lean_object* x_2; @@ -42558,7 +44362,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__11() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__11() { _start: { lean_object* x_1; lean_object* x_2; @@ -42568,7 +44372,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__12() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__12() { _start: { lean_object* x_1; lean_object* x_2; @@ -42578,7 +44382,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__13() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__13() { _start: { lean_object* x_1; lean_object* x_2; @@ -42588,7 +44392,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__14() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__14() { _start: { lean_object* x_1; lean_object* x_2; @@ -42598,7 +44402,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__15() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__15() { _start: { lean_object* x_1; lean_object* x_2; @@ -42608,7 +44412,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__16() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__16() { _start: { lean_object* x_1; lean_object* x_2; @@ -42618,7 +44422,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__17() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__17() { _start: { lean_object* x_1; lean_object* x_2; @@ -42628,7 +44432,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__18() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__18() { _start: { lean_object* x_1; lean_object* x_2; @@ -42638,7 +44442,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__19() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__19() { _start: { lean_object* x_1; lean_object* x_2; @@ -42648,7 +44452,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__20() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__20() { _start: { lean_object* x_1; lean_object* x_2; @@ -42658,7 +44462,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__21() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__21() { _start: { lean_object* x_1; lean_object* x_2; @@ -42668,7 +44472,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__22() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__22() { _start: { lean_object* x_1; lean_object* x_2; @@ -42678,7 +44482,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__23() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__23() { _start: { lean_object* x_1; lean_object* x_2; @@ -42688,7 +44492,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__24() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__24() { _start: { lean_object* x_1; lean_object* x_2; @@ -42698,13 +44502,13 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385_(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Parser_parserAliasesRef; x_3 = l_Lean_Parser_Tactic_let___closed__4; -x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__1; +x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__1; x_5 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_3, x_4, x_1); if (lean_obj_tag(x_5) == 0) { @@ -42713,7 +44517,7 @@ x_6 = lean_ctor_get(x_5, 1); lean_inc(x_6); lean_dec(x_5); x_7 = l_Lean_PrettyPrinter_Formatter_formatterAliasesRef; -x_8 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__2; +x_8 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__2; x_9 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_3, x_8, x_6); if (lean_obj_tag(x_9) == 0) { @@ -42722,7 +44526,7 @@ x_10 = lean_ctor_get(x_9, 1); lean_inc(x_10); lean_dec(x_9); x_11 = l_Lean_PrettyPrinter_Parenthesizer_parenthesizerAliasesRef; -x_12 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__3; +x_12 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__3; x_13 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_3, x_12, x_10); if (lean_obj_tag(x_13) == 0) { @@ -42731,7 +44535,7 @@ x_14 = lean_ctor_get(x_13, 1); lean_inc(x_14); lean_dec(x_13); x_15 = l_Lean_Parser_Tactic_have___closed__6; -x_16 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__4; +x_16 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__4; x_17 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_15, x_16, x_14); if (lean_obj_tag(x_17) == 0) { @@ -42739,7 +44543,7 @@ lean_object* x_18; lean_object* x_19; lean_object* x_20; x_18 = lean_ctor_get(x_17, 1); lean_inc(x_18); lean_dec(x_17); -x_19 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__5; +x_19 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__5; x_20 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_15, x_19, x_18); if (lean_obj_tag(x_20) == 0) { @@ -42747,7 +44551,7 @@ lean_object* x_21; lean_object* x_22; lean_object* x_23; x_21 = lean_ctor_get(x_20, 1); lean_inc(x_21); lean_dec(x_20); -x_22 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__6; +x_22 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__6; x_23 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_15, x_22, x_21); if (lean_obj_tag(x_23) == 0) { @@ -42756,7 +44560,7 @@ x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); lean_dec(x_23); x_25 = l_Lean_Parser_Tactic_suffices___closed__6; -x_26 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__7; +x_26 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__7; x_27 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_25, x_26, x_24); if (lean_obj_tag(x_27) == 0) { @@ -42764,7 +44568,7 @@ lean_object* x_28; lean_object* x_29; lean_object* x_30; x_28 = lean_ctor_get(x_27, 1); lean_inc(x_28); lean_dec(x_27); -x_29 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__8; +x_29 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__8; x_30 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_25, x_29, x_28); if (lean_obj_tag(x_30) == 0) { @@ -42772,7 +44576,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; x_31 = lean_ctor_get(x_30, 1); lean_inc(x_31); lean_dec(x_30); -x_32 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__9; +x_32 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__9; x_33 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_25, x_32, x_31); if (lean_obj_tag(x_33) == 0) { @@ -42781,7 +44585,7 @@ x_34 = lean_ctor_get(x_33, 1); lean_inc(x_34); lean_dec(x_33); x_35 = l_Lean_Parser_Tactic_letrec___closed__12; -x_36 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__10; +x_36 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__10; x_37 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_35, x_36, x_34); if (lean_obj_tag(x_37) == 0) { @@ -42789,7 +44593,7 @@ lean_object* x_38; lean_object* x_39; lean_object* x_40; x_38 = lean_ctor_get(x_37, 1); lean_inc(x_38); lean_dec(x_37); -x_39 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__11; +x_39 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__11; x_40 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_35, x_39, x_38); if (lean_obj_tag(x_40) == 0) { @@ -42797,7 +44601,7 @@ lean_object* x_41; lean_object* x_42; lean_object* x_43; x_41 = lean_ctor_get(x_40, 1); lean_inc(x_41); lean_dec(x_40); -x_42 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__12; +x_42 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__12; x_43 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_35, x_42, x_41); if (lean_obj_tag(x_43) == 0) { @@ -42806,7 +44610,7 @@ x_44 = lean_ctor_get(x_43, 1); lean_inc(x_44); lean_dec(x_43); x_45 = l_Lean_Parser_Tactic_inductionAlt___closed__6; -x_46 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__13; +x_46 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__13; x_47 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_45, x_46, x_44); if (lean_obj_tag(x_47) == 0) { @@ -42814,7 +44618,7 @@ lean_object* x_48; lean_object* x_49; lean_object* x_50; x_48 = lean_ctor_get(x_47, 1); lean_inc(x_48); lean_dec(x_47); -x_49 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__14; +x_49 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__14; x_50 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_45, x_49, x_48); if (lean_obj_tag(x_50) == 0) { @@ -42822,7 +44626,7 @@ lean_object* x_51; lean_object* x_52; lean_object* x_53; x_51 = lean_ctor_get(x_50, 1); lean_inc(x_51); lean_dec(x_50); -x_52 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__15; +x_52 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__15; x_53 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_45, x_52, x_51); if (lean_obj_tag(x_53) == 0) { @@ -42831,7 +44635,7 @@ x_54 = lean_ctor_get(x_53, 1); lean_inc(x_54); lean_dec(x_53); x_55 = l_Lean_Parser_Tactic_inductionAlt___closed__9; -x_56 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__16; +x_56 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__16; x_57 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_55, x_56, x_54); if (lean_obj_tag(x_57) == 0) { @@ -42839,7 +44643,7 @@ lean_object* x_58; lean_object* x_59; lean_object* x_60; x_58 = lean_ctor_get(x_57, 1); lean_inc(x_58); lean_dec(x_57); -x_59 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__17; +x_59 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__17; x_60 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_55, x_59, x_58); if (lean_obj_tag(x_60) == 0) { @@ -42847,7 +44651,7 @@ lean_object* x_61; lean_object* x_62; lean_object* x_63; x_61 = lean_ctor_get(x_60, 1); lean_inc(x_61); lean_dec(x_60); -x_62 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__18; +x_62 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__18; x_63 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_55, x_62, x_61); if (lean_obj_tag(x_63) == 0) { @@ -42856,7 +44660,7 @@ x_64 = lean_ctor_get(x_63, 1); lean_inc(x_64); lean_dec(x_63); x_65 = l_Lean_Parser_Tactic_match___closed__6; -x_66 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__19; +x_66 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__19; x_67 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_65, x_66, x_64); if (lean_obj_tag(x_67) == 0) { @@ -42864,7 +44668,7 @@ lean_object* x_68; lean_object* x_69; lean_object* x_70; x_68 = lean_ctor_get(x_67, 1); lean_inc(x_68); lean_dec(x_67); -x_69 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__20; +x_69 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__20; x_70 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_65, x_69, x_68); if (lean_obj_tag(x_70) == 0) { @@ -42872,7 +44676,7 @@ lean_object* x_71; lean_object* x_72; lean_object* x_73; x_71 = lean_ctor_get(x_70, 1); lean_inc(x_71); lean_dec(x_70); -x_72 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__21; +x_72 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__21; x_73 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_65, x_72, x_71); if (lean_obj_tag(x_73) == 0) { @@ -42881,7 +44685,7 @@ x_74 = lean_ctor_get(x_73, 1); lean_inc(x_74); lean_dec(x_73); x_75 = l_Lean___kind_command____x40_Init_NotationExtra___hyg_918____closed__15; -x_76 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__22; +x_76 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__22; x_77 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_75, x_76, x_74); if (lean_obj_tag(x_77) == 0) { @@ -42889,7 +44693,7 @@ lean_object* x_78; lean_object* x_79; lean_object* x_80; x_78 = lean_ctor_get(x_77, 1); lean_inc(x_78); lean_dec(x_77); -x_79 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__23; +x_79 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__23; x_80 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_75, x_79, x_78); if (lean_obj_tag(x_80) == 0) { @@ -42897,7 +44701,7 @@ lean_object* x_81; lean_object* x_82; lean_object* x_83; x_81 = lean_ctor_get(x_80, 1); lean_inc(x_81); lean_dec(x_80); -x_82 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__24; +x_82 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__24; x_83 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_75, x_82, x_81); return x_83; } @@ -49189,6 +50993,109 @@ lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_stateRefT_parenthesizer___c res = l___regBuiltin_Lean_Parser_Term_stateRefT_parenthesizer(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__1 = _init_l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__1(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__1); +l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__2 = _init_l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__2(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__2); +l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__3 = _init_l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__3(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__3); +l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__4 = _init_l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__4(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__4); +l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__5 = _init_l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__5(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__5); +l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__6 = _init_l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__6(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__6); +l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__7 = _init_l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__7(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__7); +l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__8 = _init_l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__8(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__8); +l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__9 = _init_l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__9(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__9); +l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__10 = _init_l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__10(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__10); +l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11 = _init_l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11); +l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__12 = _init_l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__12(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__12); +l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__13 = _init_l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__13(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__13); +l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__14 = _init_l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__14(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__14); +l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__15 = _init_l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__15(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__15); +l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__16 = _init_l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__16(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__16); +l_Lean_Parser_Term_dynamicQuot___closed__1 = _init_l_Lean_Parser_Term_dynamicQuot___closed__1(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot___closed__1); +l_Lean_Parser_Term_dynamicQuot___closed__2 = _init_l_Lean_Parser_Term_dynamicQuot___closed__2(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot___closed__2); +l_Lean_Parser_Term_dynamicQuot___closed__3 = _init_l_Lean_Parser_Term_dynamicQuot___closed__3(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot___closed__3); +l_Lean_Parser_Term_dynamicQuot___closed__4 = _init_l_Lean_Parser_Term_dynamicQuot___closed__4(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot___closed__4); +l_Lean_Parser_Term_dynamicQuot___closed__5 = _init_l_Lean_Parser_Term_dynamicQuot___closed__5(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot___closed__5); +l_Lean_Parser_Term_dynamicQuot___closed__6 = _init_l_Lean_Parser_Term_dynamicQuot___closed__6(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot___closed__6); +l_Lean_Parser_Term_dynamicQuot___closed__7 = _init_l_Lean_Parser_Term_dynamicQuot___closed__7(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot___closed__7); +l_Lean_Parser_Term_dynamicQuot___closed__8 = _init_l_Lean_Parser_Term_dynamicQuot___closed__8(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot___closed__8); +l_Lean_Parser_Term_dynamicQuot___closed__9 = _init_l_Lean_Parser_Term_dynamicQuot___closed__9(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot___closed__9); +l_Lean_Parser_Term_dynamicQuot___closed__10 = _init_l_Lean_Parser_Term_dynamicQuot___closed__10(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot___closed__10); +l_Lean_Parser_Term_dynamicQuot___closed__11 = _init_l_Lean_Parser_Term_dynamicQuot___closed__11(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot___closed__11); +l_Lean_Parser_Term_dynamicQuot___closed__12 = _init_l_Lean_Parser_Term_dynamicQuot___closed__12(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot___closed__12); +l_Lean_Parser_Term_dynamicQuot = _init_l_Lean_Parser_Term_dynamicQuot(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot); +res = l___regBuiltinParser_Lean_Parser_Term_dynamicQuot(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Parser_Term_dynamicQuot_formatter___closed__1 = _init_l_Lean_Parser_Term_dynamicQuot_formatter___closed__1(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot_formatter___closed__1); +l_Lean_Parser_Term_dynamicQuot_formatter___closed__2 = _init_l_Lean_Parser_Term_dynamicQuot_formatter___closed__2(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot_formatter___closed__2); +l_Lean_Parser_Term_dynamicQuot_formatter___closed__3 = _init_l_Lean_Parser_Term_dynamicQuot_formatter___closed__3(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot_formatter___closed__3); +l_Lean_Parser_Term_dynamicQuot_formatter___closed__4 = _init_l_Lean_Parser_Term_dynamicQuot_formatter___closed__4(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot_formatter___closed__4); +l_Lean_Parser_Term_dynamicQuot_formatter___closed__5 = _init_l_Lean_Parser_Term_dynamicQuot_formatter___closed__5(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot_formatter___closed__5); +l_Lean_Parser_Term_dynamicQuot_formatter___closed__6 = _init_l_Lean_Parser_Term_dynamicQuot_formatter___closed__6(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot_formatter___closed__6); +l_Lean_Parser_Term_dynamicQuot_formatter___closed__7 = _init_l_Lean_Parser_Term_dynamicQuot_formatter___closed__7(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot_formatter___closed__7); +l_Lean_Parser_Term_dynamicQuot_formatter___closed__8 = _init_l_Lean_Parser_Term_dynamicQuot_formatter___closed__8(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot_formatter___closed__8); +l_Lean_Parser_Term_dynamicQuot_formatter___closed__9 = _init_l_Lean_Parser_Term_dynamicQuot_formatter___closed__9(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot_formatter___closed__9); +l___regBuiltin_Lean_Parser_Term_dynamicQuot_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_dynamicQuot_formatter___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_dynamicQuot_formatter___closed__1); +res = l___regBuiltin_Lean_Parser_Term_dynamicQuot_formatter(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__1 = _init_l_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__1(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__1); +l_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__2 = _init_l_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__2(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__2); +l_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__3 = _init_l_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__3(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__3); +l_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__4 = _init_l_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__4(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__4); +l_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__5 = _init_l_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__5(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__5); +l_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__6 = _init_l_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__6(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__6); +l_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__7 = _init_l_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__7(); +lean_mark_persistent(l_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__7); +l___regBuiltin_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__1); +res = l___regBuiltin_Lean_Parser_Term_dynamicQuot_parenthesizer(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lean_Parser_Tactic_quot___elambda__1___closed__1 = _init_l_Lean_Parser_Tactic_quot___elambda__1___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_quot___elambda__1___closed__1); l_Lean_Parser_Tactic_quot___elambda__1___closed__2 = _init_l_Lean_Parser_Tactic_quot___elambda__1___closed__2(); @@ -49416,55 +51323,55 @@ lean_mark_persistent(l___regBuiltin_Lean_Parser_Level_quot_parenthesizer___close res = l___regBuiltin_Lean_Parser_Level_quot_parenthesizer(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__1); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__2(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__2); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__3(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__3); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__4(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__4); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__5 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__5(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__5); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__6 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__6(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__6); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__7 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__7(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__7); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__8 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__8(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__8); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__9 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__9(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__9); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__10 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__10(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__10); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__11 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__11(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__11); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__12 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__12(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__12); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__13 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__13(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__13); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__14 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__14(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__14); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__15 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__15(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__15); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__16 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__16(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__16); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__17 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__17(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__17); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__18 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__18(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__18); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__19 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__19(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__19); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__20 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__20(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__20); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__21 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__21(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__21); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__22 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__22(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__22); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__23 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__23(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__23); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__24 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__24(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385____closed__24); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3385_(lean_io_mk_world()); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__1); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__2(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__2); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__3(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__3); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__4(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__4); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__5 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__5(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__5); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__6 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__6(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__6); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__7 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__7(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__7); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__8 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__8(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__8); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__9 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__9(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__9); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__10 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__10(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__10); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__11 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__11(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__11); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__12 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__12(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__12); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__13 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__13(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__13); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__14 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__14(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__14); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__15 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__15(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__15); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__16 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__16(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__16); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__17 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__17(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__17); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__18 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__18(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__18); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__19 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__19(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__19); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__20 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__20(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__20); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__21 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__21(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__21); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__22 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__22(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__22); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__23 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__23(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__23); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__24 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__24(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428____closed__24); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3428_(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/Transform.c b/stage0/stdlib/Lean/Parser/Transform.c deleted file mode 100644 index 7d3db27bb5..0000000000 --- a/stage0/stdlib/Lean/Parser/Transform.c +++ /dev/null @@ -1,1586 +0,0 @@ -// Lean compiler output -// Module: Lean.Parser.Transform -// Imports: Init Lean.Parser.Basic -#include -#if defined(__clang__) -#pragma clang diagnostic ignored "-Wunused-parameter" -#pragma clang diagnostic ignored "-Wunused-label" -#elif defined(__GNUC__) && !defined(__CLANG__) -#pragma GCC diagnostic ignored "-Wunused-parameter" -#pragma GCC diagnostic ignored "-Wunused-label" -#pragma GCC diagnostic ignored "-Wunused-but-set-variable" -#endif -#ifdef __cplusplus -extern "C" { -#endif -lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); -lean_object* l_Std_Range_forIn_loop___at_Lean_Syntax_manyToSepBy___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_11163____closed__8; -uint8_t lean_name_eq(lean_object*, lean_object*); -lean_object* lean_array_push(lean_object*, lean_object*); -lean_object* lean_array_get_size(lean_object*); -lean_object* lean_string_append(lean_object*, lean_object*); -lean_object* l_Lean_Syntax_setTailInfo(lean_object*, lean_object*); -lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); -lean_object* lean_string_utf8_byte_size(lean_object*); -lean_object* lean_nat_add(lean_object*, lean_object*); -lean_object* l_Lean_Syntax_removeParen_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Syntax_manyToSepBy_match__1(lean_object*); -uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -lean_object* lean_nat_sub(lean_object*, lean_object*); -lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_instInhabitedSourceInfo___closed__1; -lean_object* l_Std_Range_forIn_loop___at_Lean_Syntax_manyToSepBy___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_instInhabitedSyntax; -lean_object* l_Lean_Syntax_manyToSepBy(lean_object*, lean_object*); -lean_object* l_Lean_Syntax_getNumArgs(lean_object*); -uint8_t lean_nat_dec_le(lean_object*, lean_object*); -lean_object* l_Lean_Syntax_manyToSepBy_match__2(lean_object*); -extern lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8___closed__3; -lean_object* l_Lean_Syntax_removeParen(lean_object*); -uint8_t l_Lean_Syntax_isNone(lean_object*); -lean_object* l_Lean_Syntax_getTailInfo(lean_object*); -lean_object* l_Lean_Syntax_manyToSepBy_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); -extern lean_object* l_Lean_mkOptionalNode___closed__2; -lean_object* l_Lean_Syntax_removeParen_match__1(lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_11163____closed__21; -lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); -lean_object* l_Lean_Syntax_manyToSepBy_match__2___rarg(lean_object*, lean_object*, lean_object*); -uint8_t lean_string_dec_eq(lean_object*, lean_object*); -lean_object* l_Lean_Syntax_manyToSepBy_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_Syntax_manyToSepBy_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Syntax_manyToSepBy_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Syntax_manyToSepBy_match__2___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; 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_dec(x_2); -x_7 = lean_apply_1(x_3, x_1); -return x_7; -} -} -} -lean_object* l_Lean_Syntax_manyToSepBy_match__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Syntax_manyToSepBy_match__2___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Std_Range_forIn_loop___at_Lean_Syntax_manyToSepBy___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; uint8_t x_8; -x_7 = lean_ctor_get(x_3, 1); -x_8 = lean_nat_dec_le(x_7, x_5); -if (x_8 == 0) -{ -lean_object* x_9; uint8_t x_10; -x_9 = lean_unsigned_to_nat(0u); -x_10 = lean_nat_dec_eq(x_4, 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; -x_11 = lean_unsigned_to_nat(1u); -x_12 = lean_nat_sub(x_4, x_11); -lean_dec(x_4); -x_13 = l_Lean_instInhabitedSyntax; -x_14 = lean_array_get(x_13, x_2, x_5); -x_15 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_6); -x_16 = l_Lean_Syntax_getTailInfo(x_15); -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; -lean_dec(x_15); -x_17 = l_Lean_instInhabitedSourceInfo___closed__1; -lean_inc(x_1); -x_18 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_1); -x_19 = lean_array_push(x_6, x_18); -x_20 = lean_array_push(x_19, x_14); -x_21 = lean_ctor_get(x_3, 2); -x_22 = lean_nat_add(x_5, x_21); -lean_dec(x_5); -x_4 = x_12; -x_5 = x_22; -x_6 = x_20; -goto _start; -} -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; -x_24 = lean_ctor_get(x_16, 0); -lean_inc(x_24); -lean_dec(x_16); -x_25 = lean_array_get_size(x_6); -x_26 = lean_nat_sub(x_25, x_11); -lean_dec(x_25); -x_27 = lean_array_set(x_6, x_26, x_15); -lean_dec(x_26); -lean_inc(x_1); -x_28 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_28, 0, x_24); -lean_ctor_set(x_28, 1, x_1); -x_29 = lean_array_push(x_27, x_28); -x_30 = lean_array_push(x_29, x_14); -x_31 = lean_ctor_get(x_3, 2); -x_32 = lean_nat_add(x_5, x_31); -lean_dec(x_5); -x_4 = x_12; -x_5 = x_32; -x_6 = x_30; -goto _start; -} -} -else -{ -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_6; -} -} -else -{ -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_6; -} -} -} -lean_object* l_Lean_Syntax_manyToSepBy(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_1) == 1) -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_3 = lean_ctor_get(x_1, 0); -lean_inc(x_3); -x_4 = lean_ctor_get(x_1, 1); -lean_inc(x_4); -x_5 = lean_array_get_size(x_4); -x_6 = lean_unsigned_to_nat(0u); -x_7 = lean_nat_dec_eq(x_5, x_6); -if (x_7 == 0) -{ -uint8_t x_8; -x_8 = !lean_is_exclusive(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; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_9 = lean_ctor_get(x_1, 1); -lean_dec(x_9); -x_10 = lean_ctor_get(x_1, 0); -lean_dec(x_10); -x_11 = l_Lean_instInhabitedSyntax; -x_12 = lean_array_get(x_11, x_4, x_6); -x_13 = l_Lean_mkOptionalNode___closed__2; -x_14 = lean_array_push(x_13, x_12); -x_15 = lean_unsigned_to_nat(1u); -lean_inc(x_5); -x_16 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_5); -lean_ctor_set(x_16, 2, x_15); -x_17 = l_Std_Range_forIn_loop___at_Lean_Syntax_manyToSepBy___spec__1(x_2, x_4, x_16, x_5, x_15, x_14); -lean_dec(x_16); -lean_dec(x_4); -lean_ctor_set(x_1, 1, x_17); -return x_1; -} -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; -lean_dec(x_1); -x_18 = l_Lean_instInhabitedSyntax; -x_19 = lean_array_get(x_18, x_4, x_6); -x_20 = l_Lean_mkOptionalNode___closed__2; -x_21 = lean_array_push(x_20, x_19); -x_22 = lean_unsigned_to_nat(1u); -lean_inc(x_5); -x_23 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_5); -lean_ctor_set(x_23, 2, x_22); -x_24 = l_Std_Range_forIn_loop___at_Lean_Syntax_manyToSepBy___spec__1(x_2, x_4, x_23, x_5, x_22, x_21); -lean_dec(x_23); -lean_dec(x_4); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_3); -lean_ctor_set(x_25, 1, x_24); -return x_25; -} -} -else -{ -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_1; -} -} -else -{ -lean_dec(x_2); -return x_1; -} -} -} -lean_object* l_Std_Range_forIn_loop___at_Lean_Syntax_manyToSepBy___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_Std_Range_forIn_loop___at_Lean_Syntax_manyToSepBy___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_3); -lean_dec(x_2); -return x_7; -} -} -lean_object* l_Lean_Syntax_removeParen_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) == 2) -{ -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, 0); -lean_inc(x_6); -if (lean_obj_tag(x_6) == 0) -{ -lean_object* x_7; -x_7 = lean_ctor_get(x_5, 1); -lean_inc(x_7); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; -x_8 = lean_ctor_get(x_5, 2); -lean_inc(x_8); -if (lean_obj_tag(x_8) == 0) -{ -uint8_t x_9; -lean_dec(x_3); -x_9 = !lean_is_exclusive(x_5); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_10 = lean_ctor_get(x_5, 2); -lean_dec(x_10); -x_11 = lean_ctor_get(x_5, 1); -lean_dec(x_11); -x_12 = lean_ctor_get(x_5, 0); -lean_dec(x_12); -x_13 = !lean_is_exclusive(x_1); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; -x_14 = lean_ctor_get(x_1, 0); -lean_dec(x_14); -lean_ctor_set(x_5, 0, x_8); -x_15 = lean_apply_2(x_4, x_1, x_2); -return x_15; -} -else -{ -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_dec(x_1); -lean_ctor_set(x_5, 0, x_8); -x_17 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_17, 0, x_5); -lean_ctor_set(x_17, 1, x_16); -x_18 = lean_apply_2(x_4, x_17, x_2); -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_dec(x_5); -x_19 = lean_ctor_get(x_1, 1); -lean_inc(x_19); -if (lean_is_exclusive(x_1)) { - lean_ctor_release(x_1, 0); - lean_ctor_release(x_1, 1); - x_20 = x_1; -} else { - lean_dec_ref(x_1); - x_20 = lean_box(0); -} -x_21 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_21, 0, x_8); -lean_ctor_set(x_21, 1, x_7); -lean_ctor_set(x_21, 2, x_8); -if (lean_is_scalar(x_20)) { - x_22 = lean_alloc_ctor(2, 2, 0); -} else { - x_22 = x_20; -} -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_19); -x_23 = lean_apply_2(x_4, x_22, x_2); -return x_23; -} -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; -x_24 = lean_ctor_get(x_1, 1); -lean_inc(x_24); -x_25 = lean_ctor_get(x_8, 0); -lean_inc(x_25); -x_26 = l_myMacro____x40_Init_Notation___hyg_11163____closed__21; -x_27 = lean_string_dec_eq(x_24, x_26); -lean_dec(x_24); -if (x_27 == 0) -{ -lean_object* x_28; -lean_dec(x_25); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_3); -x_28 = lean_apply_2(x_4, x_1, x_2); -return x_28; -} -else -{ -uint8_t x_29; -x_29 = !lean_is_exclusive(x_1); -if (x_29 == 0) -{ -lean_object* x_30; lean_object* x_31; -x_30 = lean_ctor_get(x_1, 1); -lean_dec(x_30); -x_31 = lean_ctor_get(x_1, 0); -lean_dec(x_31); -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_32; -lean_dec(x_25); -lean_dec(x_8); -lean_dec(x_3); -lean_ctor_set(x_1, 1, x_26); -x_32 = lean_apply_2(x_4, x_1, x_2); -return x_32; -} -else -{ -lean_object* x_33; lean_object* x_34; -x_33 = lean_ctor_get(x_2, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -if (lean_obj_tag(x_34) == 0) -{ -uint8_t x_35; -x_35 = !lean_is_exclusive(x_5); -if (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_5, 2); -lean_dec(x_36); -x_37 = lean_ctor_get(x_5, 1); -lean_dec(x_37); -x_38 = lean_ctor_get(x_5, 0); -lean_dec(x_38); -x_39 = lean_ctor_get(x_33, 1); -lean_inc(x_39); -if (lean_obj_tag(x_39) == 0) -{ -uint8_t x_40; -x_40 = !lean_is_exclusive(x_2); -if (x_40 == 0) -{ -lean_object* x_41; lean_object* x_42; -x_41 = lean_ctor_get(x_2, 0); -lean_dec(x_41); -x_42 = lean_ctor_get(x_33, 2); -lean_inc(x_42); -if (lean_obj_tag(x_42) == 0) -{ -uint8_t x_43; -lean_dec(x_25); -lean_dec(x_3); -x_43 = !lean_is_exclusive(x_33); -if (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_33, 2); -lean_dec(x_44); -x_45 = lean_ctor_get(x_33, 1); -lean_dec(x_45); -x_46 = lean_ctor_get(x_33, 0); -lean_dec(x_46); -lean_ctor_set(x_33, 2, x_8); -lean_ctor_set(x_33, 0, x_42); -lean_ctor_set(x_1, 1, x_26); -lean_ctor_set(x_1, 0, x_33); -lean_ctor_set(x_5, 2, x_42); -lean_ctor_set(x_5, 1, x_39); -lean_ctor_set(x_5, 0, x_42); -lean_ctor_set(x_2, 0, x_5); -x_47 = lean_apply_2(x_4, x_1, x_2); -return x_47; -} -else -{ -lean_object* x_48; lean_object* x_49; -lean_dec(x_33); -x_48 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_48, 0, x_42); -lean_ctor_set(x_48, 1, x_39); -lean_ctor_set(x_48, 2, x_8); -lean_ctor_set(x_1, 1, x_26); -lean_ctor_set(x_1, 0, x_48); -lean_ctor_set(x_5, 2, x_42); -lean_ctor_set(x_5, 1, x_39); -lean_ctor_set(x_5, 0, x_42); -lean_ctor_set(x_2, 0, x_5); -x_49 = lean_apply_2(x_4, x_1, x_2); -return x_49; -} -} -else -{ -lean_object* x_50; lean_object* x_51; -lean_free_object(x_2); -lean_free_object(x_5); -lean_free_object(x_1); -lean_dec(x_8); -lean_dec(x_4); -x_50 = lean_ctor_get(x_42, 0); -lean_inc(x_50); -lean_dec(x_42); -x_51 = lean_apply_3(x_3, x_25, x_33, x_50); -return x_51; -} -} -else -{ -lean_object* x_52; -lean_dec(x_2); -x_52 = lean_ctor_get(x_33, 2); -lean_inc(x_52); -if (lean_obj_tag(x_52) == 0) -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -lean_dec(x_25); -lean_dec(x_3); -if (lean_is_exclusive(x_33)) { - lean_ctor_release(x_33, 0); - lean_ctor_release(x_33, 1); - lean_ctor_release(x_33, 2); - x_53 = x_33; -} else { - lean_dec_ref(x_33); - x_53 = lean_box(0); -} -if (lean_is_scalar(x_53)) { - x_54 = lean_alloc_ctor(0, 3, 0); -} else { - x_54 = x_53; -} -lean_ctor_set(x_54, 0, x_52); -lean_ctor_set(x_54, 1, x_39); -lean_ctor_set(x_54, 2, x_8); -lean_ctor_set(x_1, 1, x_26); -lean_ctor_set(x_1, 0, x_54); -lean_ctor_set(x_5, 2, x_52); -lean_ctor_set(x_5, 1, x_39); -lean_ctor_set(x_5, 0, x_52); -x_55 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_55, 0, x_5); -x_56 = lean_apply_2(x_4, x_1, x_55); -return x_56; -} -else -{ -lean_object* x_57; lean_object* x_58; -lean_free_object(x_5); -lean_free_object(x_1); -lean_dec(x_8); -lean_dec(x_4); -x_57 = lean_ctor_get(x_52, 0); -lean_inc(x_57); -lean_dec(x_52); -x_58 = lean_apply_3(x_3, x_25, x_33, x_57); -return x_58; -} -} -} -else -{ -uint8_t x_59; -lean_dec(x_39); -lean_free_object(x_5); -lean_dec(x_25); -lean_dec(x_3); -x_59 = !lean_is_exclusive(x_33); -if (x_59 == 0) -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_60 = lean_ctor_get(x_33, 2); -lean_dec(x_60); -x_61 = lean_ctor_get(x_33, 1); -lean_dec(x_61); -x_62 = lean_ctor_get(x_33, 0); -lean_dec(x_62); -lean_ctor_set(x_33, 2, x_8); -lean_ctor_set(x_33, 1, x_7); -lean_ctor_set(x_1, 1, x_26); -lean_ctor_set(x_1, 0, x_33); -x_63 = lean_apply_2(x_4, x_1, x_2); -return x_63; -} -else -{ -lean_object* x_64; lean_object* x_65; -lean_dec(x_33); -x_64 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_64, 0, x_34); -lean_ctor_set(x_64, 1, x_7); -lean_ctor_set(x_64, 2, x_8); -lean_ctor_set(x_1, 1, x_26); -lean_ctor_set(x_1, 0, x_64); -x_65 = lean_apply_2(x_4, x_1, x_2); -return x_65; -} -} -} -else -{ -lean_object* x_66; -lean_dec(x_5); -x_66 = lean_ctor_get(x_33, 1); -lean_inc(x_66); -if (lean_obj_tag(x_66) == 0) -{ -lean_object* x_67; lean_object* x_68; -if (lean_is_exclusive(x_2)) { - lean_ctor_release(x_2, 0); - x_67 = x_2; -} else { - lean_dec_ref(x_2); - x_67 = lean_box(0); -} -x_68 = lean_ctor_get(x_33, 2); -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_dec(x_25); -lean_dec(x_3); -if (lean_is_exclusive(x_33)) { - lean_ctor_release(x_33, 0); - lean_ctor_release(x_33, 1); - lean_ctor_release(x_33, 2); - x_69 = x_33; -} else { - lean_dec_ref(x_33); - x_69 = lean_box(0); -} -if (lean_is_scalar(x_69)) { - x_70 = lean_alloc_ctor(0, 3, 0); -} else { - x_70 = x_69; -} -lean_ctor_set(x_70, 0, x_68); -lean_ctor_set(x_70, 1, x_66); -lean_ctor_set(x_70, 2, x_8); -lean_ctor_set(x_1, 1, x_26); -lean_ctor_set(x_1, 0, x_70); -x_71 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_71, 0, x_68); -lean_ctor_set(x_71, 1, x_66); -lean_ctor_set(x_71, 2, x_68); -if (lean_is_scalar(x_67)) { - x_72 = lean_alloc_ctor(1, 1, 0); -} else { - x_72 = x_67; -} -lean_ctor_set(x_72, 0, x_71); -x_73 = lean_apply_2(x_4, x_1, x_72); -return x_73; -} -else -{ -lean_object* x_74; lean_object* x_75; -lean_dec(x_67); -lean_free_object(x_1); -lean_dec(x_8); -lean_dec(x_4); -x_74 = lean_ctor_get(x_68, 0); -lean_inc(x_74); -lean_dec(x_68); -x_75 = lean_apply_3(x_3, x_25, x_33, x_74); -return x_75; -} -} -else -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; -lean_dec(x_66); -lean_dec(x_25); -lean_dec(x_3); -if (lean_is_exclusive(x_33)) { - lean_ctor_release(x_33, 0); - lean_ctor_release(x_33, 1); - lean_ctor_release(x_33, 2); - x_76 = x_33; -} else { - lean_dec_ref(x_33); - x_76 = lean_box(0); -} -if (lean_is_scalar(x_76)) { - x_77 = lean_alloc_ctor(0, 3, 0); -} else { - x_77 = x_76; -} -lean_ctor_set(x_77, 0, x_34); -lean_ctor_set(x_77, 1, x_7); -lean_ctor_set(x_77, 2, x_8); -lean_ctor_set(x_1, 1, x_26); -lean_ctor_set(x_1, 0, x_77); -x_78 = lean_apply_2(x_4, x_1, x_2); -return x_78; -} -} -} -else -{ -lean_object* x_79; -lean_dec(x_34); -lean_dec(x_33); -lean_dec(x_25); -lean_dec(x_8); -lean_dec(x_3); -lean_ctor_set(x_1, 1, x_26); -x_79 = lean_apply_2(x_4, x_1, x_2); -return x_79; -} -} -} -else -{ -lean_dec(x_1); -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_80; lean_object* x_81; -lean_dec(x_25); -lean_dec(x_8); -lean_dec(x_3); -x_80 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_80, 0, x_5); -lean_ctor_set(x_80, 1, x_26); -x_81 = lean_apply_2(x_4, x_80, x_2); -return x_81; -} -else -{ -lean_object* x_82; lean_object* x_83; -x_82 = lean_ctor_get(x_2, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_82, 0); -lean_inc(x_83); -if (lean_obj_tag(x_83) == 0) -{ -lean_object* x_84; lean_object* x_85; -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_84 = x_5; -} else { - lean_dec_ref(x_5); - x_84 = lean_box(0); -} -x_85 = lean_ctor_get(x_82, 1); -lean_inc(x_85); -if (lean_obj_tag(x_85) == 0) -{ -lean_object* x_86; lean_object* x_87; -if (lean_is_exclusive(x_2)) { - lean_ctor_release(x_2, 0); - x_86 = x_2; -} else { - lean_dec_ref(x_2); - x_86 = lean_box(0); -} -x_87 = lean_ctor_get(x_82, 2); -lean_inc(x_87); -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; lean_object* x_93; -lean_dec(x_25); -lean_dec(x_3); -if (lean_is_exclusive(x_82)) { - lean_ctor_release(x_82, 0); - lean_ctor_release(x_82, 1); - lean_ctor_release(x_82, 2); - x_88 = x_82; -} else { - lean_dec_ref(x_82); - x_88 = lean_box(0); -} -if (lean_is_scalar(x_88)) { - x_89 = lean_alloc_ctor(0, 3, 0); -} else { - x_89 = x_88; -} -lean_ctor_set(x_89, 0, x_87); -lean_ctor_set(x_89, 1, x_85); -lean_ctor_set(x_89, 2, x_8); -x_90 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_26); -if (lean_is_scalar(x_84)) { - x_91 = lean_alloc_ctor(0, 3, 0); -} else { - x_91 = x_84; -} -lean_ctor_set(x_91, 0, x_87); -lean_ctor_set(x_91, 1, x_85); -lean_ctor_set(x_91, 2, x_87); -if (lean_is_scalar(x_86)) { - x_92 = lean_alloc_ctor(1, 1, 0); -} else { - x_92 = x_86; -} -lean_ctor_set(x_92, 0, x_91); -x_93 = lean_apply_2(x_4, x_90, x_92); -return x_93; -} -else -{ -lean_object* x_94; lean_object* x_95; -lean_dec(x_86); -lean_dec(x_84); -lean_dec(x_8); -lean_dec(x_4); -x_94 = lean_ctor_get(x_87, 0); -lean_inc(x_94); -lean_dec(x_87); -x_95 = lean_apply_3(x_3, x_25, x_82, x_94); -return x_95; -} -} -else -{ -lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; -lean_dec(x_85); -lean_dec(x_84); -lean_dec(x_25); -lean_dec(x_3); -if (lean_is_exclusive(x_82)) { - lean_ctor_release(x_82, 0); - lean_ctor_release(x_82, 1); - lean_ctor_release(x_82, 2); - x_96 = x_82; -} else { - lean_dec_ref(x_82); - x_96 = lean_box(0); -} -if (lean_is_scalar(x_96)) { - x_97 = lean_alloc_ctor(0, 3, 0); -} else { - x_97 = x_96; -} -lean_ctor_set(x_97, 0, x_83); -lean_ctor_set(x_97, 1, x_7); -lean_ctor_set(x_97, 2, x_8); -x_98 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_98, 0, x_97); -lean_ctor_set(x_98, 1, x_26); -x_99 = lean_apply_2(x_4, x_98, x_2); -return x_99; -} -} -else -{ -lean_object* x_100; lean_object* x_101; -lean_dec(x_83); -lean_dec(x_82); -lean_dec(x_25); -lean_dec(x_8); -lean_dec(x_3); -x_100 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_100, 0, x_5); -lean_ctor_set(x_100, 1, x_26); -x_101 = lean_apply_2(x_4, x_100, x_2); -return x_101; -} -} -} -} -} -} -else -{ -lean_object* x_102; -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_3); -x_102 = lean_apply_2(x_4, x_1, x_2); -return x_102; -} -} -else -{ -lean_object* x_103; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_103 = lean_apply_2(x_4, x_1, x_2); -return x_103; -} -} -else -{ -lean_object* x_104; -lean_dec(x_3); -x_104 = lean_apply_2(x_4, x_1, x_2); -return x_104; -} -} -} -lean_object* l_Lean_Syntax_removeParen_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Syntax_removeParen_match__1___rarg), 4, 0); -return x_2; -} -} -lean_object* l_Lean_Syntax_removeParen(lean_object* x_1) { -_start: -{ -if (lean_obj_tag(x_1) == 1) -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = lean_ctor_get(x_1, 1); -lean_inc(x_3); -x_4 = l_myMacro____x40_Init_Notation___hyg_11163____closed__8; -x_5 = lean_name_eq(x_2, x_4); -if (x_5 == 0) -{ -lean_dec(x_3); -lean_dec(x_2); -return x_1; -} -else -{ -uint8_t x_6; -x_6 = !lean_is_exclusive(x_1); -if (x_6 == 0) -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_7 = lean_ctor_get(x_1, 1); -lean_dec(x_7); -x_8 = lean_ctor_get(x_1, 0); -lean_dec(x_8); -lean_inc(x_3); -x_9 = l_Lean_instInhabitedSyntax; -x_10 = lean_unsigned_to_nat(1u); -x_11 = lean_array_get(x_9, x_3, x_10); -x_12 = l_Lean_Syntax_getNumArgs(x_11); -x_13 = lean_unsigned_to_nat(2u); -x_14 = lean_nat_dec_eq(x_12, x_13); -lean_dec(x_12); -if (x_14 == 0) -{ -lean_dec(x_11); -lean_dec(x_3); -return x_1; -} -else -{ -lean_object* x_15; uint8_t x_16; -x_15 = l_Lean_Syntax_getArg(x_11, x_10); -x_16 = l_Lean_Syntax_isNone(x_15); -lean_dec(x_15); -if (x_16 == 0) -{ -lean_dec(x_11); -lean_dec(x_3); -return x_1; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_unsigned_to_nat(0u); -x_18 = l_Lean_Syntax_getArg(x_11, x_17); -lean_dec(x_11); -x_19 = lean_array_get(x_9, x_3, x_13); -lean_dec(x_3); -if (lean_obj_tag(x_19) == 2) -{ -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); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec(x_19); -x_22 = l_Lean_Syntax_getTailInfo(x_18); -x_23 = lean_ctor_get(x_20, 0); -lean_inc(x_23); -if (lean_obj_tag(x_23) == 0) -{ -lean_object* x_24; -x_24 = lean_ctor_get(x_20, 1); -lean_inc(x_24); -if (lean_obj_tag(x_24) == 0) -{ -lean_object* x_25; -x_25 = lean_ctor_get(x_20, 2); -lean_inc(x_25); -lean_dec(x_20); -if (lean_obj_tag(x_25) == 0) -{ -lean_dec(x_22); -lean_dec(x_21); -lean_dec(x_18); -return x_1; -} -else -{ -lean_object* x_26; lean_object* x_27; uint8_t x_28; -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -lean_dec(x_25); -x_27 = l_myMacro____x40_Init_Notation___hyg_11163____closed__21; -x_28 = lean_string_dec_eq(x_21, x_27); -lean_dec(x_21); -if (x_28 == 0) -{ -lean_dec(x_26); -lean_dec(x_22); -lean_dec(x_18); -return x_1; -} -else -{ -if (lean_obj_tag(x_22) == 0) -{ -lean_dec(x_26); -lean_dec(x_18); -return x_1; -} -else -{ -lean_object* x_29; lean_object* x_30; -x_29 = lean_ctor_get(x_22, 0); -lean_inc(x_29); -lean_dec(x_22); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -if (lean_obj_tag(x_30) == 0) -{ -lean_object* x_31; -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -if (lean_obj_tag(x_31) == 0) -{ -uint8_t x_32; -x_32 = !lean_is_exclusive(x_29); -if (x_32 == 0) -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_29, 2); -x_34 = lean_ctor_get(x_29, 1); -lean_dec(x_34); -x_35 = lean_ctor_get(x_29, 0); -lean_dec(x_35); -if (lean_obj_tag(x_33) == 0) -{ -lean_free_object(x_29); -lean_dec(x_26); -lean_dec(x_18); -return x_1; -} -else -{ -uint8_t x_36; -lean_dec(x_1); -x_36 = !lean_is_exclusive(x_33); -if (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; uint8_t x_44; -x_37 = lean_ctor_get(x_33, 0); -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_40 = lean_ctor_get(x_37, 2); -lean_inc(x_40); -lean_dec(x_37); -x_41 = lean_string_utf8_extract(x_38, x_39, x_40); -lean_dec(x_40); -lean_dec(x_39); -lean_dec(x_38); -x_42 = l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8___closed__3; -x_43 = lean_string_append(x_41, x_42); -x_44 = !lean_is_exclusive(x_26); -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; lean_object* x_51; -x_45 = lean_ctor_get(x_26, 0); -x_46 = lean_ctor_get(x_26, 1); -x_47 = lean_ctor_get(x_26, 2); -x_48 = lean_string_utf8_extract(x_45, x_46, x_47); -lean_dec(x_47); -lean_dec(x_46); -lean_dec(x_45); -x_49 = lean_string_append(x_43, x_48); -lean_dec(x_48); -x_50 = lean_string_utf8_byte_size(x_49); -lean_ctor_set(x_26, 2, x_50); -lean_ctor_set(x_26, 1, x_17); -lean_ctor_set(x_26, 0, x_49); -lean_ctor_set(x_33, 0, x_26); -x_51 = l_Lean_Syntax_setTailInfo(x_18, x_29); -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; -x_52 = lean_ctor_get(x_26, 0); -x_53 = lean_ctor_get(x_26, 1); -x_54 = lean_ctor_get(x_26, 2); -lean_inc(x_54); -lean_inc(x_53); -lean_inc(x_52); -lean_dec(x_26); -x_55 = lean_string_utf8_extract(x_52, x_53, x_54); -lean_dec(x_54); -lean_dec(x_53); -lean_dec(x_52); -x_56 = lean_string_append(x_43, x_55); -lean_dec(x_55); -x_57 = lean_string_utf8_byte_size(x_56); -x_58 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_17); -lean_ctor_set(x_58, 2, x_57); -lean_ctor_set(x_33, 0, x_58); -x_59 = l_Lean_Syntax_setTailInfo(x_18, x_29); -return x_59; -} -} -else -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_60 = lean_ctor_get(x_33, 0); -lean_inc(x_60); -lean_dec(x_33); -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_ctor_get(x_60, 1); -lean_inc(x_62); -x_63 = lean_ctor_get(x_60, 2); -lean_inc(x_63); -lean_dec(x_60); -x_64 = lean_string_utf8_extract(x_61, x_62, x_63); -lean_dec(x_63); -lean_dec(x_62); -lean_dec(x_61); -x_65 = l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8___closed__3; -x_66 = lean_string_append(x_64, x_65); -x_67 = lean_ctor_get(x_26, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_26, 1); -lean_inc(x_68); -x_69 = lean_ctor_get(x_26, 2); -lean_inc(x_69); -if (lean_is_exclusive(x_26)) { - lean_ctor_release(x_26, 0); - lean_ctor_release(x_26, 1); - lean_ctor_release(x_26, 2); - x_70 = x_26; -} else { - lean_dec_ref(x_26); - x_70 = lean_box(0); -} -x_71 = lean_string_utf8_extract(x_67, x_68, x_69); -lean_dec(x_69); -lean_dec(x_68); -lean_dec(x_67); -x_72 = lean_string_append(x_66, x_71); -lean_dec(x_71); -x_73 = lean_string_utf8_byte_size(x_72); -if (lean_is_scalar(x_70)) { - x_74 = lean_alloc_ctor(0, 3, 0); -} else { - x_74 = x_70; -} -lean_ctor_set(x_74, 0, x_72); -lean_ctor_set(x_74, 1, x_17); -lean_ctor_set(x_74, 2, x_73); -x_75 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_29, 2, x_75); -x_76 = l_Lean_Syntax_setTailInfo(x_18, x_29); -return x_76; -} -} -} -else -{ -lean_object* x_77; -x_77 = lean_ctor_get(x_29, 2); -lean_inc(x_77); -lean_dec(x_29); -if (lean_obj_tag(x_77) == 0) -{ -lean_dec(x_26); -lean_dec(x_18); -return x_1; -} -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_dec(x_1); -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -if (lean_is_exclusive(x_77)) { - lean_ctor_release(x_77, 0); - x_79 = x_77; -} else { - lean_dec_ref(x_77); - x_79 = lean_box(0); -} -x_80 = lean_ctor_get(x_78, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_78, 1); -lean_inc(x_81); -x_82 = lean_ctor_get(x_78, 2); -lean_inc(x_82); -lean_dec(x_78); -x_83 = lean_string_utf8_extract(x_80, x_81, x_82); -lean_dec(x_82); -lean_dec(x_81); -lean_dec(x_80); -x_84 = l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8___closed__3; -x_85 = lean_string_append(x_83, x_84); -x_86 = lean_ctor_get(x_26, 0); -lean_inc(x_86); -x_87 = lean_ctor_get(x_26, 1); -lean_inc(x_87); -x_88 = lean_ctor_get(x_26, 2); -lean_inc(x_88); -if (lean_is_exclusive(x_26)) { - lean_ctor_release(x_26, 0); - lean_ctor_release(x_26, 1); - lean_ctor_release(x_26, 2); - x_89 = x_26; -} else { - lean_dec_ref(x_26); - x_89 = lean_box(0); -} -x_90 = lean_string_utf8_extract(x_86, x_87, x_88); -lean_dec(x_88); -lean_dec(x_87); -lean_dec(x_86); -x_91 = lean_string_append(x_85, x_90); -lean_dec(x_90); -x_92 = lean_string_utf8_byte_size(x_91); -if (lean_is_scalar(x_89)) { - x_93 = lean_alloc_ctor(0, 3, 0); -} else { - x_93 = x_89; -} -lean_ctor_set(x_93, 0, x_91); -lean_ctor_set(x_93, 1, x_17); -lean_ctor_set(x_93, 2, x_92); -if (lean_is_scalar(x_79)) { - x_94 = lean_alloc_ctor(1, 1, 0); -} else { - x_94 = x_79; -} -lean_ctor_set(x_94, 0, x_93); -x_95 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_95, 0, x_30); -lean_ctor_set(x_95, 1, x_31); -lean_ctor_set(x_95, 2, x_94); -x_96 = l_Lean_Syntax_setTailInfo(x_18, x_95); -return x_96; -} -} -} -else -{ -lean_dec(x_31); -lean_dec(x_29); -lean_dec(x_26); -lean_dec(x_18); -return x_1; -} -} -else -{ -lean_dec(x_30); -lean_dec(x_29); -lean_dec(x_26); -lean_dec(x_18); -return x_1; -} -} -} -} -} -else -{ -lean_dec(x_24); -lean_dec(x_22); -lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_18); -return x_1; -} -} -else -{ -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_18); -return x_1; -} -} -else -{ -lean_dec(x_19); -lean_dec(x_18); -return x_1; -} -} -} -} -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; uint8_t x_103; -lean_dec(x_1); -lean_inc(x_3); -x_97 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_97, 0, x_2); -lean_ctor_set(x_97, 1, x_3); -x_98 = l_Lean_instInhabitedSyntax; -x_99 = lean_unsigned_to_nat(1u); -x_100 = lean_array_get(x_98, x_3, x_99); -x_101 = l_Lean_Syntax_getNumArgs(x_100); -x_102 = lean_unsigned_to_nat(2u); -x_103 = lean_nat_dec_eq(x_101, x_102); -lean_dec(x_101); -if (x_103 == 0) -{ -lean_dec(x_100); -lean_dec(x_3); -return x_97; -} -else -{ -lean_object* x_104; uint8_t x_105; -x_104 = l_Lean_Syntax_getArg(x_100, x_99); -x_105 = l_Lean_Syntax_isNone(x_104); -lean_dec(x_104); -if (x_105 == 0) -{ -lean_dec(x_100); -lean_dec(x_3); -return x_97; -} -else -{ -lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_106 = lean_unsigned_to_nat(0u); -x_107 = l_Lean_Syntax_getArg(x_100, x_106); -lean_dec(x_100); -x_108 = lean_array_get(x_98, x_3, x_102); -lean_dec(x_3); -if (lean_obj_tag(x_108) == 2) -{ -lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; -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_Syntax_getTailInfo(x_107); -x_112 = lean_ctor_get(x_109, 0); -lean_inc(x_112); -if (lean_obj_tag(x_112) == 0) -{ -lean_object* x_113; -x_113 = lean_ctor_get(x_109, 1); -lean_inc(x_113); -if (lean_obj_tag(x_113) == 0) -{ -lean_object* x_114; -x_114 = lean_ctor_get(x_109, 2); -lean_inc(x_114); -lean_dec(x_109); -if (lean_obj_tag(x_114) == 0) -{ -lean_dec(x_111); -lean_dec(x_110); -lean_dec(x_107); -return x_97; -} -else -{ -lean_object* x_115; lean_object* x_116; uint8_t x_117; -x_115 = lean_ctor_get(x_114, 0); -lean_inc(x_115); -lean_dec(x_114); -x_116 = l_myMacro____x40_Init_Notation___hyg_11163____closed__21; -x_117 = lean_string_dec_eq(x_110, x_116); -lean_dec(x_110); -if (x_117 == 0) -{ -lean_dec(x_115); -lean_dec(x_111); -lean_dec(x_107); -return x_97; -} -else -{ -if (lean_obj_tag(x_111) == 0) -{ -lean_dec(x_115); -lean_dec(x_107); -return x_97; -} -else -{ -lean_object* x_118; lean_object* x_119; -x_118 = lean_ctor_get(x_111, 0); -lean_inc(x_118); -lean_dec(x_111); -x_119 = lean_ctor_get(x_118, 0); -lean_inc(x_119); -if (lean_obj_tag(x_119) == 0) -{ -lean_object* x_120; -x_120 = lean_ctor_get(x_118, 1); -lean_inc(x_120); -if (lean_obj_tag(x_120) == 0) -{ -lean_object* x_121; lean_object* x_122; -x_121 = lean_ctor_get(x_118, 2); -lean_inc(x_121); -if (lean_is_exclusive(x_118)) { - lean_ctor_release(x_118, 0); - lean_ctor_release(x_118, 1); - lean_ctor_release(x_118, 2); - x_122 = x_118; -} else { - lean_dec_ref(x_118); - x_122 = lean_box(0); -} -if (lean_obj_tag(x_121) == 0) -{ -lean_dec(x_122); -lean_dec(x_115); -lean_dec(x_107); -return x_97; -} -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_dec(x_97); -x_123 = lean_ctor_get(x_121, 0); -lean_inc(x_123); -if (lean_is_exclusive(x_121)) { - lean_ctor_release(x_121, 0); - x_124 = x_121; -} else { - lean_dec_ref(x_121); - x_124 = lean_box(0); -} -x_125 = lean_ctor_get(x_123, 0); -lean_inc(x_125); -x_126 = lean_ctor_get(x_123, 1); -lean_inc(x_126); -x_127 = lean_ctor_get(x_123, 2); -lean_inc(x_127); -lean_dec(x_123); -x_128 = lean_string_utf8_extract(x_125, x_126, x_127); -lean_dec(x_127); -lean_dec(x_126); -lean_dec(x_125); -x_129 = l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8___closed__3; -x_130 = lean_string_append(x_128, x_129); -x_131 = lean_ctor_get(x_115, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_115, 1); -lean_inc(x_132); -x_133 = lean_ctor_get(x_115, 2); -lean_inc(x_133); -if (lean_is_exclusive(x_115)) { - lean_ctor_release(x_115, 0); - lean_ctor_release(x_115, 1); - lean_ctor_release(x_115, 2); - x_134 = x_115; -} else { - lean_dec_ref(x_115); - x_134 = lean_box(0); -} -x_135 = lean_string_utf8_extract(x_131, x_132, x_133); -lean_dec(x_133); -lean_dec(x_132); -lean_dec(x_131); -x_136 = lean_string_append(x_130, x_135); -lean_dec(x_135); -x_137 = lean_string_utf8_byte_size(x_136); -if (lean_is_scalar(x_134)) { - x_138 = lean_alloc_ctor(0, 3, 0); -} else { - x_138 = x_134; -} -lean_ctor_set(x_138, 0, x_136); -lean_ctor_set(x_138, 1, x_106); -lean_ctor_set(x_138, 2, x_137); -if (lean_is_scalar(x_124)) { - x_139 = lean_alloc_ctor(1, 1, 0); -} else { - x_139 = x_124; -} -lean_ctor_set(x_139, 0, x_138); -if (lean_is_scalar(x_122)) { - x_140 = lean_alloc_ctor(0, 3, 0); -} else { - x_140 = x_122; -} -lean_ctor_set(x_140, 0, x_119); -lean_ctor_set(x_140, 1, x_120); -lean_ctor_set(x_140, 2, x_139); -x_141 = l_Lean_Syntax_setTailInfo(x_107, x_140); -return x_141; -} -} -else -{ -lean_dec(x_120); -lean_dec(x_118); -lean_dec(x_115); -lean_dec(x_107); -return x_97; -} -} -else -{ -lean_dec(x_119); -lean_dec(x_118); -lean_dec(x_115); -lean_dec(x_107); -return x_97; -} -} -} -} -} -else -{ -lean_dec(x_113); -lean_dec(x_111); -lean_dec(x_110); -lean_dec(x_109); -lean_dec(x_107); -return x_97; -} -} -else -{ -lean_dec(x_112); -lean_dec(x_111); -lean_dec(x_110); -lean_dec(x_109); -lean_dec(x_107); -return x_97; -} -} -else -{ -lean_dec(x_108); -lean_dec(x_107); -return x_97; -} -} -} -} -} -} -else -{ -return x_1; -} -} -} -lean_object* initialize_Init(lean_object*); -lean_object* initialize_Lean_Parser_Basic(lean_object*); -static bool _G_initialized = false; -lean_object* initialize_Lean_Parser_Transform(lean_object* w) { -lean_object * res; -if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); -_G_initialized = true; -res = initialize_Init(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -res = initialize_Lean_Parser_Basic(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)); -} -#ifdef __cplusplus -} -#endif diff --git a/stage0/stdlib/Lean/ParserCompiler.c b/stage0/stdlib/Lean/ParserCompiler.c index c74bc62bff..c9e9cffce1 100644 --- a/stage0/stdlib/Lean/ParserCompiler.c +++ b/stage0/stdlib/Lean/ParserCompiler.c @@ -39,7 +39,6 @@ extern lean_object* l_Lean_nullKind; lean_object* l_Lean_ParserCompiler_compileCategoryParser_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldrMUnsafe_fold___at_Lean_ParserCompiler_compileParserExpr___spec__8___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_name_mk_string(lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_54____closed__3; uint8_t l_USize_decEq(size_t, size_t); lean_object* l_Array_foldrMUnsafe_fold___at_Lean_ParserCompiler_compileParserExpr___spec__25___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_array_uget(lean_object*, size_t); @@ -120,7 +119,6 @@ lean_object* l_Lean_ParserCompiler_preprocessParserBody___rarg___boxed(lean_obje lean_object* l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__1; lean_object* l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_ParserCompiler_preprocessParserBody___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ParserCompiler_compileParserExpr___rarg___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* l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_ParserCompiler_preprocessParserBody___spec__1___rarg___closed__1; lean_object* l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__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*); lean_object* l_Lean_ParserCompiler_compileCategoryParser___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__34(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*); @@ -187,6 +185,7 @@ lean_object* l_Std_Range_forIn_loop___at_Lean_ParserCompiler_compileParserExpr__ lean_object* l_Lean_ParserCompiler_compileParserExpr___rarg___closed__2; lean_object* l_Std_Range_forIn_loop___at_Lean_ParserCompiler_compileParserExpr___spec__15(lean_object*); lean_object* l_Array_foldrMUnsafe_fold___at_Lean_ParserCompiler_compileParserExpr___spec__30___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_Parser_parserOfStackFnUnsafe___closed__3; lean_object* l_Array_foldrMUnsafe_fold___at_Lean_ParserCompiler_compileParserExpr___spec__26(lean_object*); lean_object* l_Lean_getConstInfo___at_Lean_Meta_getParamNamesImp___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -422,16 +421,6 @@ lean_dec(x_1); return x_2; } } -static lean_object* _init_l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_ParserCompiler_preprocessParserBody___spec__1___rarg___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_54____closed__4; -x_2 = l_myMacro____x40_Init_Notation___hyg_54____closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} lean_object* l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_ParserCompiler_preprocessParserBody___spec__1___rarg(lean_object* x_1, size_t x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -447,7 +436,7 @@ x_10 = x_9 == x_5; if (x_10 == 0) { lean_object* x_11; uint8_t x_12; -x_11 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_ParserCompiler_preprocessParserBody___spec__1___rarg___closed__1; +x_11 = l_Lean_Parser_parserOfStackFnUnsafe___closed__3; x_12 = l_Lean_Expr_isConstOf(x_3, x_11); if (x_12 == 0) { @@ -18003,7 +17992,7 @@ x_31 = l_Lean_Expr_isConstOf(x_28, x_30); if (x_31 == 0) { lean_object* x_63; uint8_t x_64; -x_63 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_ParserCompiler_preprocessParserBody___spec__1___rarg___closed__1; +x_63 = l_Lean_Parser_parserOfStackFnUnsafe___closed__3; x_64 = l_Lean_Expr_isConstOf(x_28, x_63); lean_dec(x_28); if (x_64 == 0) @@ -18174,7 +18163,7 @@ lean_dec(x_17); if (lean_obj_tag(x_45) == 0) { lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_ParserCompiler_preprocessParserBody___spec__1___rarg___closed__1; +x_46 = l_Lean_Parser_parserOfStackFnUnsafe___closed__3; x_47 = lean_box(0); x_48 = l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__4(x_1, x_44, x_2, x_46, x_25, x_21, x_19, x_13, x_10, x_26, x_47, x_4, x_5, x_6, x_7, x_29); return x_48; @@ -18228,7 +18217,7 @@ return x_58; else { lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_ParserCompiler_preprocessParserBody___spec__1___rarg___closed__1; +x_59 = l_Lean_Parser_parserOfStackFnUnsafe___closed__3; x_60 = lean_box(0); x_61 = l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__4(x_1, x_44, x_2, x_59, x_25, x_21, x_19, x_13, x_10, x_26, x_60, x_4, x_5, x_6, x_7, x_29); return x_61; @@ -18487,7 +18476,7 @@ x_138 = l_Lean_Expr_isConstOf(x_135, x_137); if (x_138 == 0) { lean_object* x_170; uint8_t x_171; -x_170 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_ParserCompiler_preprocessParserBody___spec__1___rarg___closed__1; +x_170 = l_Lean_Parser_parserOfStackFnUnsafe___closed__3; x_171 = l_Lean_Expr_isConstOf(x_135, x_170); lean_dec(x_135); if (x_171 == 0) @@ -18658,7 +18647,7 @@ lean_dec(x_124); if (lean_obj_tag(x_152) == 0) { lean_object* x_153; lean_object* x_154; lean_object* x_155; -x_153 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_ParserCompiler_preprocessParserBody___spec__1___rarg___closed__1; +x_153 = l_Lean_Parser_parserOfStackFnUnsafe___closed__3; x_154 = lean_box(0); x_155 = l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__9(x_1, x_151, x_2, x_153, x_132, x_128, x_126, x_120, x_10, x_133, x_154, x_4, x_5, x_6, x_7, x_136); return x_155; @@ -18712,7 +18701,7 @@ return x_165; else { lean_object* x_166; lean_object* x_167; lean_object* x_168; -x_166 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_ParserCompiler_preprocessParserBody___spec__1___rarg___closed__1; +x_166 = l_Lean_Parser_parserOfStackFnUnsafe___closed__3; x_167 = lean_box(0); x_168 = l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__9(x_1, x_151, x_2, x_166, x_132, x_128, x_126, x_120, x_10, x_133, x_167, x_4, x_5, x_6, x_7, x_136); return x_168; @@ -18943,7 +18932,7 @@ x_241 = l_Lean_Expr_isConstOf(x_238, x_240); if (x_241 == 0) { lean_object* x_273; uint8_t x_274; -x_273 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_ParserCompiler_preprocessParserBody___spec__1___rarg___closed__1; +x_273 = l_Lean_Parser_parserOfStackFnUnsafe___closed__3; x_274 = l_Lean_Expr_isConstOf(x_238, x_273); lean_dec(x_238); if (x_274 == 0) @@ -19114,7 +19103,7 @@ lean_dec(x_227); if (lean_obj_tag(x_255) == 0) { lean_object* x_256; lean_object* x_257; lean_object* x_258; -x_256 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_ParserCompiler_preprocessParserBody___spec__1___rarg___closed__1; +x_256 = l_Lean_Parser_parserOfStackFnUnsafe___closed__3; x_257 = lean_box(0); x_258 = l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__14(x_1, x_254, x_2, x_256, x_235, x_231, x_229, x_223, x_10, x_236, x_257, x_4, x_5, x_6, x_7, x_239); return x_258; @@ -19168,7 +19157,7 @@ return x_268; else { lean_object* x_269; lean_object* x_270; lean_object* x_271; -x_269 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_ParserCompiler_preprocessParserBody___spec__1___rarg___closed__1; +x_269 = l_Lean_Parser_parserOfStackFnUnsafe___closed__3; x_270 = lean_box(0); x_271 = l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__14(x_1, x_254, x_2, x_269, x_235, x_231, x_229, x_223, x_10, x_236, x_270, x_4, x_5, x_6, x_7, x_239); return x_271; @@ -19399,7 +19388,7 @@ x_344 = l_Lean_Expr_isConstOf(x_341, x_343); if (x_344 == 0) { lean_object* x_376; uint8_t x_377; -x_376 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_ParserCompiler_preprocessParserBody___spec__1___rarg___closed__1; +x_376 = l_Lean_Parser_parserOfStackFnUnsafe___closed__3; x_377 = l_Lean_Expr_isConstOf(x_341, x_376); lean_dec(x_341); if (x_377 == 0) @@ -19570,7 +19559,7 @@ lean_dec(x_330); if (lean_obj_tag(x_358) == 0) { lean_object* x_359; lean_object* x_360; lean_object* x_361; -x_359 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_ParserCompiler_preprocessParserBody___spec__1___rarg___closed__1; +x_359 = l_Lean_Parser_parserOfStackFnUnsafe___closed__3; x_360 = lean_box(0); x_361 = l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__19(x_1, x_357, x_2, x_359, x_338, x_334, x_332, x_326, x_10, x_339, x_360, x_4, x_5, x_6, x_7, x_342); return x_361; @@ -19624,7 +19613,7 @@ return x_371; else { lean_object* x_372; lean_object* x_373; lean_object* x_374; -x_372 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_ParserCompiler_preprocessParserBody___spec__1___rarg___closed__1; +x_372 = l_Lean_Parser_parserOfStackFnUnsafe___closed__3; x_373 = lean_box(0); x_374 = l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__19(x_1, x_357, x_2, x_372, x_338, x_334, x_332, x_326, x_10, x_339, x_373, x_4, x_5, x_6, x_7, x_342); return x_374; @@ -19855,7 +19844,7 @@ x_447 = l_Lean_Expr_isConstOf(x_444, x_446); if (x_447 == 0) { lean_object* x_479; uint8_t x_480; -x_479 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_ParserCompiler_preprocessParserBody___spec__1___rarg___closed__1; +x_479 = l_Lean_Parser_parserOfStackFnUnsafe___closed__3; x_480 = l_Lean_Expr_isConstOf(x_444, x_479); lean_dec(x_444); if (x_480 == 0) @@ -20026,7 +20015,7 @@ lean_dec(x_433); if (lean_obj_tag(x_461) == 0) { lean_object* x_462; lean_object* x_463; lean_object* x_464; -x_462 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_ParserCompiler_preprocessParserBody___spec__1___rarg___closed__1; +x_462 = l_Lean_Parser_parserOfStackFnUnsafe___closed__3; x_463 = lean_box(0); x_464 = l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__24(x_1, x_460, x_2, x_462, x_441, x_437, x_435, x_429, x_10, x_442, x_463, x_4, x_5, x_6, x_7, x_445); return x_464; @@ -20080,7 +20069,7 @@ return x_474; else { lean_object* x_475; lean_object* x_476; lean_object* x_477; -x_475 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_ParserCompiler_preprocessParserBody___spec__1___rarg___closed__1; +x_475 = l_Lean_Parser_parserOfStackFnUnsafe___closed__3; x_476 = lean_box(0); x_477 = l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__24(x_1, x_460, x_2, x_475, x_441, x_437, x_435, x_429, x_10, x_442, x_476, x_4, x_5, x_6, x_7, x_445); return x_477; @@ -20324,7 +20313,7 @@ x_554 = l_Lean_Expr_isConstOf(x_551, x_553); if (x_554 == 0) { lean_object* x_586; uint8_t x_587; -x_586 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_ParserCompiler_preprocessParserBody___spec__1___rarg___closed__1; +x_586 = l_Lean_Parser_parserOfStackFnUnsafe___closed__3; x_587 = l_Lean_Expr_isConstOf(x_551, x_586); lean_dec(x_551); if (x_587 == 0) @@ -20495,7 +20484,7 @@ lean_dec(x_540); if (lean_obj_tag(x_568) == 0) { lean_object* x_569; lean_object* x_570; lean_object* x_571; -x_569 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_ParserCompiler_preprocessParserBody___spec__1___rarg___closed__1; +x_569 = l_Lean_Parser_parserOfStackFnUnsafe___closed__3; x_570 = lean_box(0); x_571 = l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__30(x_1, x_567, x_2, x_569, x_548, x_544, x_542, x_536, x_10, x_549, x_570, x_4, x_5, x_6, x_7, x_552); return x_571; @@ -20549,7 +20538,7 @@ return x_581; else { lean_object* x_582; lean_object* x_583; lean_object* x_584; -x_582 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_ParserCompiler_preprocessParserBody___spec__1___rarg___closed__1; +x_582 = l_Lean_Parser_parserOfStackFnUnsafe___closed__3; x_583 = lean_box(0); x_584 = l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__30(x_1, x_567, x_2, x_582, x_548, x_544, x_542, x_536, x_10, x_549, x_583, x_4, x_5, x_6, x_7, x_552); return x_584; @@ -20780,7 +20769,7 @@ x_657 = l_Lean_Expr_isConstOf(x_654, x_656); if (x_657 == 0) { lean_object* x_689; uint8_t x_690; -x_689 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_ParserCompiler_preprocessParserBody___spec__1___rarg___closed__1; +x_689 = l_Lean_Parser_parserOfStackFnUnsafe___closed__3; x_690 = l_Lean_Expr_isConstOf(x_654, x_689); lean_dec(x_654); if (x_690 == 0) @@ -20951,7 +20940,7 @@ lean_dec(x_643); if (lean_obj_tag(x_671) == 0) { lean_object* x_672; lean_object* x_673; lean_object* x_674; -x_672 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_ParserCompiler_preprocessParserBody___spec__1___rarg___closed__1; +x_672 = l_Lean_Parser_parserOfStackFnUnsafe___closed__3; x_673 = lean_box(0); x_674 = l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__35(x_1, x_670, x_2, x_672, x_651, x_647, x_645, x_639, x_10, x_652, x_673, x_4, x_5, x_6, x_7, x_655); return x_674; @@ -21005,7 +20994,7 @@ return x_684; else { lean_object* x_685; lean_object* x_686; lean_object* x_687; -x_685 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_ParserCompiler_preprocessParserBody___spec__1___rarg___closed__1; +x_685 = l_Lean_Parser_parserOfStackFnUnsafe___closed__3; x_686 = lean_box(0); x_687 = l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__35(x_1, x_670, x_2, x_685, x_651, x_647, x_645, x_639, x_10, x_652, x_686, x_4, x_5, x_6, x_7, x_655); return x_687; @@ -21236,7 +21225,7 @@ x_760 = l_Lean_Expr_isConstOf(x_757, x_759); if (x_760 == 0) { lean_object* x_792; uint8_t x_793; -x_792 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_ParserCompiler_preprocessParserBody___spec__1___rarg___closed__1; +x_792 = l_Lean_Parser_parserOfStackFnUnsafe___closed__3; x_793 = l_Lean_Expr_isConstOf(x_757, x_792); lean_dec(x_757); if (x_793 == 0) @@ -21407,7 +21396,7 @@ lean_dec(x_746); if (lean_obj_tag(x_774) == 0) { lean_object* x_775; lean_object* x_776; lean_object* x_777; -x_775 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_ParserCompiler_preprocessParserBody___spec__1___rarg___closed__1; +x_775 = l_Lean_Parser_parserOfStackFnUnsafe___closed__3; x_776 = lean_box(0); x_777 = l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__40(x_1, x_773, x_2, x_775, x_754, x_750, x_748, x_742, x_10, x_755, x_776, x_4, x_5, x_6, x_7, x_758); return x_777; @@ -21461,7 +21450,7 @@ return x_787; else { lean_object* x_788; lean_object* x_789; lean_object* x_790; -x_788 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_ParserCompiler_preprocessParserBody___spec__1___rarg___closed__1; +x_788 = l_Lean_Parser_parserOfStackFnUnsafe___closed__3; x_789 = lean_box(0); x_790 = l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__40(x_1, x_773, x_2, x_788, x_754, x_750, x_748, x_742, x_10, x_755, x_789, x_4, x_5, x_6, x_7, x_758); return x_790; @@ -21692,7 +21681,7 @@ x_863 = l_Lean_Expr_isConstOf(x_860, x_862); if (x_863 == 0) { lean_object* x_895; uint8_t x_896; -x_895 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_ParserCompiler_preprocessParserBody___spec__1___rarg___closed__1; +x_895 = l_Lean_Parser_parserOfStackFnUnsafe___closed__3; x_896 = l_Lean_Expr_isConstOf(x_860, x_895); lean_dec(x_860); if (x_896 == 0) @@ -21863,7 +21852,7 @@ lean_dec(x_849); if (lean_obj_tag(x_877) == 0) { lean_object* x_878; lean_object* x_879; lean_object* x_880; -x_878 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_ParserCompiler_preprocessParserBody___spec__1___rarg___closed__1; +x_878 = l_Lean_Parser_parserOfStackFnUnsafe___closed__3; x_879 = lean_box(0); x_880 = l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__45(x_1, x_876, x_2, x_878, x_857, x_853, x_851, x_845, x_10, x_858, x_879, x_4, x_5, x_6, x_7, x_861); return x_880; @@ -21917,7 +21906,7 @@ return x_890; else { lean_object* x_891; lean_object* x_892; lean_object* x_893; -x_891 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_ParserCompiler_preprocessParserBody___spec__1___rarg___closed__1; +x_891 = l_Lean_Parser_parserOfStackFnUnsafe___closed__3; x_892 = lean_box(0); x_893 = l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__45(x_1, x_876, x_2, x_891, x_857, x_853, x_851, x_845, x_10, x_858, x_892, x_4, x_5, x_6, x_7, x_861); return x_893; @@ -22148,7 +22137,7 @@ x_966 = l_Lean_Expr_isConstOf(x_963, x_965); if (x_966 == 0) { lean_object* x_998; uint8_t x_999; -x_998 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_ParserCompiler_preprocessParserBody___spec__1___rarg___closed__1; +x_998 = l_Lean_Parser_parserOfStackFnUnsafe___closed__3; x_999 = l_Lean_Expr_isConstOf(x_963, x_998); lean_dec(x_963); if (x_999 == 0) @@ -22319,7 +22308,7 @@ lean_dec(x_952); if (lean_obj_tag(x_980) == 0) { lean_object* x_981; lean_object* x_982; lean_object* x_983; -x_981 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_ParserCompiler_preprocessParserBody___spec__1___rarg___closed__1; +x_981 = l_Lean_Parser_parserOfStackFnUnsafe___closed__3; x_982 = lean_box(0); x_983 = l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__50(x_1, x_979, x_2, x_981, x_960, x_956, x_954, x_948, x_10, x_961, x_982, x_4, x_5, x_6, x_7, x_964); return x_983; @@ -22373,7 +22362,7 @@ return x_993; else { lean_object* x_994; lean_object* x_995; lean_object* x_996; -x_994 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_ParserCompiler_preprocessParserBody___spec__1___rarg___closed__1; +x_994 = l_Lean_Parser_parserOfStackFnUnsafe___closed__3; x_995 = lean_box(0); x_996 = l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__50(x_1, x_979, x_2, x_994, x_960, x_956, x_954, x_948, x_10, x_961, x_995, x_4, x_5, x_6, x_7, x_964); return x_996; @@ -24791,8 +24780,6 @@ lean_dec_ref(res); res = initialize_Lean_Parser_Extension(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_ParserCompiler_preprocessParserBody___spec__1___rarg___closed__1 = _init_l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_ParserCompiler_preprocessParserBody___spec__1___rarg___closed__1(); -lean_mark_persistent(l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_ParserCompiler_preprocessParserBody___spec__1___rarg___closed__1); l_Std_Range_forIn_loop___at_Lean_ParserCompiler_compileParserExpr___spec__5___rarg___closed__1 = _init_l_Std_Range_forIn_loop___at_Lean_ParserCompiler_compileParserExpr___spec__5___rarg___closed__1(); lean_mark_persistent(l_Std_Range_forIn_loop___at_Lean_ParserCompiler_compileParserExpr___spec__5___rarg___closed__1); l_Std_Range_forIn_loop___at_Lean_ParserCompiler_compileParserExpr___spec__7___rarg___closed__1 = _init_l_Std_Range_forIn_loop___at_Lean_ParserCompiler_compileParserExpr___spec__7___rarg___closed__1(); diff --git a/stage0/stdlib/Lean/PrettyPrinter/Formatter.c b/stage0/stdlib/Lean/PrettyPrinter/Formatter.c index 03f18129db..f153eca3db 100644 --- a/stage0/stdlib/Lean/PrettyPrinter/Formatter.c +++ b/stage0/stdlib/Lean/PrettyPrinter/Formatter.c @@ -27,10 +27,11 @@ lean_object* l_Lean_PrettyPrinter_Formatter_symbol_formatter___closed__9; lean_object* l_Lean_PrettyPrinter_Formatter_visitArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_add(size_t, size_t); extern lean_object* l_Lean_fieldIdxKind; -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470_(lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2404_(lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2434_(lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500_(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkTailWs_formatter___rarg(lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__25; +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__21; +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__38; lean_object* l_ReaderT_bind___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__1(lean_object*, lean_object*); extern lean_object* l_Lean_scientificLitKind___closed__1; extern lean_object* l_Lean_Syntax_strLitToAtom___closed__3; @@ -39,13 +40,12 @@ lean_object* l_Lean_PrettyPrinter_Formatter_getStackSize___rarg(lean_object*, le lean_object* l_Lean_PrettyPrinter_Formatter_concat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Formatter_symbol_formatter___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__37; lean_object* l_ReaderT_bind___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_numLitNoAntiquot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Formatter_visitArgs___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__10; -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__55; lean_object* l_Lean_PrettyPrinter_Formatter_eoi_formatter___rarg(lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__50; lean_object* l_Lean_PrettyPrinter_Formatter_identNoAntiquot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_setExpected_formatter___boxed(lean_object*); lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___closed__12; @@ -54,17 +54,18 @@ lean_object* l_Lean_PrettyPrinter_Formatter_pushToken_match__1___rarg(lean_objec lean_object* l_Lean_PrettyPrinter_Formatter_nonReservedSymbol_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_symbol_formatter___closed__4; extern lean_object* l_Lean_nullKind; -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__42; lean_object* l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Formatter_visitArgs___spec__4(lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__53; lean_object* l_Lean_PrettyPrinter_Formatter_symbol_formatter___closed__8; extern lean_object* l_Lean_identKind___closed__1; extern lean_object* l_Lean_Parser_Tactic_generalize___closed__6; lean_object* lean_name_mk_string(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__6; uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); lean_object* lean_io_error_to_string(lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__34; lean_object* l_Lean_PrettyPrinter_Formatter_pushLine___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__48; lean_object* l_Lean_PrettyPrinter_Formatter_interpolatedStr_formatter_match__1(lean_object*); extern lean_object* l___kind_term____x40_Init_Notation___hyg_11713____closed__5; lean_object* l_Lean_PrettyPrinter_Formatter_many_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -83,22 +84,19 @@ lean_object* l_Lean_throwError___at_Lean_PrettyPrinter_Formatter_unicodeSymbol_f lean_object* l_Lean_PrettyPrinter_Formatter_atomic_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_trailingNode_formatter___lambda__1___closed__1; lean_object* l_Lean_PrettyPrinter_Formatter_checkInsideQuot_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__21; lean_object* l_Lean_PrettyPrinter_Formatter_symbol_formatter_match__1___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_identKind___closed__2; -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__38; lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___closed__1; +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__26; lean_object* l_Lean_PrettyPrinter_format_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_trailingNode_formatter___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__47; +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__58; lean_object* l_Lean_PrettyPrinter_Formatter_ite___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_symbol_formatter___closed__10; extern lean_object* l_Array_empty___closed__1; lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__51; lean_object* lean_environment_find(lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__19; lean_object* l_Lean_PrettyPrinter_Formatter_orelse_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_trailingNode_formatter___lambda__1___closed__2; lean_object* lean_string_utf8_prev(lean_object*, lean_object*); @@ -112,6 +110,7 @@ lean_object* l_Lean_Parser_mkParserState(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__1; uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_throwBacktrack(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__12; lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at_Lean_PrettyPrinter_Formatter_identNoAntiquot_formatter___spec__2(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_formatterForKindUnsafe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -121,13 +120,13 @@ extern lean_object* l_rawNatLit___closed__8; lean_object* l_Lean_PrettyPrinter_Formatter_pushLine(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_notFollowedByCategoryToken_formatter(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__1; +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__59; +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__31; lean_object* l_Lean_PrettyPrinter_Formatter_identNoAntiquot_formatter_match__1___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__10; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Formatter_visitArgs___spec__2___boxed(lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__44; lean_object* l_Lean_PrettyPrinter_Formatter_categoryParserOfStack_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_charLitKind___closed__1; lean_object* lean_string_append(lean_object*, lean_object*); @@ -146,22 +145,20 @@ lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkNoWsBefore_formatter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__5; lean_object* l_Lean_PrettyPrinter_Formatter_lookahead_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__60; lean_object* l_Lean_PrettyPrinter_Formatter_unicodeSymbol_formatter___closed__3; lean_object* l_Lean_PrettyPrinter_Formatter_checkTailWs_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__61; lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute(lean_object*); lean_object* l_Array_shrink___rarg(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_trailingNode_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_unicodeSymbol_formatter_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_pushToken___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__2; lean_object* l_Lean_PrettyPrinter_mkCombinatorFormatterAttribute(lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goDown___at_Lean_PrettyPrinter_Formatter_visitArgs___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_pushToken___lambda__2___closed__1; lean_object* l_Array_back___at_Lean_PrettyPrinter_Formatter_indent___spec__1___boxed(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_fieldIdx_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__64; lean_object* l_Lean_PrettyPrinter_Formatter_sepBy_formatter(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_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__3; @@ -171,24 +168,24 @@ lean_object* l_Lean_PrettyPrinter_Formatter_checkStackTop_formatter___boxed(lean lean_object* l_Lean_PrettyPrinter_runForNodeKind___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_instCoeArrowFormatterFormatterFormatterAliasValue(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___closed__4; +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__51; +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__19; extern lean_object* l_Lean_nameLitKind; -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__6; -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__46; lean_object* l_Lean_PrettyPrinter_Formatter_visitAtom_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_notFollowedBy_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__39; lean_object* l_Lean_PrettyPrinter_Formatter_interpretParserDescr___elambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkColGt_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_interpretParserDescr___elambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_eoi_formatter(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_throwBacktrack___rarg(lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__11; lean_object* l_Lean_PrettyPrinter_Formatter_pushToken___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toStringWithSep(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_optional_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_format___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___closed__9; lean_object* l_Lean_PrettyPrinter_Formatter_symbol_formatter_match__1(lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__16; lean_object* l_Lean_Parser_registerAliasCore___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_getStack___boxed(lean_object*); lean_object* l_Nat_forM_loop___at_Lean_PrettyPrinter_Formatter_many_formatter___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -197,6 +194,7 @@ lean_object* l_Lean_PrettyPrinter_Formatter_checkKind___closed__5; lean_object* l_Lean_PrettyPrinter_Formatter_checkPrec_formatter___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_trailingNode_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; lean_object* l_Lean_PrettyPrinter_Formatter_getStackSize(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkColGe_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_formatterForKind(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -216,6 +214,7 @@ lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___lambda__1___boxed(lean_ lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___lambda__1___closed__1; lean_object* l_Lean_PrettyPrinter_Formatter_checkWsBefore_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__35; extern lean_object* l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1; lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Formatter_visitArgs___spec__2(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__4; @@ -231,61 +230,58 @@ lean_object* l_Lean_PrettyPrinter_Formatter_eoi_formatter___boxed(lean_object*, lean_object* lean_st_ref_take(lean_object*, lean_object*); extern lean_object* l_Lean_numLitKind; lean_object* l_Lean_PrettyPrinter_Formatter_interpolatedStr_formatter___boxed__const__1; -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__30; +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__36; lean_object* lean_nat_sub(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__16; lean_object* l_Lean_PrettyPrinter_Formatter_formatterForKindUnsafe___closed__1; -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__28; lean_object* l_Lean_PrettyPrinter_Formatter_visitAtom___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_choiceKind___closed__2; lean_object* l_Lean_PrettyPrinter_Formatter_categoryParserOfStack_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_strLitKind; -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__5; -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__14; lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambda__1(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkPrec_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__13; lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___closed__6; +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__63; lean_object* l_Lean_PrettyPrinter_Formatter_push___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__24; lean_object* l_Lean_PrettyPrinter_Formatter_withForbidden_formatter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__41; lean_object* l_Lean_PrettyPrinter_Formatter_visitAtom(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Substring_contains(lean_object*, uint32_t); lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Formatter_visitArgs___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__18; lean_object* l_Lean_PrettyPrinter_Formatter_checkKind___closed__6; lean_object* l_Lean_PrettyPrinter_Formatter_symbol_formatter___closed__5; lean_object* l_Lean_PrettyPrinter_Formatter_notFollowedBy_formatter___rarg(lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__49; lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___closed__5; -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__23; lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___closed__3; extern lean_object* l_Lean_numLitKind___closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_12963____closed__4; extern lean_object* l_Lean_strLitKind___closed__1; lean_object* l_Lean_PrettyPrinter_Formatter_toggleInsideQuot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_format___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__54; lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambda__1___boxed(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_node_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__15; lean_object* l_Lean_PrettyPrinter_Formatter_unicodeSymbol_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_KeyedDeclsAttribute_instInhabitedKeyedDeclsAttribute___closed__1; lean_object* l_Lean_PrettyPrinter_Formatter_pushNone_formatter___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instInhabited___rarg(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__10; +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__32; lean_object* l_List_forM___at_Lean_PrettyPrinter_Formatter_sepBy_formatter___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__29; -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__52; +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__20; extern lean_object* l_Lean_scientificLitKind___closed__2; lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___closed__13; lean_object* l_Lean_PrettyPrinter_Formatter_checkInsideQuot_formatter___rarg(lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__62; lean_object* l_List_foldl___at_Lean_moduleNameOfFileName___spec__1(lean_object*, lean_object*); extern lean_object* l_Lean_strLitKind___closed__2; lean_object* l_Lean_PrettyPrinter_Formatter_identEq_formatter(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkOutsideQuot_formatter(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkLineEq_formatter___rarg(lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__43; lean_object* l_Lean_PrettyPrinter_Formatter_visitAtom_match__1(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_interpretParserDescr___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__56; lean_object* l_Lean_PrettyPrinter_Formatter_symbol_formatter___closed__3; lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_interpolatedStr_formatter_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -293,10 +289,8 @@ lean_object* lean_st_mk_ref(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___lambda__1___closed__4; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_format___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__33; lean_object* l_Lean_PrettyPrinter_Formatter_skip_formatter(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_charLitKind; -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__22; lean_object* l_Lean_PrettyPrinter_Formatter_withoutForbidden_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_location___closed__4; lean_object* l_Lean_PrettyPrinter_Formatter_checkColGt_formatter(lean_object*, lean_object*, lean_object*, lean_object*); @@ -306,24 +300,19 @@ lean_object* l_Lean_PrettyPrinter_combinatorFormatterAttribute; lean_object* l_Lean_PrettyPrinter_Formatter_many1Unbox_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ParserCompiler_registerCombinatorAttribute(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_symbol_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__49; lean_object* l_Lean_PrettyPrinter_Formatter_instCoeArrowFormatterArrowFormatterFormatterFormatterAliasValue(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_errorAtSavedPos_formatter___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkNoWsBefore_formatter___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_format___closed__5; -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__7; -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__63; extern lean_object* l_Lean_numLitKind___closed__2; lean_object* l_Lean_PrettyPrinter_instOrElseFormatterM(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_scientificLitNoAntiquot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_rwRuleSeq___closed__4; -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__24; lean_object* l_Lean_PrettyPrinter_formatterAttribute; uint32_t lean_string_utf8_get(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___lambda__1___closed__5; lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_interpretParserDescr_match__1(lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__26; lean_object* l_Lean_PrettyPrinter_Formatter_rawIdent_formatter_match__1(lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Formatter_visitArgs___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_error_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -333,8 +322,6 @@ lean_object* l_Lean_PrettyPrinter_Formatter_formatterForKind___boxed(lean_object lean_object* l_Lean_PrettyPrinter_Formatter_mkAntiquot_formatter_x27___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Formatter_visitArgs___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___closed__5; -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__4; -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__58; 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*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_54____closed__2; @@ -344,7 +331,6 @@ uint8_t l_Substring_beq(lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedSyntax; lean_object* l_Lean_PrettyPrinter_Formatter_error_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_symbol_formatter___closed__7; -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__35; lean_object* l_Lean_PrettyPrinter_Formatter_checkTailWs_formatter(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryParser_formatter___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_PrettyPrinter_Formatter_interpolatedStr_formatter___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -359,7 +345,6 @@ extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1890 lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__7; lean_object* l_List_foldr___at_Lean_PrettyPrinter_Formatter_identNoAntiquot_formatter___spec__1___boxed(lean_object*, lean_object*); extern lean_object* l_instReprIterator___closed__2; -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__39; lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___closed__6; lean_object* l_Lean_PrettyPrinter_Formatter_pushNone_formatter(lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Formatter_visitArgs___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -380,10 +365,10 @@ lean_object* l_Lean_PrettyPrinter_Formatter_State_leadWord___default; lean_object* l_Lean_PrettyPrinter_mkCombinatorFormatterAttribute___closed__1; lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___lambda__1___closed__3; lean_object* l_Lean_PrettyPrinter_Formatter_many1_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__36; lean_object* l_Lean_PrettyPrinter_Formatter_getStack___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_fmt___at_Lean_ppTerm___spec__1(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM_match__1___rarg(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__25; lean_object* l_ReaderT_pure___at_Lean_PrettyPrinter_Formatter_interpolatedStr_formatter___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_skip_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_Traverser_fromSyntax(lean_object*); @@ -395,18 +380,22 @@ lean_object* l_Lean_PrettyPrinter_Formatter_setStack___boxed(lean_object*, lean_ lean_object* l_Lean_PrettyPrinter_FormatterM_orelse___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___closed__3; lean_object* l_Lean_PrettyPrinter_Formatter_parseToken___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__29; extern lean_object* l_Lean_identKind; lean_object* l_Lean_PrettyPrinter_Formatter_parseToken___closed__1; +lean_object* l_IO_mkRef___at_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2434____spec__1(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__52; lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___closed__11; uint8_t l_UInt32_decEq(uint32_t, uint32_t); lean_object* l_Lean_PrettyPrinter_Formatter_interpolatedStr_formatter___closed__1; +lean_object* l_Lean_PrettyPrinter_Formatter_parserOfStack_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_getUnaryAlias___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_FormatterM_orelse(lean_object*); lean_object* l_Substring_takeWhileAux___at_Substring_trimLeft___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_getStack___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__46; lean_object* l_Lean_PrettyPrinter_formatCommand(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__3; lean_object* l_Lean_PrettyPrinter_Formatter_push(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_Traverser_down(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_formatterAliasesRef; @@ -414,6 +403,7 @@ lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___lambda__1___closed__2; extern lean_object* l_Lean_scientificLitKind; lean_object* l_Lean_PrettyPrinter_Formatter_checkNoImmediateColon_formatter(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Formatter_visitArgs___spec__4___boxed(lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__22; extern lean_object* l_Lean_ParserCompiler_CombinatorAttribute_instInhabitedCombinatorAttribute___closed__1; extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1890____closed__12; extern lean_object* l___kind_term____x40_Init_Notation___hyg_12477____closed__5; @@ -422,9 +412,7 @@ lean_object* l_Lean_PrettyPrinter_Formatter_checkNoWsBefore_formatter___boxed(le lean_object* lean_pretty_printer_formatter_interpret_parser_descr(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_String_isPrefixOf(lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__56; lean_object* l_Lean_PrettyPrinter_Formatter_error_formatter___rarg(lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__20; lean_object* l_Lean_PrettyPrinter_Formatter_pushToken(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_instInhabitedReaderT___rarg___boxed(lean_object*, lean_object*); @@ -433,34 +421,34 @@ lean_object* l_Lean_PrettyPrinter_Formatter_interpretParserDescr___elambda__5(le uint8_t l_Lean_Parser_isValidSyntaxNodeKind(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM; uint8_t l_Lean_Name_isAnonymous(lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__10; -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__32; lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Name_isNum(lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__54; +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__62; lean_object* l_Lean_PrettyPrinter_Formatter_getStackSize___boxed(lean_object*); lean_object* l_Lean_PrettyPrinter_format___closed__3; extern lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8___closed__3; lean_object* l_Lean_PrettyPrinter_Formatter_errorAtSavedPos_formatter(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__12; lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Formatter_visitArgs___spec__1(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_withForbidden_formatter___boxed(lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__33; lean_object* l_Lean_PrettyPrinter_Formatter_pushToken___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_forM_loop___at_Lean_PrettyPrinter_Formatter_many_formatter___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkNoWsBefore_formatter(lean_object*); extern lean_object* l_Int_instInhabitedInt___closed__1; lean_object* l_Lean_PrettyPrinter_Formatter_interpretParserDescr___elambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Name_toStringWithSep___closed__1; +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__3; lean_object* l_Lean_Format_getIndent(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_notFollowedByCategoryToken_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_PrettyPrinter_Formatter_unicodeSymbol_formatter___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_pushToken___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_pushNone_formatter___boxed(lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__8; lean_object* l_Lean_PrettyPrinter_Formatter_visitArgs___closed__1; lean_object* l_Lean_PrettyPrinter_Formatter_throwBacktrack___rarg___closed__1; lean_object* l_Lean_PrettyPrinter_format_match__1(lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__17; +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__14; lean_object* l_Lean_PrettyPrinter_Formatter_concat___closed__1; lean_object* l_Lean_PrettyPrinter_Formatter_setStack(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_addAttribute___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -468,43 +456,50 @@ extern lean_object* l_Lean_Format_instInhabitedFormat; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_visitAtom___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_back___at_Lean_PrettyPrinter_Formatter_indent___spec__1(lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__28; lean_object* l_Lean_PrettyPrinter_Formatter_checkNoImmediateColon_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__57; lean_object* l_Lean_PrettyPrinter_Formatter_checkOutsideQuot_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_skip_formatter___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_interpretParserDescr_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* l_Lean_PrettyPrinter_Formatter_parseToken(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__5; +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__30; lean_object* l_Lean_PrettyPrinter_mkCombinatorFormatterAttribute___closed__3; lean_object* l_Lean_PrettyPrinter_Formatter_pushTokenCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_instOrElseFormatterM___closed__1; lean_object* l_Lean_PrettyPrinter_Formatter_symbol_formatter___closed__6; lean_object* l_Lean_PrettyPrinter_Formatter_checkKind___closed__3; extern lean_object* l_Array___kind_term____x40_Init_Data_Array_Subarray___hyg_510____closed__13; +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__18; lean_object* l_Substring_takeRightWhileAux___at_Lean_PrettyPrinter_Formatter_pushTokenCore___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___closed__7; +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__15; lean_object* l_Lean_PrettyPrinter_Formatter_trailingNode_formatter___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_String_trim(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___closed__1; lean_object* l_Lean_PrettyPrinter_Formatter_fold(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__34; lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2___closed__6; lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___closed__2; lean_object* l_Lean_PrettyPrinter_Formatter_identNoAntiquot_formatter_match__1(lean_object*); lean_object* lean_array_pop(lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__48; lean_object* l_Lean_PrettyPrinter_Formatter_concat___lambda__1___boxed(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Core_withIncRecDepth___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_parserOfStack_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__7; lean_object* l_Lean_PrettyPrinter_Formatter_rawIdent_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_PrettyPrinter_Formatter_visitAtom___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__53; +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__42; lean_object* l_Lean_PrettyPrinter_Formatter_interpretParserDescr___elambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3051_(lean_object*); +lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3081_(lean_object*); lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__1(lean_object*); lean_object* l_Substring_takeRightWhileAux___at_Substring_trimRight___spec__1(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__50; lean_object* l_Lean_PrettyPrinter_Formatter_symbol_formatter___closed__1; lean_object* lean_pretty_printer_formatter_interpret_parser_descr(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_int_sub(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__37; +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__55; extern lean_object* l_Array_instReprArray___rarg___closed__1; lean_object* l_Lean_indentD(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkOutsideQuot_formatter___rarg(lean_object*); @@ -520,35 +515,44 @@ lean_object* l_Lean_PrettyPrinter_Formatter_checkStackTop_formatter(lean_object* lean_object* l_Lean_Syntax_MonadTraverser_goDown___at_Lean_PrettyPrinter_Formatter_visitArgs___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_symbol_formatter___closed__2; extern lean_object* l_myMacro____x40_Init_Notation___hyg_13091____closed__4; +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__57; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__17; lean_object* l_Lean_throwError___at_Lean_PrettyPrinter_Formatter_visitAtom___spec__1(lean_object*); lean_object* lean_nat_mod(lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__11; lean_object* l_Lean_PrettyPrinter_Formatter_interpolatedStr_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__8; lean_object* l_Lean_PrettyPrinter_Formatter_pushToken___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_simp_macro_scopes(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_pushToken___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___closed__2; -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__43; +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__45; lean_object* l_Lean_PrettyPrinter_Formatter_checkColGe_formatter___rarg(lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__9; lean_object* l_Lean_PrettyPrinter_Formatter_sepBy1_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_PrettyPrinter_Formatter_visitAtom___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__40; lean_object* l_Lean_KeyedDeclsAttribute_init___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkKind(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__8; +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__27; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_PrettyPrinter_Formatter_concat___spec__1(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_throwError___at_Lean_PrettyPrinter_Formatter_unicodeSymbol_formatter___spec__1(lean_object*); extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1890____closed__9; +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__4; lean_object* l_Lean_PrettyPrinter_Formatter_symbol_formatter___closed__11; extern lean_object* l_Lean_PrettyPrinter_backtrackExceptionId; -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__61; +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__64; lean_object* l_Lean_PrettyPrinter_Formatter_suppressInsideQuot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1890____closed__27; lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__2; lean_object* l_Lean_Syntax_Traverser_left(lean_object*); lean_object* l_ReaderT_map___at_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM___spec__1(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_throwBacktrack___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__47; lean_object* l_Lean_PrettyPrinter_Formatter_notFollowedBy_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__60; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_PrettyPrinter_Formatter_concat___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_pushToken_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_format___closed__1; @@ -557,6 +561,7 @@ lean_object* l_Lean_PrettyPrinter_Formatter_checkKind___closed__2; lean_object* l_Lean_PrettyPrinter_Formatter_unicodeSymbol_formatter___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at_Lean_PrettyPrinter_Formatter_identNoAntiquot_formatter___spec__2___closed__1; lean_object* l_Lean_PrettyPrinter_Formatter_getStackSize___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__44; lean_object* l_Lean_PrettyPrinter_Formatter_pushToken___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_group(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_format___closed__2; @@ -566,34 +571,31 @@ lean_object* lean_nat_to_int(lean_object*); uint8_t l_Lean_Syntax_isToken(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_formatTerm___closed__1; lean_object* l_Lean_Name_components(lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__1; lean_object* l_List_forM___at_Lean_PrettyPrinter_Formatter_sepBy_formatter___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_instInhabitedPUnit; lean_object* l_Lean_PrettyPrinter_Formatter_unicodeSymbol_formatter___closed__2; lean_object* l_List_map___at_Lean_PrettyPrinter_Formatter_identNoAntiquot_formatter___spec__2___closed__2; -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__59; -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__31; lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Formatter_symbol_formatter___spec__1___boxed(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_instMonadTraverserFormatterM_match__1(lean_object*, lean_object*); extern lean_object* l_Lean_interpolatedStrLitKind; lean_object* l_Lean_PrettyPrinter_Formatter_andthen_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkKind___closed__1; extern lean_object* l_Lean_MetavarContext_MkBinding_mkBinding___closed__1; -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__9; lean_object* l_Lean_PrettyPrinter_Formatter_pushTokenCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_mkCombinatorFormatterAttribute___closed__2; -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__27; lean_object* l_Lean_PrettyPrinter_Formatter_checkPrec_formatter(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkKind___closed__4; +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__23; lean_object* l_Substring_takeRightWhileAux___at_Lean_PrettyPrinter_Formatter_pushTokenCore___spec__1(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_nameLitKind___closed__1; uint8_t lean_string_dec_eq(lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_12835____closed__8; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__40; -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__45; +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__41; +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__13; lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_pushNone_formatter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_IO_mkRef___at_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2404____spec__1(lean_object*, lean_object*); lean_object* l_ReaderT_pure___at_Lean_PrettyPrinter_Formatter_interpolatedStr_formatter___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* _init_l_Lean_PrettyPrinter_Formatter_State_leadWord___default() { _start: @@ -3985,6 +3987,52 @@ lean_dec(x_1); return x_7; } } +lean_object* l_Lean_PrettyPrinter_Formatter_parserOfStack_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, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_8 = lean_st_ref_get(x_6, x_7); +x_9 = lean_ctor_get(x_8, 1); +lean_inc(x_9); +lean_dec(x_8); +x_10 = lean_st_ref_get(x_4, 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_13, 1); +lean_inc(x_14); +x_15 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_14); +lean_dec(x_14); +x_16 = lean_ctor_get(x_13, 2); +lean_inc(x_16); +lean_dec(x_13); +x_17 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__1(x_16); +lean_dec(x_16); +x_18 = lean_nat_sub(x_17, x_1); +lean_dec(x_17); +x_19 = l_Lean_Syntax_getArg(x_15, x_18); +lean_dec(x_18); +lean_dec(x_15); +x_20 = l_Lean_Syntax_getKind(x_19); +x_21 = l_Lean_PrettyPrinter_Formatter_formatterForKindUnsafe(x_20, x_3, x_4, x_5, x_6, x_12); +return x_21; +} +} +lean_object* l_Lean_PrettyPrinter_Formatter_parserOfStack_formatter___boxed(lean_object* x_1, 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_PrettyPrinter_Formatter_parserOfStack_formatter(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; +} +} lean_object* l_Lean_PrettyPrinter_Formatter_error_formatter___rarg(lean_object* x_1) { _start: { @@ -4608,7 +4656,7 @@ x_7 = lean_st_ref_get(x_5, x_6); x_8 = !lean_is_exclusive(x_7); if (x_8 == 0) { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +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; uint8_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; x_9 = lean_ctor_get(x_7, 0); x_10 = lean_ctor_get(x_9, 0); lean_inc(x_10); @@ -4620,65 +4668,77 @@ x_13 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_13, 0, x_1); lean_ctor_set(x_13, 1, x_11); lean_ctor_set(x_13, 2, x_12); -x_14 = lean_ctor_get(x_2, 1); +x_14 = lean_box(0); x_15 = lean_box(0); -x_16 = lean_unsigned_to_nat(0u); -x_17 = 0; -lean_inc(x_14); -x_18 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_18, 0, x_13); -lean_ctor_set(x_18, 1, x_16); -lean_ctor_set(x_18, 2, x_10); -lean_ctor_set(x_18, 3, x_14); -lean_ctor_set(x_18, 4, x_15); -lean_ctor_set(x_18, 5, x_15); -lean_ctor_set_uint8(x_18, sizeof(void*)*6, x_17); -lean_ctor_set_uint8(x_18, sizeof(void*)*6 + 1, x_17); -x_19 = l_Lean_Parser_mkParserState(x_1); +x_16 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_16, 0, x_10); +lean_ctor_set(x_16, 1, x_15); +lean_ctor_set(x_16, 2, x_14); +x_17 = lean_ctor_get(x_2, 1); +x_18 = lean_box(0); +x_19 = lean_unsigned_to_nat(0u); +x_20 = 0; +lean_inc(x_17); +x_21 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_21, 0, x_13); +lean_ctor_set(x_21, 1, x_16); +lean_ctor_set(x_21, 2, x_19); +lean_ctor_set(x_21, 3, x_17); +lean_ctor_set(x_21, 4, x_18); +lean_ctor_set(x_21, 5, x_18); +lean_ctor_set_uint8(x_21, sizeof(void*)*6, x_20); +lean_ctor_set_uint8(x_21, sizeof(void*)*6 + 1, x_20); +x_22 = l_Lean_Parser_mkParserState(x_1); lean_dec(x_1); -x_20 = l_Lean_Parser_tokenFn(x_18, x_19); -lean_ctor_set(x_7, 0, x_20); +x_23 = l_Lean_Parser_tokenFn(x_21, x_22); +lean_ctor_set(x_7, 0, x_23); return x_7; } 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; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_21 = lean_ctor_get(x_7, 0); -x_22 = lean_ctor_get(x_7, 1); -lean_inc(x_22); -lean_inc(x_21); +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; uint8_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_24 = lean_ctor_get(x_7, 0); +x_25 = lean_ctor_get(x_7, 1); +lean_inc(x_25); +lean_inc(x_24); lean_dec(x_7); -x_23 = lean_ctor_get(x_21, 0); -lean_inc(x_23); -lean_dec(x_21); -x_24 = l_Lean_instInhabitedParserDescr___closed__1; -x_25 = l_Lean_PrettyPrinter_Formatter_parseToken___closed__1; +x_26 = lean_ctor_get(x_24, 0); +lean_inc(x_26); +lean_dec(x_24); +x_27 = l_Lean_instInhabitedParserDescr___closed__1; +x_28 = l_Lean_PrettyPrinter_Formatter_parseToken___closed__1; lean_inc(x_1); -x_26 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_26, 0, x_1); -lean_ctor_set(x_26, 1, x_24); -lean_ctor_set(x_26, 2, x_25); -x_27 = lean_ctor_get(x_2, 1); -x_28 = lean_box(0); -x_29 = lean_unsigned_to_nat(0u); -x_30 = 0; -lean_inc(x_27); -x_31 = lean_alloc_ctor(0, 6, 2); -lean_ctor_set(x_31, 0, x_26); -lean_ctor_set(x_31, 1, x_29); -lean_ctor_set(x_31, 2, x_23); -lean_ctor_set(x_31, 3, x_27); -lean_ctor_set(x_31, 4, x_28); -lean_ctor_set(x_31, 5, x_28); -lean_ctor_set_uint8(x_31, sizeof(void*)*6, x_30); -lean_ctor_set_uint8(x_31, sizeof(void*)*6 + 1, x_30); -x_32 = l_Lean_Parser_mkParserState(x_1); +x_29 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_29, 0, x_1); +lean_ctor_set(x_29, 1, x_27); +lean_ctor_set(x_29, 2, x_28); +x_30 = lean_box(0); +x_31 = lean_box(0); +x_32 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_32, 0, x_26); +lean_ctor_set(x_32, 1, x_31); +lean_ctor_set(x_32, 2, x_30); +x_33 = lean_ctor_get(x_2, 1); +x_34 = lean_box(0); +x_35 = lean_unsigned_to_nat(0u); +x_36 = 0; +lean_inc(x_33); +x_37 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_37, 0, x_29); +lean_ctor_set(x_37, 1, x_32); +lean_ctor_set(x_37, 2, x_35); +lean_ctor_set(x_37, 3, x_33); +lean_ctor_set(x_37, 4, x_34); +lean_ctor_set(x_37, 5, x_34); +lean_ctor_set_uint8(x_37, sizeof(void*)*6, x_36); +lean_ctor_set_uint8(x_37, sizeof(void*)*6 + 1, x_36); +x_38 = l_Lean_Parser_mkParserState(x_1); lean_dec(x_1); -x_33 = l_Lean_Parser_tokenFn(x_31, x_32); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_22); -return x_34; +x_39 = l_Lean_Parser_tokenFn(x_37, x_38); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_25); +return x_40; } } } @@ -6295,7 +6355,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_PrettyPrinter_Formatter_symbol_formatter___closed__9; x_2 = l_Lean_PrettyPrinter_Formatter_symbol_formatter___closed__10; -x_3 = lean_unsigned_to_nat(290u); +x_3 = lean_unsigned_to_nat(296u); x_4 = lean_unsigned_to_nat(42u); x_5 = l_Lean_Syntax_strLitToAtom___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -9226,7 +9286,7 @@ x_10 = l_Lean_PrettyPrinter_Formatter_ite___rarg(x_9, x_2, x_3, x_4, x_5, x_6, x return x_10; } } -lean_object* l_IO_mkRef___at_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2404____spec__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_IO_mkRef___at_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2434____spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; @@ -9251,12 +9311,12 @@ return x_7; } } } -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2404_(lean_object* x_1) { +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2434_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; x_2 = lean_box(0); -x_3 = l_IO_mkRef___at_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2404____spec__1(x_2, x_1); +x_3 = l_IO_mkRef___at_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2434____spec__1(x_2, x_1); return x_3; } } @@ -9296,7 +9356,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__1() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__1() { _start: { lean_object* x_1; @@ -9304,17 +9364,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_checkWsBefore_fo return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__2() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__1; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____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_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__3() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__3() { _start: { lean_object* x_1; @@ -9322,17 +9382,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_checkNoWsBefore_ return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__4() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__3; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____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_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__5() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__5() { _start: { lean_object* x_1; lean_object* x_2; @@ -9342,12 +9402,12 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__6() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__6() { _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_numLitKind___closed__1; -x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__5; +x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__5; x_3 = 1; x_4 = lean_box(x_3); x_5 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_mkAntiquot_formatter_x27___boxed), 8, 3); @@ -9357,7 +9417,7 @@ lean_closure_set(x_5, 2, x_4); return x_5; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__7() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__7() { _start: { lean_object* x_1; @@ -9365,29 +9425,29 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_numLitNoAntiquot return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__8() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__6; -x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__7; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__6; +x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__7; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_withAntiquot_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_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__9() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__8; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__8; 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_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__10() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__10() { _start: { lean_object* x_1; @@ -9395,17 +9455,17 @@ x_1 = lean_mk_string("scientific"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__11() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__10; +x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__10; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__12() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__12() { _start: { lean_object* x_1; lean_object* x_2; @@ -9415,12 +9475,12 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__13() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__13() { _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_scientificLitKind___closed__1; -x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__12; +x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__12; x_3 = 1; x_4 = lean_box(x_3); x_5 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_mkAntiquot_formatter_x27___boxed), 8, 3); @@ -9430,7 +9490,7 @@ lean_closure_set(x_5, 2, x_4); return x_5; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__14() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__14() { _start: { lean_object* x_1; @@ -9438,29 +9498,29 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_scientificLitNoA return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__15() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__13; -x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__14; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__13; +x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__14; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_withAntiquot_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_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__16() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__16() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__15; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____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_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__17() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__17() { _start: { lean_object* x_1; lean_object* x_2; @@ -9470,12 +9530,12 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__18() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__18() { _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_strLitKind___closed__1; -x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__17; +x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__17; x_3 = 1; x_4 = lean_box(x_3); x_5 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_mkAntiquot_formatter_x27___boxed), 8, 3); @@ -9485,7 +9545,7 @@ lean_closure_set(x_5, 2, x_4); return x_5; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__19() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__19() { _start: { lean_object* x_1; @@ -9493,29 +9553,29 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_strLitNoAntiquot return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__20() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__20() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__18; -x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__19; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__18; +x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__19; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_withAntiquot_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_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__21() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__21() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__20; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__20; 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_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__22() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__22() { _start: { lean_object* x_1; lean_object* x_2; @@ -9525,12 +9585,12 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__23() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__23() { _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_charLitKind___closed__1; -x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__22; +x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__22; x_3 = 1; x_4 = lean_box(x_3); x_5 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_mkAntiquot_formatter_x27___boxed), 8, 3); @@ -9540,7 +9600,7 @@ lean_closure_set(x_5, 2, x_4); return x_5; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__24() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__24() { _start: { lean_object* x_1; @@ -9548,29 +9608,29 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_charLitNoAntiquo return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__25() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__25() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__23; -x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__24; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__23; +x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__24; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_withAntiquot_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_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__26() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__26() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__25; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__25; 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_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__27() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__27() { _start: { lean_object* x_1; lean_object* x_2; @@ -9580,12 +9640,12 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__28() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__28() { _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_nameLitKind___closed__1; -x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__27; +x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__27; x_3 = 1; x_4 = lean_box(x_3); x_5 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_mkAntiquot_formatter_x27___boxed), 8, 3); @@ -9595,7 +9655,7 @@ lean_closure_set(x_5, 2, x_4); return x_5; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__29() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__29() { _start: { lean_object* x_1; @@ -9603,29 +9663,29 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_nameLitNoAntiquo return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__30() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__30() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__28; -x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__29; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__28; +x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__29; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_withAntiquot_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_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__31() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__31() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__30; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__30; 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_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__32() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__32() { _start: { lean_object* x_1; lean_object* x_2; @@ -9635,12 +9695,12 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__33() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__33() { _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_identKind___closed__1; -x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__32; +x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__32; x_3 = 1; x_4 = lean_box(x_3); x_5 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_mkAntiquot_formatter_x27___boxed), 8, 3); @@ -9650,7 +9710,7 @@ lean_closure_set(x_5, 2, x_4); return x_5; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__34() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__34() { _start: { lean_object* x_1; @@ -9658,29 +9718,29 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_identNoAntiquot_ return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__35() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__35() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__33; -x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__34; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__33; +x_2 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__34; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_withAntiquot_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_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__36() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__36() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__35; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__35; 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_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__37() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__37() { _start: { lean_object* x_1; @@ -9688,17 +9748,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_checkColGt_forma return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__38() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__38() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__37; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__37; 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_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__39() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__39() { _start: { lean_object* x_1; @@ -9706,17 +9766,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_checkColGe_forma return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__40() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__40() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__39; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__39; 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_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__41() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__41() { _start: { lean_object* x_1; @@ -9724,17 +9784,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_lookahead_format return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__42() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__42() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__41; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__41; 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_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__43() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__43() { _start: { lean_object* x_1; @@ -9742,17 +9802,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_atomic_formatter return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__44() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__44() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__43; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__43; 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_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__45() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__45() { _start: { lean_object* x_1; @@ -9760,17 +9820,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_many_formatter), return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__46() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__46() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__45; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__45; 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_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__47() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__47() { _start: { lean_object* x_1; @@ -9778,17 +9838,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_many1_formatter) return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__48() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__48() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__47; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__47; 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_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__49() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__49() { _start: { lean_object* x_1; @@ -9796,17 +9856,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_notFollowedBy_fo return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__50() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__50() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__49; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__49; 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_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__51() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__51() { _start: { lean_object* x_1; @@ -9814,17 +9874,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_optional_formatt return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__52() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__52() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__51; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__51; 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_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__53() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__53() { _start: { lean_object* x_1; @@ -9832,17 +9892,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_withPosition_for return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__54() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__54() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__53; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__53; 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_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__55() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__55() { _start: { lean_object* x_1; @@ -9850,17 +9910,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_interpolatedStr_ return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__56() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__56() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__55; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__55; 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_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__57() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__57() { _start: { lean_object* x_1; @@ -9868,17 +9928,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_sepBy_formatter) return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__58() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__58() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__57; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__57; 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_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__59() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__59() { _start: { lean_object* x_1; @@ -9886,17 +9946,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_sepBy1_formatter return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__60() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__60() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__59; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__59; 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_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__61() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__61() { _start: { lean_object* x_1; @@ -9904,17 +9964,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_orelse_formatter return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__62() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__62() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__61; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__61; 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_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__63() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__63() { _start: { lean_object* x_1; @@ -9922,23 +9982,23 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatte return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__64() { +static lean_object* _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__64() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__63; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__63; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470_(lean_object* x_1) { +lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_PrettyPrinter_Formatter_formatterAliasesRef; x_3 = l___kind_term____x40_Init_Notation___hyg_12477____closed__5; -x_4 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__2; +x_4 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__2; x_5 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_3, x_4, x_1); if (lean_obj_tag(x_5) == 0) { @@ -9947,7 +10007,7 @@ x_6 = lean_ctor_get(x_5, 1); lean_inc(x_6); lean_dec(x_5); x_7 = l_Array___kind_term____x40_Init_Data_Array_Subarray___hyg_510____closed__13; -x_8 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__4; +x_8 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__4; x_9 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_7, x_8, x_6); if (lean_obj_tag(x_9) == 0) { @@ -9956,7 +10016,7 @@ x_10 = lean_ctor_get(x_9, 1); lean_inc(x_10); lean_dec(x_9); x_11 = l_rawNatLit___closed__8; -x_12 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__9; +x_12 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__9; x_13 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_11, x_12, x_10); if (lean_obj_tag(x_13) == 0) { @@ -9964,8 +10024,8 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; x_14 = lean_ctor_get(x_13, 1); lean_inc(x_14); lean_dec(x_13); -x_15 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__11; -x_16 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__16; +x_15 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__11; +x_16 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__16; x_17 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_15, x_16, x_14); if (lean_obj_tag(x_17) == 0) { @@ -9974,7 +10034,7 @@ x_18 = lean_ctor_get(x_17, 1); lean_inc(x_18); lean_dec(x_17); x_19 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1890____closed__9; -x_20 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__21; +x_20 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__21; x_21 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_19, x_20, x_18); if (lean_obj_tag(x_21) == 0) { @@ -9983,7 +10043,7 @@ x_22 = lean_ctor_get(x_21, 1); lean_inc(x_22); lean_dec(x_21); x_23 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1890____closed__12; -x_24 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__26; +x_24 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__26; x_25 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_23, x_24, x_22); if (lean_obj_tag(x_25) == 0) { @@ -9992,7 +10052,7 @@ x_26 = lean_ctor_get(x_25, 1); lean_inc(x_26); lean_dec(x_25); x_27 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1890____closed__15; -x_28 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__31; +x_28 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__31; x_29 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_27, x_28, x_26); if (lean_obj_tag(x_29) == 0) { @@ -10001,7 +10061,7 @@ x_30 = lean_ctor_get(x_29, 1); lean_inc(x_30); lean_dec(x_29); x_31 = l_Lean_identKind___closed__2; -x_32 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__36; +x_32 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__36; x_33 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_31, x_32, x_30); if (lean_obj_tag(x_33) == 0) { @@ -10010,7 +10070,7 @@ x_34 = lean_ctor_get(x_33, 1); lean_inc(x_34); lean_dec(x_33); x_35 = l_Lean_Parser_Tactic_intro___closed__12; -x_36 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__38; +x_36 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__38; x_37 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_35, x_36, x_34); if (lean_obj_tag(x_37) == 0) { @@ -10019,7 +10079,7 @@ x_38 = lean_ctor_get(x_37, 1); lean_inc(x_38); lean_dec(x_37); x_39 = l_Lean_Parser_Tactic_inductionAlts___closed__10; -x_40 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__40; +x_40 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__40; x_41 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_39, x_40, x_38); if (lean_obj_tag(x_41) == 0) { @@ -10028,7 +10088,7 @@ x_42 = lean_ctor_get(x_41, 1); lean_inc(x_42); lean_dec(x_41); x_43 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1890____closed__27; -x_44 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__42; +x_44 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__42; x_45 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_43, x_44, x_42); if (lean_obj_tag(x_45) == 0) { @@ -10037,7 +10097,7 @@ x_46 = lean_ctor_get(x_45, 1); lean_inc(x_46); lean_dec(x_45); x_47 = l_Lean_Parser_Tactic_generalize___closed__6; -x_48 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__44; +x_48 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__44; x_49 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_47, x_48, x_46); if (lean_obj_tag(x_49) == 0) { @@ -10046,7 +10106,7 @@ x_50 = lean_ctor_get(x_49, 1); lean_inc(x_50); lean_dec(x_49); x_51 = l_myMacro____x40_Init_Notation___hyg_12963____closed__4; -x_52 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__46; +x_52 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__46; x_53 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_51, x_52, x_50); if (lean_obj_tag(x_53) == 0) { @@ -10055,7 +10115,7 @@ x_54 = lean_ctor_get(x_53, 1); lean_inc(x_54); lean_dec(x_53); x_55 = l_myMacro____x40_Init_Notation___hyg_12835____closed__8; -x_56 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__48; +x_56 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__48; x_57 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_55, x_56, x_54); if (lean_obj_tag(x_57) == 0) { @@ -10064,7 +10124,7 @@ x_58 = lean_ctor_get(x_57, 1); lean_inc(x_58); lean_dec(x_57); x_59 = l_myMacro____x40_Init_Notation___hyg_13407____closed__4; -x_60 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__50; +x_60 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__50; x_61 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_59, x_60, x_58); if (lean_obj_tag(x_61) == 0) { @@ -10073,7 +10133,7 @@ x_62 = lean_ctor_get(x_61, 1); lean_inc(x_62); lean_dec(x_61); x_63 = l_myMacro____x40_Init_Notation___hyg_13091____closed__4; -x_64 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__52; +x_64 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__52; x_65 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_63, x_64, x_62); if (lean_obj_tag(x_65) == 0) { @@ -10082,7 +10142,7 @@ x_66 = lean_ctor_get(x_65, 1); lean_inc(x_66); lean_dec(x_65); x_67 = l_Lean_Parser_Tactic_location___closed__4; -x_68 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__54; +x_68 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__54; x_69 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_67, x_68, x_66); if (lean_obj_tag(x_69) == 0) { @@ -10091,7 +10151,7 @@ x_70 = lean_ctor_get(x_69, 1); lean_inc(x_70); lean_dec(x_69); x_71 = l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__10; -x_72 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__56; +x_72 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__56; x_73 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_71, x_72, x_70); if (lean_obj_tag(x_73) == 0) { @@ -10100,7 +10160,7 @@ x_74 = lean_ctor_get(x_73, 1); lean_inc(x_74); lean_dec(x_73); x_75 = l___kind_term____x40_Init_Notation___hyg_11713____closed__5; -x_76 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__58; +x_76 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__58; x_77 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_75, x_76, x_74); if (lean_obj_tag(x_77) == 0) { @@ -10109,7 +10169,7 @@ x_78 = lean_ctor_get(x_77, 1); lean_inc(x_78); lean_dec(x_77); x_79 = l_Lean_Parser_Tactic_inductionAlts___closed__8; -x_80 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__60; +x_80 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__60; x_81 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_79, x_80, x_78); if (lean_obj_tag(x_81) == 0) { @@ -10118,7 +10178,7 @@ x_82 = lean_ctor_get(x_81, 1); lean_inc(x_82); lean_dec(x_81); x_83 = l_myMacro____x40_Init_Notation___hyg_13219____closed__6; -x_84 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__62; +x_84 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__62; x_85 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_83, x_84, x_82); if (lean_obj_tag(x_85) == 0) { @@ -10127,7 +10187,7 @@ x_86 = lean_ctor_get(x_85, 1); lean_inc(x_86); lean_dec(x_85); x_87 = l_rawNatLit___closed__4; -x_88 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__64; +x_88 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__64; x_89 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_87, x_88, x_86); if (lean_obj_tag(x_89) == 0) { @@ -12167,7 +12227,7 @@ static lean_object* _init_l_Lean_PrettyPrinter_formatCommand___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_categoryParser_formatter), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -12182,7 +12242,7 @@ x_6 = l_Lean_PrettyPrinter_format(x_5, x_1, x_2, x_3, x_4); return x_6; } } -lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3051_(lean_object* x_1) { +lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3081_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -12376,140 +12436,140 @@ l_Lean_PrettyPrinter_Formatter_interpolatedStr_formatter___closed__1 = _init_l_L lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_interpolatedStr_formatter___closed__1); l_Lean_PrettyPrinter_Formatter_interpolatedStr_formatter___boxed__const__1 = _init_l_Lean_PrettyPrinter_Formatter_interpolatedStr_formatter___boxed__const__1(); lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_interpolatedStr_formatter___boxed__const__1); -res = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2404_(lean_io_mk_world()); +res = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2434_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_PrettyPrinter_Formatter_formatterAliasesRef = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_formatterAliasesRef); lean_dec_ref(res); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__1 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__1(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__1); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__2 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__2(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__2); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__3 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__3(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__3); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__4 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__4(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__4); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__5 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__5(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__5); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__6 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__6(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__6); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__7 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__7(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__7); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__8 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__8(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__8); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__9 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__9(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__9); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__10 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__10(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__10); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__11 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__11(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__11); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__12 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__12(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__12); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__13 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__13(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__13); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__14 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__14(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__14); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__15 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__15(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__15); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__16 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__16(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__16); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__17 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__17(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__17); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__18 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__18(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__18); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__19 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__19(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__19); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__20 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__20(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__20); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__21 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__21(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__21); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__22 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__22(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__22); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__23 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__23(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__23); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__24 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__24(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__24); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__25 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__25(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__25); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__26 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__26(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__26); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__27 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__27(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__27); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__28 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__28(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__28); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__29 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__29(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__29); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__30 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__30(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__30); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__31 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__31(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__31); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__32 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__32(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__32); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__33 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__33(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__33); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__34 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__34(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__34); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__35 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__35(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__35); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__36 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__36(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__36); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__37 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__37(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__37); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__38 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__38(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__38); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__39 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__39(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__39); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__40 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__40(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__40); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__41 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__41(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__41); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__42 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__42(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__42); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__43 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__43(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__43); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__44 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__44(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__44); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__45 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__45(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__45); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__46 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__46(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__46); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__47 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__47(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__47); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__48 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__48(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__48); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__49 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__49(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__49); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__50 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__50(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__50); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__51 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__51(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__51); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__52 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__52(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__52); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__53 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__53(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__53); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__54 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__54(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__54); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__55 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__55(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__55); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__56 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__56(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__56); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__57 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__57(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__57); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__58 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__58(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__58); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__59 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__59(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__59); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__60 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__60(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__60); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__61 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__61(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__61); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__62 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__62(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__62); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__63 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__63(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__63); -l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__64 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__64(); -lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470____closed__64); -res = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2470_(lean_io_mk_world()); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__1 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__1); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__2 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__2); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__3 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__3); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__4 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__4(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__4); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__5 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__5(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__5); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__6 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__6(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__6); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__7 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__7(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__7); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__8 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__8(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__8); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__9 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__9(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__9); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__10 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__10(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__10); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__11 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__11(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__11); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__12 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__12(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__12); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__13 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__13(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__13); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__14 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__14(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__14); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__15 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__15(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__15); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__16 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__16(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__16); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__17 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__17(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__17); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__18 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__18(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__18); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__19 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__19(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__19); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__20 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__20(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__20); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__21 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__21(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__21); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__22 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__22(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__22); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__23 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__23(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__23); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__24 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__24(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__24); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__25 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__25(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__25); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__26 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__26(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__26); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__27 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__27(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__27); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__28 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__28(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__28); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__29 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__29(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__29); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__30 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__30(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__30); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__31 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__31(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__31); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__32 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__32(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__32); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__33 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__33(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__33); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__34 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__34(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__34); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__35 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__35(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__35); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__36 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__36(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__36); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__37 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__37(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__37); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__38 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__38(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__38); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__39 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__39(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__39); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__40 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__40(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__40); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__41 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__41(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__41); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__42 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__42(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__42); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__43 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__43(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__43); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__44 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__44(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__44); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__45 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__45(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__45); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__46 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__46(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__46); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__47 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__47(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__47); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__48 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__48(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__48); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__49 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__49(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__49); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__50 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__50(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__50); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__51 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__51(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__51); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__52 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__52(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__52); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__53 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__53(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__53); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__54 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__54(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__54); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__55 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__55(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__55); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__56 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__56(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__56); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__57 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__57(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__57); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__58 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__58(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__58); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__59 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__59(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__59); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__60 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__60(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__60); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__61 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__61(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__61); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__62 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__62(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__62); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__63 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__63(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__63); +l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__64 = _init_l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__64(); +lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500____closed__64); +res = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2500_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_PrettyPrinter_format___closed__1 = _init_l_Lean_PrettyPrinter_format___closed__1(); @@ -12526,7 +12586,7 @@ l_Lean_PrettyPrinter_formatTerm___closed__1 = _init_l_Lean_PrettyPrinter_formatT lean_mark_persistent(l_Lean_PrettyPrinter_formatTerm___closed__1); l_Lean_PrettyPrinter_formatCommand___closed__1 = _init_l_Lean_PrettyPrinter_formatCommand___closed__1(); lean_mark_persistent(l_Lean_PrettyPrinter_formatCommand___closed__1); -res = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3051_(lean_io_mk_world()); +res = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_3081_(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/PrettyPrinter/Parenthesizer.c b/stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c index 2df427ae15..5ae17a5ed6 100644 --- a/stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c +++ b/stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c @@ -17,39 +17,37 @@ lean_object* l_List_reverse___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__14; lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1890____closed__51; -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__14; lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitToken___spec__1___boxed(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__46; lean_object* l_Lean_ParserCompiler_CombinatorAttribute_runDeclFor___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Name_toString___closed__1; -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__28; lean_object* l_Lean_PrettyPrinter_Parenthesizer_ite(lean_object*, lean_object*); lean_object* l_Lean_addMessageContextPartial___at_Lean_Core_instAddMessageContextCoreM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_numLitNoAntiquot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___closed__1; -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__5; size_t l_USize_add(size_t, size_t); lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___lambda__1___closed__1; -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__30; lean_object* l_Lean_PrettyPrinter_Parenthesizer_interpretParserDescr___elambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkNoImmediateColon_parenthesizer___rarg(lean_object*); extern lean_object* l_Lean_scientificLitKind___closed__1; lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__18; 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_PrettyPrinter_mkCategoryParenthesizerAttribute___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* l_Lean_PrettyPrinter_categoryParenthesizerAttribute; lean_object* l_ReaderT_pure___at_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_nonReservedSymbol_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__44; extern lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__10; lean_object* l_Lean_PrettyPrinter_Parenthesizer_pushNone_parenthesizer(lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__50; lean_object* l_Lean_PrettyPrinter_Parenthesizer_categoryParser_parenthesizer_match__1(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__1; lean_object* l_Lean_PrettyPrinter_parenthesize___closed__1; lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___lambda__1___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__3; extern lean_object* l_Lean_nullKind; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__2; extern lean_object* l_Lean_identKind___closed__1; extern lean_object* l_Lean_Parser_Tactic_generalize___closed__6; lean_object* lean_name_mk_string(lean_object*, lean_object*); @@ -60,10 +58,9 @@ lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_io_error_to_string(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize_match__4___rarg(lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__34; lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___lambda__1___closed__4; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__25; lean_object* l_Lean_PrettyPrinter_Parenthesizer_lookahead_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__48; extern lean_object* l___kind_term____x40_Init_Notation___hyg_11713____closed__5; lean_object* l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -81,13 +78,14 @@ extern lean_object* l_Lean_List_format___rarg___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_Traverser_up(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__1___boxed(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__8; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___closed__7; lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__10; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__3; extern lean_object* l_Lean_identKind___closed__2; -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__16; lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitToken___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_interpretParserDescr___elambda__6___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_unicodeSymbol_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -97,43 +95,45 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_unicodeSymbol_parenthesizer___ra lean_object* l_Lean_PrettyPrinter_Parenthesizer_Context_cat___default; lean_object* l_Lean_PrettyPrinter_Parenthesizer_rawIdent_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkTailWs_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__14; lean_object* l_List_forM___at_Lean_PrettyPrinter_Parenthesizer_sepBy_parenthesizer___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__6; extern lean_object* l_Array_empty___closed__1; lean_object* l_List_forM___at_Lean_PrettyPrinter_Parenthesizer_sepBy_parenthesizer___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_environment_find(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__5; lean_object* l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__4___boxed(lean_object*); uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__28; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__7; lean_object* lean_st_ref_get(lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2997_(lean_object*); +lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3027_(lean_object*); lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__46; extern lean_object* l_Lean_instInhabitedParserDescr___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_throwError___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_charLitKind___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_instCoeArrowParenthesizerParenthesizerParenthesizerAliasValue(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__30; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___boxed(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_PrettyPrinter_Parenthesizer_level_parenthesizer___closed__3; -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__60; -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__47; lean_object* l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_withoutPosition_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__7; extern lean_object* l_rawNatLit___closed__8; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__20; -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__64; lean_object* l_Lean_PrettyPrinter_Parenthesizer_throwBacktrack___rarg(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__34; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__15; lean_object* l_Lean_PrettyPrinter_ParenthesizerM_orelse(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__50; extern lean_object* l_myMacro____x40_Init_Notation___hyg_11163____closed__11; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkLineEq_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitToken(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__18; lean_object* l_Lean_PrettyPrinter_Parenthesizer_State_trailCat___default; lean_object* l_Lean_Syntax_MonadTraverser_goDown___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__33; lean_object* l_Lean_PrettyPrinter_Parenthesizer_nameLitNoAntiquot_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__10; lean_object* lean_array_push(lean_object*, lean_object*); @@ -146,6 +146,7 @@ extern lean_object* l_rawNatLit___closed__4; lean_object* l_List_range(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_toggleInsideQuot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__48; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkOutsideQuot_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_mkCombinatorParenthesizerAttribute___closed__1; lean_object* l_Lean_PrettyPrinter_parenthesizeCommand(lean_object*, lean_object*, lean_object*, lean_object*); @@ -153,37 +154,40 @@ lean_object* l_Lean_Syntax_setTailInfo(lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_13219____closed__6; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize_match__2(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_State_trailPrec___default; -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__44; lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___closed__8; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkPrec_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_parenthesizeTerm(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkStackTop_parenthesizer___rarg(lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_skip_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_numLitNoAntiquot_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_notFollowedByCategoryToken_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__16; lean_object* l_Lean_PrettyPrinter_Parenthesizer_scientificLitNoAntiquot_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_instOrElseParenthesizerM(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_symbol_parenthesizer(lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__15; lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_orelse___closed__5; lean_object* l_Lean_PrettyPrinter_Parenthesizer_lookahead_parenthesizer___rarg(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__63; lean_object* l_Lean_Syntax_setHeadInfo(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitArgs___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__3; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__7; lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__10; lean_object* l_Lean_PrettyPrinter_runForNodeKind___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__18; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__15; lean_object* l_Lean_PrettyPrinter_Parenthesizer_errorAtSavedPos_parenthesizer___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_parenthesizerForKind___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkPrec_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_unicodeSymbol_parenthesizer___boxed(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__49; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__45; lean_object* l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer_match__1(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__11; @@ -193,55 +197,54 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer(lean_object lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_registerAlias(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toStringWithSep(lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__23; lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__5; -extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_interpretParserDescr_x27___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__2(lean_object*); lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_skip_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__40; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__17; lean_object* l_ReaderT_map___at_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__38; lean_object* l_Lean_Parser_registerAliasCore___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__21; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3___closed__3; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__9; lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__2(lean_object*); lean_object* lean_pretty_printer_parenthesizer_interpret_parser_descr(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_parserOfStack_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__3; lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___lambda__1___closed__1; lean_object* l_Lean_PrettyPrinter_parenthesize___closed__3; -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__36; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__31; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkWsBefore_parenthesizer___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__2(lean_object*); extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1161____closed__33; +extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__4; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__59; lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute; lean_object* l_Lean_PrettyPrinter_Parenthesizer_error_parenthesizer___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_setExpected_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__5; -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__2; lean_object* l_Lean_Syntax_Traverser_setCur(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__36; extern lean_object* l_Lean_Parser_Tactic_intro___closed__12; lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__61; lean_object* l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__39; lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___kind_term____x40_Init_Notation___hyg_19____closed__14; lean_object* l_Lean_PrettyPrinter_Parenthesizer_parenthesizerForKindUnsafe___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_rawIdent_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__2; lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute_match__1(lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__35; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer___lambda__1___closed__1; lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___lambda__1___closed__2; extern lean_object* l_Lean_Option_format___rarg___closed__1; -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__29; lean_object* lean_st_ref_take(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__23; lean_object* l_Lean_PrettyPrinter_Parenthesizer_interpretParserDescr___elambda__6(lean_object*, uint8_t); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__25; lean_object* l_Lean_PrettyPrinter_Parenthesizer_identEq_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -251,24 +254,26 @@ extern lean_object* l_Lean_choiceKind___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_scientificLitNoAntiquot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_categoryParser_parenthesizer_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_suppressInsideQuot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__4; lean_object* l_Lean_PrettyPrinter_ParenthesizerM_orelse___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_ite___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_parenthesize___closed__5; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__41; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__13; lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__6; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkWsBefore_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__6; -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__45; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__64; lean_object* l_Lean_PrettyPrinter_Parenthesizer_charLitNoAntiquot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_strLitNoAntiquot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getHeadInfo(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__4; lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute_match__1(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__60; lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer___closed__1; -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__40; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkWsBefore_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__9; -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__27; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__47; lean_object* l_Lean_PrettyPrinter_Parenthesizer_withForbidden_parenthesizer(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__13; lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__2(lean_object*); @@ -283,11 +288,10 @@ extern lean_object* l_Lean_strLitKind___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_categoryParserOfStack_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__1(lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__59; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize_match__3(lean_object*); extern lean_object* l_Lean_KeyedDeclsAttribute_instInhabitedKeyedDeclsAttribute___closed__1; -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__31; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__39; lean_object* l_instInhabited___rarg(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_setExpected_parenthesizer___boxed(lean_object*); @@ -301,6 +305,7 @@ extern lean_object* l_Lean_strLitKind___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_charLitNoAntiquot_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goDown___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_withoutForbidden_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__35; lean_object* lean_st_mk_ref(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_interpretParserDescr___elambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); @@ -313,15 +318,14 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_13407____closed__4; lean_object* l_Lean_PrettyPrinter_Parenthesizer_nonReservedSymbol_parenthesizer___boxed(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___closed__11; lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__2___boxed(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__6; lean_object* l_Lean_ParserCompiler_registerCombinatorAttribute(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___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_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__61; lean_object* l_Lean_Syntax_MonadTraverser_setCur___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__17; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__38; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__21; lean_object* l_Lean_KeyedDeclsAttribute_getValues___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__13; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkLineEq_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__41; lean_object* l_Lean_Option_format___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__9(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkColGe_parenthesizer___rarg(lean_object*); extern lean_object* l_Lean_numLitKind___closed__2; @@ -330,7 +334,6 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__5; extern lean_object* l_Lean_Parser_Tactic_rwRuleSeq___closed__4; extern lean_object* l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___closed__4; -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__11; lean_object* l_Lean_attrParamSyntaxToIdentifier(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__11; lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__1___boxed(lean_object*); @@ -350,13 +353,17 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_54____closed__2; lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_KernelException_toMessageData___closed__15; lean_object* l_Lean_PrettyPrinter_Parenthesizer_pushNone_parenthesizer___boxed(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__32; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__10; lean_object* l_Lean_PrettyPrinter_Parenthesizer_symbol_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__56; lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_eoi_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__1(lean_object*); extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1890____closed__15; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__12; lean_object* l_Lean_PrettyPrinter_Parenthesizer_eoi_parenthesizer___rarg(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__20; extern lean_object* l_Lean_Parser_Tactic_paren___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_parenthesizeCategoryCore___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkOutsideQuot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); @@ -384,28 +391,27 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_throwBacktrack___rarg___closed__ extern lean_object* l___kind_term____x40_Init_Notation___hyg_11713____closed__6; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkNoWsBefore_parenthesizer___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__51; lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute(lean_object*); lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkNoImmediateColon_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__4; extern lean_object* l_Lean_nullKind___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_parenthesizeCategoryCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__2; lean_object* l_Lean_fmt___at_Lean_ppTerm___spec__1(lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__57; lean_object* l_Lean_Syntax_Traverser_fromSyntax(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_interpretParserDescr___elambda__6___boxed(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__11; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize_match__4(lean_object*); lean_object* l_Lean_PrettyPrinter_mkCombinatorParenthesizerAttribute___closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkNoWsBefore_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__19; lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__2; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_pushNone_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_getConstAlias___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_pretty_printer_parenthesizer_interpret_parser_descr(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__8; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__19; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__9; lean_object* l_Lean_PrettyPrinter_Parenthesizer_identEq_parenthesizer(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_interpretParserDescr___elambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -417,28 +423,24 @@ lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenth lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkNoWsBefore_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_getUnaryAlias___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__26; lean_object* l_Lean_Syntax_MonadTraverser_setCur___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__19; lean_object* l_ReaderT_bind___at_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___spec__1(lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__12; lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitToken___spec__1(lean_object*); lean_object* l_Lean_Syntax_Traverser_down(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_instCoeArrowParenthesizerArrowParenthesizerParenthesizerParenthesizerAliasValue(lean_object*); lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429_(lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2363_(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459_(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2393_(lean_object*); extern lean_object* l_Lean_ParserCompiler_CombinatorAttribute_instInhabitedCombinatorAttribute___closed__1; lean_object* l_Lean_Syntax_MonadTraverser_goRight___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__6___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1890____closed__12; extern lean_object* l___kind_term____x40_Init_Notation___hyg_12477____closed__5; -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__32; lean_object* l_Lean_PrettyPrinter_Parenthesizer_setExpected_parenthesizer(lean_object*); uint8_t l_Lean_Parser_isParserCategory(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_combinatorParenthesizerAttribute; -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__10; lean_object* l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer___lambda__2(lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -465,28 +467,27 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_addPrecCheck(lean_object*, lean_ lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__56; lean_object* l_Lean_PrettyPrinter_Parenthesizer_interpretParserDescr___elambda__5___boxed(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__2; extern lean_object* l_Lean_Format_paren___closed__2; lean_object* l_ReaderT_pure___at_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___spec__1(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__57; lean_object* l_Lean_PrettyPrinter_Parenthesizer_withForbidden_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__51; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkNoImmediateColon_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_identNoAntiquot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__1; lean_object* l_Lean_PrettyPrinter_parenthesize_match__1(lean_object*); lean_object* l_ReaderT_bind___at_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Format_paren___closed__4; -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__58; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___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_PrettyPrinter_Parenthesizer_checkInsideQuot_parenthesizer___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_parenthesizeCommand___closed__1; lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__9; -lean_object* l_IO_mkRef___at_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2363____spec__1(lean_object*, lean_object*); lean_object* l_ReaderT_pure___at_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__17; lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize_match__5___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__27; lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___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_PrettyPrinter_mkParenthesizerAttribute___lambda__1___closed__5; @@ -499,6 +500,7 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_interpretParserDescr___elambda__ lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_parenthesizeCategoryCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize_match__3___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__24; lean_object* l_Lean_PrettyPrinter_Parenthesizer_interpretParserDescr_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* l_Lean_PrettyPrinter_Parenthesizer_nonReservedSymbol_parenthesizer(lean_object*, uint8_t); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkInsideQuot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); @@ -506,7 +508,6 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitArgs___lambda__1___boxed(le lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___closed__1; lean_object* l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__4(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_trailingNode_parenthesizer___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__43; extern lean_object* l_Array___kind_term____x40_Init_Data_Array_Subarray___hyg_510____closed__13; lean_object* l_Nat_forM_loop___at_Lean_PrettyPrinter_Parenthesizer_parenthesizeCategoryCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_getIdx___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -514,10 +515,11 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_trailingNode_parenthesizer___lam lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_nameLitNoAntiquot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_throwError(lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__20; extern lean_object* l_Lean_Option_format___rarg___closed__3; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__52; lean_object* l_Lean_PrettyPrinter_parenthesize_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__16; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__22; lean_object* l_Lean_PrettyPrinter_Parenthesizer_notFollowedBy_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getTailInfo(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_11163____closed__7; @@ -528,6 +530,7 @@ extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_1508 lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkColGt_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_forM_loop___at_Lean_PrettyPrinter_Parenthesizer_many_parenthesizer___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_getIdx___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__1___boxed(lean_object*); +lean_object* l_IO_mkRef___at_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2393____spec__1(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_lookahead_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -535,20 +538,19 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__4___ lean_object* l_Lean_PrettyPrinter_mkCombinatorParenthesizerAttribute(lean_object*); lean_object* l_Lean_throwError___at_Lean_Core_withIncRecDepth___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__42; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__54; lean_object* l_Lean_Syntax_MonadTraverser_goRight___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_skip_parenthesizer___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_parenthesizerAliasesRef; -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__53; lean_object* l_Lean_PrettyPrinter_Parenthesizer_instCoeParenthesizerParenthesizerAliasValue(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_parenthesizeCategoryCore___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__1(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_trailingNode_parenthesizer___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__37; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__29; lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM_match__1(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkLineEq_parenthesizer___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer_match__1(lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__55; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__62; lean_object* l_Lean_indentD(lean_object*); extern lean_object* l_Substring_splitOn_loop___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_parenthesizerForKind(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -574,43 +576,41 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_interpretParserDescr___elambda__ lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize_match__1(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_interpretParserDescr_match__1(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_State_minPrec___default; -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__7; lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_strLitNoAntiquot_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__49; lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_notFollowedBy_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_trailingNode_parenthesizer___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkColGe_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_trailingNode_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__24; lean_object* l_Lean_KeyedDeclsAttribute_init___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__63; extern lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__8; lean_object* l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer___boxed__const__1; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__43; lean_object* l_Nat_min(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_many1_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__6; lean_object* l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1890____closed__9; -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__33; extern lean_object* l_Lean_PrettyPrinter_backtrackExceptionId; lean_object* l_Lean_PrettyPrinter_parenthesizeTerm___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__3; lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__6; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkColGt_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_11163____closed__21; -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__22; lean_object* l_Lean_Syntax_MonadTraverser_getIdx___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__53; extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1890____closed__27; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__42; lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__55; lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__1; lean_object* l_ReaderT_bind___at_Lean_PrettyPrinter_Parenthesizer_trailingNode_parenthesizer___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Syntax_Traverser_left(lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_parenthesize___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkInsideQuot_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__52; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__37; lean_object* l_Lean_PrettyPrinter_Parenthesizer_categoryParserOfStack_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_many_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_mkCombinatorParenthesizerAttribute___closed__2; @@ -618,8 +618,7 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3___ lean_object* l_Nat_forM_loop___at_Lean_PrettyPrinter_Parenthesizer_many_parenthesizer___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkTailWs_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute(lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__54; -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__62; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_parserOfStack_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize_match__5(lean_object*); extern lean_object* l_instInhabitedPUnit; lean_object* l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer___closed__1; @@ -632,8 +631,10 @@ lean_object* l_Lean_PrettyPrinter_parenthesize___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_addPrecCheck___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_interpolatedStrLitKind; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__26; extern lean_object* l_Lean_MetavarContext_MkBinding_mkBinding___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_notFollowedBy_parenthesizer___rarg(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__58; lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkColGt_parenthesizer___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_throwBacktrack(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -650,6 +651,7 @@ uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_unicodeSymbol_parenthesizer(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__12; static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_Context_cat___default() { _start: { @@ -7646,6 +7648,52 @@ lean_dec(x_1); return x_8; } } +lean_object* l_Lean_PrettyPrinter_Parenthesizer_parserOfStack_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, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_8 = lean_st_ref_get(x_6, x_7); +x_9 = lean_ctor_get(x_8, 1); +lean_inc(x_9); +lean_dec(x_8); +x_10 = lean_st_ref_get(x_4, 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_13, 1); +lean_inc(x_14); +x_15 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_14); +lean_dec(x_14); +x_16 = lean_ctor_get(x_13, 2); +lean_inc(x_16); +lean_dec(x_13); +x_17 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__1(x_16); +lean_dec(x_16); +x_18 = lean_nat_sub(x_17, x_1); +lean_dec(x_17); +x_19 = l_Lean_Syntax_getArg(x_15, x_18); +lean_dec(x_18); +lean_dec(x_15); +x_20 = l_Lean_Syntax_getKind(x_19); +x_21 = l_Lean_PrettyPrinter_Parenthesizer_parenthesizerForKindUnsafe(x_20, x_3, x_4, x_5, x_6, x_12); +return x_21; +} +} +lean_object* l_Lean_PrettyPrinter_Parenthesizer_parserOfStack_parenthesizer___boxed(lean_object* x_1, 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_PrettyPrinter_Parenthesizer_parserOfStack_parenthesizer(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; +} +} lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer_match__1___rarg(lean_object* x_1, lean_object* x_2) { _start: { @@ -10360,7 +10408,7 @@ x_10 = l_Lean_PrettyPrinter_Parenthesizer_ite___rarg(x_9, x_2, x_3, x_4, x_5, x_ return x_10; } } -lean_object* l_IO_mkRef___at_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2363____spec__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_IO_mkRef___at_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2393____spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; @@ -10385,12 +10433,12 @@ return x_7; } } } -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2363_(lean_object* x_1) { +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2393_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; x_2 = lean_box(0); -x_3 = l_IO_mkRef___at_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2363____spec__1(x_2, x_1); +x_3 = l_IO_mkRef___at_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2393____spec__1(x_2, x_1); return x_3; } } @@ -10430,7 +10478,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__1() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__1() { _start: { lean_object* x_1; @@ -10438,17 +10486,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_checkWsBefor return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__2() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__1; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____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_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__3() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__3() { _start: { lean_object* x_1; @@ -10456,17 +10504,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_checkNoWsBef return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__4() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__3; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____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_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__5() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__5() { _start: { lean_object* x_1; lean_object* x_2; @@ -10476,12 +10524,12 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__6() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__6() { _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_numLitKind___closed__1; -x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__5; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__5; x_3 = 1; x_4 = lean_box(x_3); x_5 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_mkAntiquot_parenthesizer_x27___boxed), 8, 3); @@ -10491,7 +10539,7 @@ lean_closure_set(x_5, 2, x_4); return x_5; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__7() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__7() { _start: { lean_object* x_1; @@ -10499,29 +10547,29 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_numLitNoAnti return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__8() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__6; -x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__7; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__6; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__7; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_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_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__9() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__8; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__8; 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_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__10() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__10() { _start: { lean_object* x_1; @@ -10529,17 +10577,17 @@ x_1 = lean_mk_string("scientific"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__11() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__10; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__10; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__12() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__12() { _start: { lean_object* x_1; lean_object* x_2; @@ -10549,12 +10597,12 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__13() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__13() { _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_scientificLitKind___closed__1; -x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__12; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__12; x_3 = 1; x_4 = lean_box(x_3); x_5 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_mkAntiquot_parenthesizer_x27___boxed), 8, 3); @@ -10564,7 +10612,7 @@ lean_closure_set(x_5, 2, x_4); return x_5; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__14() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__14() { _start: { lean_object* x_1; @@ -10572,29 +10620,29 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_scientificLi return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__15() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__13; -x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__14; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__13; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__14; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_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_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__16() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__16() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__15; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____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_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__17() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__17() { _start: { lean_object* x_1; lean_object* x_2; @@ -10604,12 +10652,12 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__18() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__18() { _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_strLitKind___closed__1; -x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__17; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__17; x_3 = 1; x_4 = lean_box(x_3); x_5 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_mkAntiquot_parenthesizer_x27___boxed), 8, 3); @@ -10619,7 +10667,7 @@ lean_closure_set(x_5, 2, x_4); return x_5; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__19() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__19() { _start: { lean_object* x_1; @@ -10627,29 +10675,29 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_strLitNoAnti return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__20() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__20() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__18; -x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__19; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__18; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__19; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_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_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__21() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__21() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__20; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__20; 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_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__22() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__22() { _start: { lean_object* x_1; lean_object* x_2; @@ -10659,12 +10707,12 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__23() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__23() { _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_charLitKind___closed__1; -x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__22; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__22; x_3 = 1; x_4 = lean_box(x_3); x_5 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_mkAntiquot_parenthesizer_x27___boxed), 8, 3); @@ -10674,7 +10722,7 @@ lean_closure_set(x_5, 2, x_4); return x_5; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__24() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__24() { _start: { lean_object* x_1; @@ -10682,29 +10730,29 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_charLitNoAnt return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__25() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__25() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__23; -x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__24; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__23; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__24; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_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_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__26() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__26() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__25; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__25; 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_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__27() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__27() { _start: { lean_object* x_1; lean_object* x_2; @@ -10714,12 +10762,12 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__28() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__28() { _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_nameLitKind___closed__1; -x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__27; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__27; x_3 = 1; x_4 = lean_box(x_3); x_5 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_mkAntiquot_parenthesizer_x27___boxed), 8, 3); @@ -10729,7 +10777,7 @@ lean_closure_set(x_5, 2, x_4); return x_5; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__29() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__29() { _start: { lean_object* x_1; @@ -10737,29 +10785,29 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_nameLitNoAnt return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__30() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__30() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__28; -x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__29; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__28; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__29; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_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_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__31() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__31() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__30; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__30; 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_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__32() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__32() { _start: { lean_object* x_1; lean_object* x_2; @@ -10769,12 +10817,12 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__33() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__33() { _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_identKind___closed__1; -x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__32; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__32; x_3 = 1; x_4 = lean_box(x_3); x_5 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_mkAntiquot_parenthesizer_x27___boxed), 8, 3); @@ -10784,7 +10832,7 @@ lean_closure_set(x_5, 2, x_4); return x_5; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__34() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__34() { _start: { lean_object* x_1; @@ -10792,29 +10840,29 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_identNoAntiq return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__35() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__35() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__33; -x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__34; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__33; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__34; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_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_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__36() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__36() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__35; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__35; 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_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__37() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__37() { _start: { lean_object* x_1; @@ -10822,17 +10870,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_checkColGt_p return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__38() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__38() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__37; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__37; 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_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__39() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__39() { _start: { lean_object* x_1; @@ -10840,17 +10888,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_checkColGe_p return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__40() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__40() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__39; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__39; 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_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__41() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__41() { _start: { lean_object* x_1; @@ -10858,17 +10906,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_lookahead_pa return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__42() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__42() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__41; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__41; 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_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__43() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__43() { _start: { lean_object* x_1; @@ -10876,17 +10924,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_atomic_paren return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__44() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__44() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__43; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__43; 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_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__45() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__45() { _start: { lean_object* x_1; @@ -10894,17 +10942,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_many_parenth return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__46() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__46() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__45; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__45; 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_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__47() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__47() { _start: { lean_object* x_1; @@ -10912,17 +10960,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_many1_parent return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__48() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__48() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__47; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__47; 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_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__49() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__49() { _start: { lean_object* x_1; @@ -10930,17 +10978,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_notFollowedB return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__50() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__50() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__49; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__49; 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_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__51() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__51() { _start: { lean_object* x_1; @@ -10948,17 +10996,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_optional_par return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__52() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__52() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__51; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__51; 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_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__53() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__53() { _start: { lean_object* x_1; @@ -10966,17 +11014,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_withPosition return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__54() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__54() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__53; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__53; 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_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__55() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__55() { _start: { lean_object* x_1; @@ -10984,17 +11032,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_interpolated return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__56() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__56() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__55; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__55; 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_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__57() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__57() { _start: { lean_object* x_1; @@ -11002,17 +11050,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_sepBy_parent return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__58() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__58() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__57; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__57; 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_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__59() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__59() { _start: { lean_object* x_1; @@ -11020,17 +11068,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_sepBy1_paren return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__60() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__60() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__59; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__59; 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_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__61() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__61() { _start: { lean_object* x_1; @@ -11038,17 +11086,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_orelse_paren return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__62() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__62() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__61; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__61; 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_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__63() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__63() { _start: { lean_object* x_1; @@ -11056,23 +11104,23 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_pare return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__64() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__64() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__63; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__63; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429_(lean_object* x_1) { +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_PrettyPrinter_Parenthesizer_parenthesizerAliasesRef; x_3 = l___kind_term____x40_Init_Notation___hyg_12477____closed__5; -x_4 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__2; +x_4 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__2; x_5 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_3, x_4, x_1); if (lean_obj_tag(x_5) == 0) { @@ -11081,7 +11129,7 @@ x_6 = lean_ctor_get(x_5, 1); lean_inc(x_6); lean_dec(x_5); x_7 = l_Array___kind_term____x40_Init_Data_Array_Subarray___hyg_510____closed__13; -x_8 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__4; +x_8 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__4; x_9 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_7, x_8, x_6); if (lean_obj_tag(x_9) == 0) { @@ -11090,7 +11138,7 @@ x_10 = lean_ctor_get(x_9, 1); lean_inc(x_10); lean_dec(x_9); x_11 = l_rawNatLit___closed__8; -x_12 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__9; +x_12 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__9; x_13 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_11, x_12, x_10); if (lean_obj_tag(x_13) == 0) { @@ -11098,8 +11146,8 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; x_14 = lean_ctor_get(x_13, 1); lean_inc(x_14); lean_dec(x_13); -x_15 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__11; -x_16 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__16; +x_15 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__11; +x_16 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__16; x_17 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_15, x_16, x_14); if (lean_obj_tag(x_17) == 0) { @@ -11108,7 +11156,7 @@ x_18 = lean_ctor_get(x_17, 1); lean_inc(x_18); lean_dec(x_17); x_19 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1890____closed__9; -x_20 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__21; +x_20 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__21; x_21 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_19, x_20, x_18); if (lean_obj_tag(x_21) == 0) { @@ -11117,7 +11165,7 @@ x_22 = lean_ctor_get(x_21, 1); lean_inc(x_22); lean_dec(x_21); x_23 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1890____closed__12; -x_24 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__26; +x_24 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__26; x_25 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_23, x_24, x_22); if (lean_obj_tag(x_25) == 0) { @@ -11126,7 +11174,7 @@ x_26 = lean_ctor_get(x_25, 1); lean_inc(x_26); lean_dec(x_25); x_27 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1890____closed__15; -x_28 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__31; +x_28 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__31; x_29 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_27, x_28, x_26); if (lean_obj_tag(x_29) == 0) { @@ -11135,7 +11183,7 @@ x_30 = lean_ctor_get(x_29, 1); lean_inc(x_30); lean_dec(x_29); x_31 = l_Lean_identKind___closed__2; -x_32 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__36; +x_32 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__36; x_33 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_31, x_32, x_30); if (lean_obj_tag(x_33) == 0) { @@ -11144,7 +11192,7 @@ x_34 = lean_ctor_get(x_33, 1); lean_inc(x_34); lean_dec(x_33); x_35 = l_Lean_Parser_Tactic_intro___closed__12; -x_36 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__38; +x_36 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__38; x_37 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_35, x_36, x_34); if (lean_obj_tag(x_37) == 0) { @@ -11153,7 +11201,7 @@ x_38 = lean_ctor_get(x_37, 1); lean_inc(x_38); lean_dec(x_37); x_39 = l_Lean_Parser_Tactic_inductionAlts___closed__10; -x_40 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__40; +x_40 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__40; x_41 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_39, x_40, x_38); if (lean_obj_tag(x_41) == 0) { @@ -11162,7 +11210,7 @@ x_42 = lean_ctor_get(x_41, 1); lean_inc(x_42); lean_dec(x_41); x_43 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1890____closed__27; -x_44 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__42; +x_44 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__42; x_45 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_43, x_44, x_42); if (lean_obj_tag(x_45) == 0) { @@ -11171,7 +11219,7 @@ x_46 = lean_ctor_get(x_45, 1); lean_inc(x_46); lean_dec(x_45); x_47 = l_Lean_Parser_Tactic_generalize___closed__6; -x_48 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__44; +x_48 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__44; x_49 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_47, x_48, x_46); if (lean_obj_tag(x_49) == 0) { @@ -11180,7 +11228,7 @@ x_50 = lean_ctor_get(x_49, 1); lean_inc(x_50); lean_dec(x_49); x_51 = l_myMacro____x40_Init_Notation___hyg_12963____closed__4; -x_52 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__46; +x_52 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__46; x_53 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_51, x_52, x_50); if (lean_obj_tag(x_53) == 0) { @@ -11189,7 +11237,7 @@ x_54 = lean_ctor_get(x_53, 1); lean_inc(x_54); lean_dec(x_53); x_55 = l_myMacro____x40_Init_Notation___hyg_12835____closed__8; -x_56 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__48; +x_56 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__48; x_57 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_55, x_56, x_54); if (lean_obj_tag(x_57) == 0) { @@ -11198,7 +11246,7 @@ x_58 = lean_ctor_get(x_57, 1); lean_inc(x_58); lean_dec(x_57); x_59 = l_myMacro____x40_Init_Notation___hyg_13407____closed__4; -x_60 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__50; +x_60 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__50; x_61 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_59, x_60, x_58); if (lean_obj_tag(x_61) == 0) { @@ -11207,7 +11255,7 @@ x_62 = lean_ctor_get(x_61, 1); lean_inc(x_62); lean_dec(x_61); x_63 = l_myMacro____x40_Init_Notation___hyg_13091____closed__4; -x_64 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__52; +x_64 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__52; x_65 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_63, x_64, x_62); if (lean_obj_tag(x_65) == 0) { @@ -11216,7 +11264,7 @@ x_66 = lean_ctor_get(x_65, 1); lean_inc(x_66); lean_dec(x_65); x_67 = l_Lean_Parser_Tactic_location___closed__4; -x_68 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__54; +x_68 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__54; x_69 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_67, x_68, x_66); if (lean_obj_tag(x_69) == 0) { @@ -11225,7 +11273,7 @@ x_70 = lean_ctor_get(x_69, 1); lean_inc(x_70); lean_dec(x_69); x_71 = l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__10; -x_72 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__56; +x_72 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__56; x_73 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_71, x_72, x_70); if (lean_obj_tag(x_73) == 0) { @@ -11234,7 +11282,7 @@ x_74 = lean_ctor_get(x_73, 1); lean_inc(x_74); lean_dec(x_73); x_75 = l___kind_term____x40_Init_Notation___hyg_11713____closed__5; -x_76 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__58; +x_76 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__58; x_77 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_75, x_76, x_74); if (lean_obj_tag(x_77) == 0) { @@ -11243,7 +11291,7 @@ x_78 = lean_ctor_get(x_77, 1); lean_inc(x_78); lean_dec(x_77); x_79 = l_Lean_Parser_Tactic_inductionAlts___closed__8; -x_80 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__60; +x_80 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__60; x_81 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_79, x_80, x_78); if (lean_obj_tag(x_81) == 0) { @@ -11252,7 +11300,7 @@ x_82 = lean_ctor_get(x_81, 1); lean_inc(x_82); lean_dec(x_81); x_83 = l_myMacro____x40_Init_Notation___hyg_13219____closed__6; -x_84 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__62; +x_84 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__62; x_85 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_83, x_84, x_82); if (lean_obj_tag(x_85) == 0) { @@ -11261,7 +11309,7 @@ x_86 = lean_ctor_get(x_85, 1); lean_inc(x_86); lean_dec(x_85); x_87 = l_rawNatLit___closed__4; -x_88 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__64; +x_88 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__64; x_89 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_87, x_88, x_86); if (lean_obj_tag(x_89) == 0) { @@ -13341,7 +13389,7 @@ static lean_object* _init_l_Lean_PrettyPrinter_parenthesizeCommand___closed__1() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3895____closed__3; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3897____closed__3; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_categoryParser_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -13358,7 +13406,7 @@ x_6 = l_Lean_PrettyPrinter_parenthesize(x_5, x_1, x_2, x_3, x_4); return x_6; } } -lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2997_(lean_object* x_1) { +lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3027_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -13617,140 +13665,140 @@ l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer___closed__1 = _ lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer___closed__1); l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer___boxed__const__1 = _init_l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer___boxed__const__1(); lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer___boxed__const__1); -res = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2363_(lean_io_mk_world()); +res = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2393_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_PrettyPrinter_Parenthesizer_parenthesizerAliasesRef = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_parenthesizerAliasesRef); lean_dec_ref(res); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__1 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__1(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__1); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__2 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__2(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__2); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__3 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__3(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__3); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__4 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__4(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__4); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__5 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__5(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__5); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__6 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__6(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__6); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__7 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__7(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__7); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__8 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__8(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__8); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__9 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__9(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__9); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__10 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__10(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__10); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__11 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__11(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__11); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__12 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__12(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__12); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__13 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__13(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__13); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__14 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__14(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__14); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__15 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__15(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__15); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__16 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__16(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__16); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__17 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__17(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__17); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__18 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__18(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__18); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__19 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__19(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__19); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__20 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__20(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__20); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__21 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__21(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__21); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__22 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__22(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__22); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__23 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__23(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__23); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__24 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__24(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__24); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__25 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__25(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__25); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__26 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__26(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__26); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__27 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__27(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__27); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__28 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__28(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__28); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__29 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__29(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__29); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__30 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__30(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__30); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__31 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__31(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__31); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__32 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__32(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__32); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__33 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__33(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__33); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__34 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__34(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__34); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__35 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__35(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__35); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__36 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__36(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__36); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__37 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__37(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__37); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__38 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__38(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__38); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__39 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__39(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__39); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__40 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__40(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__40); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__41 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__41(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__41); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__42 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__42(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__42); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__43 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__43(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__43); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__44 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__44(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__44); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__45 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__45(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__45); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__46 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__46(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__46); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__47 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__47(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__47); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__48 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__48(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__48); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__49 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__49(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__49); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__50 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__50(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__50); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__51 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__51(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__51); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__52 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__52(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__52); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__53 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__53(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__53); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__54 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__54(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__54); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__55 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__55(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__55); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__56 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__56(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__56); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__57 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__57(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__57); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__58 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__58(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__58); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__59 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__59(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__59); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__60 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__60(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__60); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__61 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__61(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__61); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__62 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__62(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__62); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__63 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__63(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__63); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__64 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__64(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429____closed__64); -res = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2429_(lean_io_mk_world()); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__1 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__1); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__2 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__2); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__3 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__3); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__4 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__4(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__4); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__5 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__5(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__5); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__6 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__6(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__6); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__7 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__7(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__7); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__8 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__8(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__8); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__9 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__9(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__9); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__10 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__10(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__10); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__11 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__11(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__11); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__12 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__12(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__12); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__13 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__13(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__13); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__14 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__14(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__14); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__15 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__15(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__15); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__16 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__16(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__16); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__17 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__17(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__17); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__18 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__18(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__18); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__19 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__19(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__19); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__20 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__20(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__20); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__21 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__21(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__21); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__22 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__22(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__22); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__23 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__23(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__23); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__24 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__24(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__24); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__25 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__25(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__25); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__26 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__26(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__26); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__27 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__27(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__27); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__28 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__28(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__28); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__29 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__29(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__29); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__30 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__30(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__30); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__31 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__31(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__31); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__32 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__32(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__32); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__33 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__33(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__33); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__34 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__34(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__34); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__35 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__35(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__35); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__36 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__36(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__36); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__37 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__37(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__37); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__38 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__38(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__38); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__39 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__39(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__39); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__40 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__40(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__40); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__41 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__41(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__41); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__42 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__42(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__42); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__43 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__43(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__43); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__44 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__44(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__44); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__45 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__45(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__45); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__46 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__46(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__46); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__47 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__47(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__47); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__48 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__48(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__48); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__49 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__49(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__49); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__50 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__50(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__50); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__51 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__51(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__51); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__52 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__52(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__52); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__53 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__53(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__53); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__54 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__54(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__54); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__55 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__55(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__55); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__56 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__56(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__56); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__57 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__57(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__57); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__58 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__58(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__58); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__59 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__59(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__59); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__60 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__60(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__60); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__61 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__61(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__61); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__62 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__62(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__62); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__63 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__63(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__63); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__64 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__64(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459____closed__64); +res = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2459_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_PrettyPrinter_parenthesize___closed__1 = _init_l_Lean_PrettyPrinter_parenthesize___closed__1(); @@ -13767,7 +13815,7 @@ l_Lean_PrettyPrinter_parenthesizeTerm___closed__1 = _init_l_Lean_PrettyPrinter_p lean_mark_persistent(l_Lean_PrettyPrinter_parenthesizeTerm___closed__1); l_Lean_PrettyPrinter_parenthesizeCommand___closed__1 = _init_l_Lean_PrettyPrinter_parenthesizeCommand___closed__1(); lean_mark_persistent(l_Lean_PrettyPrinter_parenthesizeCommand___closed__1); -res = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2997_(lean_io_mk_world()); +res = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3027_(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.c b/stage0/stdlib/Lean/Server.c index cbc6c29bde..059ceab61b 100644 --- a/stage0/stdlib/Lean/Server.c +++ b/stage0/stdlib/Lean/Server.c @@ -69,7 +69,6 @@ lean_object* l_Lean_Server_handleDidOpen_match__1___rarg(lean_object*, lean_obje lean_object* l_Lean_Server_parseParams___rarg___closed__1; lean_object* l_Lean_Server_handleHover___rarg(lean_object*); lean_object* l_Lean_Server_handleNotification___closed__1; -lean_object* l_IO_FS_Handle_mk___at_Lean_Parser_parseFile___spec__2(lean_object*, uint8_t, uint8_t, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Lean_Server_Snapshots_compileCmdsAfter(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_mainLoop___rarg___closed__1; @@ -115,6 +114,7 @@ lean_object* l_Std_RBNode_del___at_Lean_Server_handleDidClose___spec__2(lean_obj lean_object* l_Lean_Server_handleDidOpen(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__1(lean_object*, lean_object*); extern lean_object* l_Lean_Lsp_msgToDiagnostic___closed__1; +lean_object* l_IO_FS_Handle_mk___at_Lean_Parser_testParseFile___spec__2(lean_object*, uint8_t, uint8_t, lean_object*); lean_object* l___private_Lean_Server_0__Lean_Server_replaceLspRange(lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_find___at_Lean_Server_findOpenDocument___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Server_updateOpenDocuments___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -8447,7 +8447,7 @@ lean_inc(x_9); lean_dec(x_7); x_10 = 0; x_11 = 1; -x_12 = l_IO_FS_Handle_mk___at_Lean_Parser_parseFile___spec__2(x_1, x_10, x_11, x_9); +x_12 = l_IO_FS_Handle_mk___at_Lean_Parser_testParseFile___spec__2(x_1, 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; diff --git a/stage0/stdlib/Lean/Server/ServerBin.c b/stage0/stdlib/Lean/Server/ServerBin.c deleted file mode 100644 index edda8e79fa..0000000000 --- a/stage0/stdlib/Lean/Server/ServerBin.c +++ /dev/null @@ -1,330 +0,0 @@ -// Lean compiler output -// Module: Lean.Server.ServerBin -// Imports: Init Init.System.IO Lean.Server -#include -#if defined(__clang__) -#pragma clang diagnostic ignored "-Wunused-parameter" -#pragma clang diagnostic ignored "-Wunused-label" -#elif defined(__GNUC__) && !defined(__CLANG__) -#pragma GCC diagnostic ignored "-Wunused-parameter" -#pragma GCC diagnostic ignored "-Wunused-label" -#pragma GCC diagnostic ignored "-Wunused-but-set-variable" -#endif -#ifdef __cplusplus -extern "C" { -#endif -lean_object* lean_get_stdin(lean_object*); -lean_object* lean_io_error_to_string(lean_object*); -lean_object* _lean_main(lean_object*, lean_object*); -lean_object* lean_get_stderr(lean_object*); -lean_object* l_main___boxed__const__1; -lean_object* l_IO_getStdin___at_main___spec__1(lean_object*); -lean_object* lean_init_search_path(lean_object*, lean_object*); -lean_object* lean_get_stdout(lean_object*); -lean_object* l_IO_FS_Stream_putStrLn___at_Lean_Server_Test_runWithInputFile___spec__1(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_initAndRunServer(lean_object*, lean_object*, lean_object*); -lean_object* l_IO_getStdin___at_main___spec__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_get_stdin(x_1); -return x_2; -} -} -static lean_object* _init_l_main___boxed__const__1() { -_start: -{ -uint32_t x_1; lean_object* x_2; -x_1 = 0; -x_2 = lean_box_uint32(x_1); -return x_2; -} -} -lean_object* _lean_main(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -lean_dec(x_1); -x_3 = lean_get_stdin(x_2); -if (lean_obj_tag(x_3) == 0) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; -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_get_stdout(x_5); -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_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_get_stderr(x_8); -if (lean_obj_tag(x_9) == 0) -{ -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_box(0); -x_13 = lean_init_search_path(x_12, x_11); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; -x_14 = lean_ctor_get(x_13, 1); -lean_inc(x_14); -lean_dec(x_13); -x_15 = l_Lean_Server_initAndRunServer(x_4, x_7, x_14); -if (lean_obj_tag(x_15) == 0) -{ -uint8_t x_16; -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); -lean_dec(x_17); -x_18 = l_main___boxed__const__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; -x_19 = lean_ctor_get(x_15, 1); -lean_inc(x_19); -lean_dec(x_15); -x_20 = l_main___boxed__const__1; -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_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -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_24 = lean_io_error_to_string(x_22); -x_25 = l_IO_FS_Stream_putStrLn___at_Lean_Server_Test_runWithInputFile___spec__1(x_10, x_24, 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; -x_27 = lean_ctor_get(x_25, 0); -lean_dec(x_27); -x_28 = l_main___boxed__const__1; -lean_ctor_set(x_25, 0, x_28); -return x_25; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_25, 1); -lean_inc(x_29); -lean_dec(x_25); -x_30 = l_main___boxed__const__1; -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 -{ -uint8_t x_32; -x_32 = !lean_is_exclusive(x_25); -if (x_32 == 0) -{ -return x_25; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -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 = 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_36; -lean_dec(x_10); -lean_dec(x_7); -lean_dec(x_4); -x_36 = !lean_is_exclusive(x_13); -if (x_36 == 0) -{ -return x_13; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_13, 0); -x_38 = lean_ctor_get(x_13, 1); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_13); -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_7); -lean_dec(x_4); -x_40 = !lean_is_exclusive(x_9); -if (x_40 == 0) -{ -return x_9; -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_9, 0); -x_42 = lean_ctor_get(x_9, 1); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_9); -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_4); -x_44 = !lean_is_exclusive(x_6); -if (x_44 == 0) -{ -return x_6; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_6, 0); -x_46 = lean_ctor_get(x_6, 1); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_6); -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; -x_48 = !lean_is_exclusive(x_3); -if (x_48 == 0) -{ -return x_3; -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_3, 0); -x_50 = lean_ctor_get(x_3, 1); -lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_3); -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; -} -} -} -} -lean_object* initialize_Init(lean_object*); -lean_object* initialize_Init_System_IO(lean_object*); -lean_object* initialize_Lean_Server(lean_object*); -static bool _G_initialized = false; -lean_object* initialize_Lean_Server_ServerBin(lean_object* w) { -lean_object * res; -if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); -_G_initialized = true; -res = initialize_Init(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -res = initialize_Init_System_IO(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -res = initialize_Lean_Server(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_main___boxed__const__1 = _init_l_main___boxed__const__1(); -lean_mark_persistent(l_main___boxed__const__1); -return lean_io_result_mk_ok(lean_box(0)); -} -void lean_initialize(); - - #if defined(WIN32) || defined(_WIN32) - #include - #endif - - int main(int argc, char ** argv) { - #if defined(WIN32) || defined(_WIN32) - SetErrorMode(SEM_FAILCRITICALERRORS); - #endif - lean_object* in; lean_object* res; -lean_initialize(); -res = initialize_Lean_Server_ServerBin(lean_io_mk_world()); -lean_io_mark_end_initialization(); -if (lean_io_result_is_ok(res)) { -lean_dec_ref(res); -lean_init_task_manager(); -in = lean_box(0); -int i = argc; -while (i > 1) { - lean_object* n; - i--; - n = lean_alloc_ctor(1,2,0); lean_ctor_set(n, 0, lean_mk_string(argv[i])); lean_ctor_set(n, 1, in); - in = n; -} -res = _lean_main(in, lean_io_mk_world()); -} -if (lean_io_result_is_ok(res)) { - int ret = lean_unbox(lean_io_result_get_value(res)); - lean_dec_ref(res); - return ret; -} else { - lean_io_result_show_error(res); - lean_dec_ref(res); - return 1; -} -} -#ifdef __cplusplus -} -#endif diff --git a/stage0/stdlib/Lean/Server/Snapshots.c b/stage0/stdlib/Lean/Server/Snapshots.c index c310ee641b..151ca72791 100644 --- a/stage0/stdlib/Lean/Server/Snapshots.c +++ b/stage0/stdlib/Lean/Server/Snapshots.c @@ -16,6 +16,7 @@ extern "C" { lean_object* l_Lean_Server_Snapshots_Snapshot_toCmdState_match__1(lean_object*); lean_object* l_Lean_Server_Snapshots_Snapshot_msgLog___boxed(lean_object*); lean_object* l___private_Lean_Server_Snapshots_0__Lean_Server_Snapshots_ioErrorFromEmpty_match__1(lean_object*, uint8_t); +lean_object* l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(lean_object*); lean_object* l_Lean_Parser_parseHeader(lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Command_withLogging___closed__2; lean_object* lean_st_ref_get(lean_object*, lean_object*); @@ -598,466 +599,345 @@ return x_7; lean_object* l_Lean_Server_Snapshots_compileNextCmd(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; +lean_object* x_4; lean_object* x_5; lean_object* 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_4 = l_Lean_Elab_parseImports___closed__1; lean_inc(x_1); x_5 = l_Lean_Parser_mkInputContext(x_1, x_4); -x_6 = l_Lean_Server_Snapshots_Snapshot_env(x_2); -x_7 = lean_ctor_get(x_2, 1); -lean_inc(x_7); -x_8 = l_Lean_Server_Snapshots_Snapshot_msgLog(x_2); -x_9 = l_Lean_Parser_parseCommand_parse(x_6, x_5, x_7, x_8); -x_10 = lean_ctor_get(x_9, 1); -lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 0); -lean_inc(x_11); -lean_dec(x_9); -x_12 = lean_ctor_get(x_10, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_10, 1); -lean_inc(x_13); -lean_dec(x_10); -x_14 = l_Lean_Syntax_getHeadInfo(x_11); -lean_inc(x_11); -x_15 = l_Lean_Parser_isEOI(x_11); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_121 = l_Lean_instInhabitedSourceInfo; -x_122 = l_Option_get_x21___rarg___closed__4; -x_123 = lean_panic_fn(x_121, x_122); -x_124 = lean_ctor_get(x_123, 1); -lean_inc(x_124); -lean_dec(x_123); -if (lean_obj_tag(x_124) == 0) -{ -lean_object* x_125; lean_object* x_126; -x_125 = l_instInhabitedNat; -x_126 = lean_panic_fn(x_125, x_122); -x_16 = x_126; -goto block_120; -} -else -{ -lean_object* x_127; -x_127 = lean_ctor_get(x_124, 0); -lean_inc(x_127); -lean_dec(x_124); -x_16 = x_127; -goto block_120; -} -} -else -{ -lean_object* x_128; lean_object* x_129; -x_128 = lean_ctor_get(x_14, 0); -lean_inc(x_128); -lean_dec(x_14); -x_129 = lean_ctor_get(x_128, 1); -lean_inc(x_129); -lean_dec(x_128); -if (lean_obj_tag(x_129) == 0) -{ -lean_object* x_130; lean_object* x_131; lean_object* x_132; -x_130 = l_instInhabitedNat; -x_131 = l_Option_get_x21___rarg___closed__4; -x_132 = lean_panic_fn(x_130, x_131); -x_16 = x_132; -goto block_120; -} -else -{ -lean_object* x_133; -x_133 = lean_ctor_get(x_129, 0); -lean_inc(x_133); -lean_dec(x_129); -x_16 = x_133; -goto block_120; -} -} -block_120: -{ -if (x_15 == 0) -{ -uint8_t x_17; -lean_inc(x_11); -x_17 = l_Lean_Parser_isExitCommand(x_11); -if (x_17 == 0) -{ -lean_object* x_18; uint8_t x_19; lean_inc(x_2); -x_18 = l_Lean_Server_Snapshots_Snapshot_toCmdState(x_2); -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_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_20 = lean_ctor_get(x_18, 1); +x_6 = l_Lean_Server_Snapshots_Snapshot_toCmdState(x_2); +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_6, 2); +lean_inc(x_8); +x_9 = lean_ctor_get(x_6, 3); +lean_inc(x_9); +x_10 = lean_ctor_get(x_6, 4); +lean_inc(x_10); +x_11 = lean_ctor_get(x_6, 5); +lean_inc(x_11); +x_12 = lean_ctor_get(x_6, 6); +lean_inc(x_12); +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); + x_13 = x_6; +} else { + lean_dec_ref(x_6); + x_13 = lean_box(0); +} +x_14 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_8); +x_15 = lean_ctor_get(x_14, 3); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 4); +lean_inc(x_16); +lean_dec(x_14); +lean_inc(x_7); +x_17 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_17, 0, x_7); +lean_ctor_set(x_17, 1, x_15); +lean_ctor_set(x_17, 2, x_16); +x_18 = lean_ctor_get(x_2, 1); +lean_inc(x_18); +x_19 = l_Lean_Server_Snapshots_Snapshot_msgLog(x_2); +x_20 = l_Lean_Parser_parseCommand_parse(x_5, x_17, x_18, x_19); +x_21 = lean_ctor_get(x_20, 1); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 0); +lean_inc(x_22); lean_dec(x_20); -lean_ctor_set(x_18, 1, x_13); -x_21 = l_IO_mkRef___at_Lean_Server_Snapshots_compileNextCmd___spec__1(x_18, x_3); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); +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_38 = l_Lean_FileMap_ofString(x_1); -x_39 = l_Lean_Server_Snapshots_Snapshot_endPos(x_2); -lean_dec(x_2); -x_40 = lean_box(0); -x_41 = lean_unsigned_to_nat(0u); -x_42 = l_Lean_firstFrontendMacroScope; -x_43 = lean_box(0); -x_44 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_44, 0, x_4); -lean_ctor_set(x_44, 1, x_38); -lean_ctor_set(x_44, 2, x_41); -lean_ctor_set(x_44, 3, x_39); -lean_ctor_set(x_44, 4, x_40); -lean_ctor_set(x_44, 5, x_42); -lean_ctor_set(x_44, 6, x_43); +x_25 = l_Lean_Syntax_getHeadInfo(x_22); lean_inc(x_22); -x_45 = l_Lean_Elab_Command_elabCommand(x_11, x_44, x_22, x_23); -if (lean_obj_tag(x_45) == 0) +x_26 = l_Lean_Parser_isEOI(x_22); +if (lean_obj_tag(x_25) == 0) { -lean_object* x_46; -lean_dec(x_44); -x_46 = lean_ctor_get(x_45, 1); -lean_inc(x_46); -lean_dec(x_45); -x_24 = x_46; -goto block_37; +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_81 = l_Lean_instInhabitedSourceInfo; +x_82 = l_Option_get_x21___rarg___closed__4; +x_83 = lean_panic_fn(x_81, x_82); +x_84 = lean_ctor_get(x_83, 1); +lean_inc(x_84); +lean_dec(x_83); +if (lean_obj_tag(x_84) == 0) +{ +lean_object* x_85; lean_object* x_86; +x_85 = l_instInhabitedNat; +x_86 = lean_panic_fn(x_85, x_82); +x_27 = x_86; +goto block_80; } else { -lean_object* x_47; -x_47 = lean_ctor_get(x_45, 0); -lean_inc(x_47); -if (lean_obj_tag(x_47) == 0) -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_45, 1); -lean_inc(x_48); -lean_dec(x_45); -x_49 = l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1(x_47, x_44, x_22, x_48); -lean_dec(x_44); -x_50 = lean_ctor_get(x_49, 1); -lean_inc(x_50); -lean_dec(x_49); -x_24 = x_50; -goto block_37; -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; -x_51 = lean_ctor_get(x_45, 1); -lean_inc(x_51); -lean_dec(x_45); -x_52 = lean_ctor_get(x_47, 0); -lean_inc(x_52); -lean_dec(x_47); -x_53 = l_Lean_Elab_abortExceptionId; -x_54 = lean_nat_dec_eq(x_52, x_53); -if (x_54 == 0) -{ -lean_object* x_55; -x_55 = l_Lean_InternalExceptionId_getName(x_52, x_51); -lean_dec(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; lean_object* x_62; uint8_t x_63; lean_object* x_64; lean_object* x_65; -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(4, 1, 0); -lean_ctor_set(x_58, 0, x_56); -x_59 = l_Lean_Elab_Command_withLogging___closed__2; -x_60 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_58); -x_61 = l_Lean_KernelException_toMessageData___closed__15; -x_62 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_62, 0, x_60); -lean_ctor_set(x_62, 1, x_61); -x_63 = 2; -x_64 = l_Lean_Elab_log___at_Lean_Elab_Command_runLinters___spec__3(x_62, x_63, x_44, x_22, x_57); -lean_dec(x_44); -x_65 = lean_ctor_get(x_64, 1); -lean_inc(x_65); -lean_dec(x_64); -x_24 = x_65; -goto block_37; -} -else -{ -lean_object* x_66; -lean_dec(x_44); -x_66 = lean_ctor_get(x_55, 1); -lean_inc(x_66); -lean_dec(x_55); -x_24 = x_66; -goto block_37; +lean_object* x_87; +x_87 = lean_ctor_get(x_84, 0); +lean_inc(x_87); +lean_dec(x_84); +x_27 = x_87; +goto block_80; } } else { -lean_dec(x_52); -lean_dec(x_44); -x_24 = x_51; -goto block_37; -} -} -} -block_37: +lean_object* x_88; lean_object* x_89; +x_88 = lean_ctor_get(x_25, 0); +lean_inc(x_88); +lean_dec(x_25); +x_89 = lean_ctor_get(x_88, 1); +lean_inc(x_89); +lean_dec(x_88); +if (lean_obj_tag(x_89) == 0) +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; +x_90 = l_instInhabitedNat; +x_91 = l_Option_get_x21___rarg___closed__4; +x_92 = lean_panic_fn(x_90, x_91); +x_27 = x_92; +goto block_80; +} +else +{ +lean_object* x_93; +x_93 = lean_ctor_get(x_89, 0); +lean_inc(x_93); +lean_dec(x_89); +x_27 = x_93; +goto block_80; +} +} +block_80: { -lean_object* x_25; uint8_t x_26; -x_25 = lean_st_ref_get(x_22, x_24); -lean_dec(x_22); -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; -x_27 = lean_ctor_get(x_25, 0); -x_28 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_28, 0, x_27); -x_29 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_29, 0, x_16); -lean_ctor_set(x_29, 1, x_12); -lean_ctor_set(x_29, 2, x_28); -x_30 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_25, 0, x_30); -return x_25; -} -else +uint8_t x_28; +lean_inc(x_22); +x_28 = l_Lean_Parser_isExitCommand(x_22); +if (x_28 == 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; -x_31 = lean_ctor_get(x_25, 0); -x_32 = lean_ctor_get(x_25, 1); -lean_inc(x_32); +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; 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; +if (lean_is_scalar(x_13)) { + x_29 = lean_alloc_ctor(0, 7, 0); +} else { + x_29 = x_13; +} +lean_ctor_set(x_29, 0, x_7); +lean_ctor_set(x_29, 1, x_24); +lean_ctor_set(x_29, 2, x_8); +lean_ctor_set(x_29, 3, x_9); +lean_ctor_set(x_29, 4, x_10); +lean_ctor_set(x_29, 5, x_11); +lean_ctor_set(x_29, 6, x_12); +x_30 = l_IO_mkRef___at_Lean_Server_Snapshots_compileNextCmd___spec__1(x_29, x_3); +x_31 = lean_ctor_get(x_30, 0); lean_inc(x_31); -lean_dec(x_25); -x_33 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_33, 0, x_31); -x_34 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_34, 0, x_16); -lean_ctor_set(x_34, 1, x_12); -lean_ctor_set(x_34, 2, x_33); -x_35 = lean_alloc_ctor(0, 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_32); -return x_36; -} -} -} -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_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_67 = lean_ctor_get(x_18, 0); -x_68 = lean_ctor_get(x_18, 2); -x_69 = lean_ctor_get(x_18, 3); -x_70 = lean_ctor_get(x_18, 4); -x_71 = lean_ctor_get(x_18, 5); -x_72 = lean_ctor_get(x_18, 6); -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_dec(x_18); -x_73 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_73, 0, x_67); -lean_ctor_set(x_73, 1, x_13); -lean_ctor_set(x_73, 2, x_68); -lean_ctor_set(x_73, 3, x_69); -lean_ctor_set(x_73, 4, x_70); -lean_ctor_set(x_73, 5, x_71); -lean_ctor_set(x_73, 6, x_72); -x_74 = l_IO_mkRef___at_Lean_Server_Snapshots_compileNextCmd___spec__1(x_73, x_3); -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_87 = l_Lean_FileMap_ofString(x_1); -x_88 = l_Lean_Server_Snapshots_Snapshot_endPos(x_2); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_47 = l_Lean_FileMap_ofString(x_1); +x_48 = l_Lean_Server_Snapshots_Snapshot_endPos(x_2); lean_dec(x_2); -x_89 = lean_box(0); -x_90 = lean_unsigned_to_nat(0u); -x_91 = l_Lean_firstFrontendMacroScope; -x_92 = lean_box(0); -x_93 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_93, 0, x_4); -lean_ctor_set(x_93, 1, x_87); -lean_ctor_set(x_93, 2, x_90); -lean_ctor_set(x_93, 3, x_88); -lean_ctor_set(x_93, 4, x_89); -lean_ctor_set(x_93, 5, x_91); -lean_ctor_set(x_93, 6, x_92); +x_49 = lean_box(0); +x_50 = lean_unsigned_to_nat(0u); +x_51 = l_Lean_firstFrontendMacroScope; +x_52 = lean_box(0); +x_53 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_53, 0, x_4); +lean_ctor_set(x_53, 1, x_47); +lean_ctor_set(x_53, 2, x_50); +lean_ctor_set(x_53, 3, x_48); +lean_ctor_set(x_53, 4, x_49); +lean_ctor_set(x_53, 5, x_51); +lean_ctor_set(x_53, 6, x_52); +lean_inc(x_31); +x_54 = l_Lean_Elab_Command_elabCommand(x_22, x_53, x_31, x_32); +if (lean_obj_tag(x_54) == 0) +{ +lean_object* x_55; +lean_dec(x_53); +x_55 = lean_ctor_get(x_54, 1); +lean_inc(x_55); +lean_dec(x_54); +x_33 = x_55; +goto block_46; +} +else +{ +lean_object* x_56; +x_56 = lean_ctor_get(x_54, 0); +lean_inc(x_56); +if (lean_obj_tag(x_56) == 0) +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_54, 1); +lean_inc(x_57); +lean_dec(x_54); +x_58 = l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1(x_56, x_53, x_31, x_57); +lean_dec(x_53); +x_59 = lean_ctor_get(x_58, 1); +lean_inc(x_59); +lean_dec(x_58); +x_33 = x_59; +goto block_46; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; +x_60 = lean_ctor_get(x_54, 1); +lean_inc(x_60); +lean_dec(x_54); +x_61 = lean_ctor_get(x_56, 0); +lean_inc(x_61); +lean_dec(x_56); +x_62 = l_Lean_Elab_abortExceptionId; +x_63 = lean_nat_dec_eq(x_61, x_62); +if (x_63 == 0) +{ +lean_object* x_64; +x_64 = l_Lean_InternalExceptionId_getName(x_61, x_60); +lean_dec(x_61); +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_object* x_70; lean_object* x_71; uint8_t x_72; lean_object* x_73; lean_object* x_74; +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_alloc_ctor(4, 1, 0); +lean_ctor_set(x_67, 0, x_65); +x_68 = l_Lean_Elab_Command_withLogging___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_KernelException_toMessageData___closed__15; +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 = 2; +x_73 = l_Lean_Elab_log___at_Lean_Elab_Command_runLinters___spec__3(x_71, x_72, x_53, x_31, x_66); +lean_dec(x_53); +x_74 = lean_ctor_get(x_73, 1); +lean_inc(x_74); +lean_dec(x_73); +x_33 = x_74; +goto block_46; +} +else +{ +lean_object* x_75; +lean_dec(x_53); +x_75 = lean_ctor_get(x_64, 1); lean_inc(x_75); -x_94 = l_Lean_Elab_Command_elabCommand(x_11, x_93, x_75, x_76); -if (lean_obj_tag(x_94) == 0) -{ -lean_object* x_95; -lean_dec(x_93); -x_95 = lean_ctor_get(x_94, 1); -lean_inc(x_95); -lean_dec(x_94); -x_77 = x_95; -goto block_86; -} -else -{ -lean_object* x_96; -x_96 = lean_ctor_get(x_94, 0); -lean_inc(x_96); -if (lean_obj_tag(x_96) == 0) -{ -lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_97 = lean_ctor_get(x_94, 1); -lean_inc(x_97); -lean_dec(x_94); -x_98 = l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1(x_96, x_93, x_75, x_97); -lean_dec(x_93); -x_99 = lean_ctor_get(x_98, 1); -lean_inc(x_99); -lean_dec(x_98); -x_77 = x_99; -goto block_86; -} -else -{ -lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t x_103; -x_100 = lean_ctor_get(x_94, 1); -lean_inc(x_100); -lean_dec(x_94); -x_101 = lean_ctor_get(x_96, 0); -lean_inc(x_101); -lean_dec(x_96); -x_102 = l_Lean_Elab_abortExceptionId; -x_103 = lean_nat_dec_eq(x_101, x_102); -if (x_103 == 0) -{ -lean_object* x_104; -x_104 = l_Lean_InternalExceptionId_getName(x_101, x_100); -lean_dec(x_101); -if (lean_obj_tag(x_104) == 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; lean_object* x_111; uint8_t x_112; lean_object* x_113; lean_object* x_114; -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_alloc_ctor(4, 1, 0); -lean_ctor_set(x_107, 0, x_105); -x_108 = l_Lean_Elab_Command_withLogging___closed__2; -x_109 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_109, 0, x_108); -lean_ctor_set(x_109, 1, x_107); -x_110 = l_Lean_KernelException_toMessageData___closed__15; -x_111 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_111, 0, x_109); -lean_ctor_set(x_111, 1, x_110); -x_112 = 2; -x_113 = l_Lean_Elab_log___at_Lean_Elab_Command_runLinters___spec__3(x_111, x_112, x_93, x_75, x_106); -lean_dec(x_93); -x_114 = lean_ctor_get(x_113, 1); -lean_inc(x_114); -lean_dec(x_113); -x_77 = x_114; -goto block_86; -} -else -{ -lean_object* x_115; -lean_dec(x_93); -x_115 = lean_ctor_get(x_104, 1); -lean_inc(x_115); -lean_dec(x_104); -x_77 = x_115; -goto block_86; +lean_dec(x_64); +x_33 = x_75; +goto block_46; } } else { -lean_dec(x_101); -lean_dec(x_93); -x_77 = x_100; -goto block_86; +lean_dec(x_61); +lean_dec(x_53); +x_33 = x_60; +goto block_46; } } } -block_86: +block_46: { -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_78 = lean_st_ref_get(x_75, x_77); -lean_dec(x_75); -x_79 = lean_ctor_get(x_78, 0); -lean_inc(x_79); -x_80 = lean_ctor_get(x_78, 1); -lean_inc(x_80); -if (lean_is_exclusive(x_78)) { - lean_ctor_release(x_78, 0); - lean_ctor_release(x_78, 1); - x_81 = x_78; -} else { - lean_dec_ref(x_78); - x_81 = lean_box(0); +lean_object* x_34; uint8_t x_35; +x_34 = lean_st_ref_get(x_31, x_33); +lean_dec(x_31); +x_35 = !lean_is_exclusive(x_34); +if (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_34, 0); +x_37 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_37, 0, x_36); +x_38 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_38, 0, x_27); +lean_ctor_set(x_38, 1, x_23); +lean_ctor_set(x_38, 2, x_37); +x_39 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_34, 0, x_39); +return x_34; } -x_82 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_82, 0, x_79); -x_83 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_83, 0, x_16); -lean_ctor_set(x_83, 1, x_12); -lean_ctor_set(x_83, 2, x_82); -x_84 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_84, 0, x_83); -if (lean_is_scalar(x_81)) { - x_85 = lean_alloc_ctor(0, 2, 0); -} else { - x_85 = x_81; -} -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_80); -return x_85; +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; +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, 1, 0); +lean_ctor_set(x_42, 0, x_40); +x_43 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_43, 0, x_27); +lean_ctor_set(x_43, 1, x_23); +lean_ctor_set(x_43, 2, x_42); +x_44 = lean_alloc_ctor(0, 1, 0); +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_41); +return x_45; } } } else { -lean_object* x_116; lean_object* x_117; -lean_dec(x_16); +lean_object* x_76; lean_object* x_77; +lean_dec(x_27); +lean_dec(x_23); +lean_dec(x_22); +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_2); lean_dec(x_1); -x_116 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_116, 0, x_13); -x_117 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_117, 0, x_116); -lean_ctor_set(x_117, 1, x_3); -return x_117; +x_76 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_76, 0, x_24); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_3); +return x_77; } } else { -lean_object* x_118; lean_object* x_119; -lean_dec(x_16); +lean_object* x_78; lean_object* x_79; +lean_dec(x_27); +lean_dec(x_23); +lean_dec(x_22); +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_2); lean_dec(x_1); -x_118 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_118, 0, x_13); -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; +x_78 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_78, 0, x_24); +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; } } }