From cbf57fa388760d5efc8194cf96077d9cf9fe06fc Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Wed, 15 Jan 2020 17:40:44 -0800 Subject: [PATCH] chore: update stage0 --- stage0/src/Init/Lean/Elab/Command.lean | 40 +- stage0/src/Init/Lean/Elab/Syntax.lean | 94 +- stage0/src/Init/Lean/Elab/Term.lean | 32 +- stage0/src/Init/Lean/Elab/Util.lean | 26 +- stage0/src/Init/Lean/Parser/Command.lean | 6 +- stage0/src/Init/Lean/Parser/Parser.lean | 2 +- stage0/src/Init/LeanInit.lean | 2 +- stage0/src/frontends/lean/util.cpp | 2 +- .../stdlib/Init/Lean/Elab/BuiltinNotation.c | 29 +- stage0/stdlib/Init/Lean/Elab/Command.c | 1123 +- stage0/stdlib/Init/Lean/Elab/DeclModifiers.c | 27 +- stage0/stdlib/Init/Lean/Elab/Declaration.c | 96 +- stage0/stdlib/Init/Lean/Elab/Definition.c | 36 +- stage0/stdlib/Init/Lean/Elab/Quotation.c | 236 +- stage0/stdlib/Init/Lean/Elab/Syntax.c | 9108 +++++++++++------ stage0/stdlib/Init/Lean/Elab/Tactic.c | 1 + stage0/stdlib/Init/Lean/Elab/Term.c | 2085 ++-- stage0/stdlib/Init/Lean/Elab/TermApp.c | 172 +- stage0/stdlib/Init/Lean/Elab/TermBinders.c | 240 +- stage0/stdlib/Init/Lean/Elab/Util.c | 245 + stage0/stdlib/Init/Lean/Parser/Command.c | 1033 +- stage0/stdlib/Init/Lean/Parser/Parser.c | 28 +- stage0/stdlib/Init/LeanInit.c | 26 +- 23 files changed, 8746 insertions(+), 5943 deletions(-) diff --git a/stage0/src/Init/Lean/Elab/Command.lean b/stage0/src/Init/Lean/Elab/Command.lean index 1c431023db..8640925132 100644 --- a/stage0/src/Init/Lean/Elab/Command.lean +++ b/stage0/src/Init/Lean/Elab/Command.lean @@ -56,7 +56,8 @@ def mkMessageAux (ctx : Context) (ref : Syntax) (msgData : MessageData) (severit mkMessageCore ctx.fileName ctx.fileMap msgData severity (ref.getPos.getD ctx.cmdPos) private def ioErrorToMessage (ctx : Context) (ref : Syntax) (err : IO.Error) : Message := -mkMessageAux ctx ref (toString err) MessageSeverity.error +let ref := getBetterRef ref ctx.macroStack; +mkMessageAux ctx ref (addMacroStack (toString err) ctx.macroStack) MessageSeverity.error @[inline] def liftIOCore {α} (ctx : Context) (ref : Syntax) (x : IO α) : EIO Exception α := EIO.adaptExcept (fun ex => Exception.error $ ioErrorToMessage ctx ref ex) x @@ -93,37 +94,13 @@ instance CommandElabM.monadLog : MonadLog CommandElabM := addContext := addContext, logMessage := fun msg => modify $ fun s => { messages := s.messages.add msg, .. s } } -/- If `ref` does not have position information, then try to use macroStack -/ -private def getBetterRef (ref : Syntax) : CommandElabM Syntax := -match ref.getPos with -| some _ => pure ref -| none => do - ctx ← read; - match ctx.macroStack.find? $ fun (macro : Syntax) => macro.getPos != none with - | some macro => pure macro - | none => pure ref - -private def prettyPrint (stx : Syntax) : CommandElabM Format := -match stx.reprint with -- TODO use syntax pretty printer -| some str => pure $ format str.toFormat -| none => pure $ format stx - -private def addMacroStack (msgData : MessageData) : CommandElabM MessageData := do -ctx ← read; -if ctx.macroStack.isEmpty then pure msgData -else - ctx.macroStack.foldlM - (fun (msgData : MessageData) (macro : Syntax) => do - macroFmt ← prettyPrint macro; - pure (msgData ++ Format.line ++ "while expanding" ++ MessageData.nest 2 (Format.line ++ macroFmt))) - msgData - /-- Throws an error with the given `msgData` and extracting position information from `ref`. If `ref` does not contain position information, then use `cmdPos` -/ def throwError {α} (ref : Syntax) (msgData : MessageData) : CommandElabM α := do -ref ← getBetterRef ref; -msgData ← addMacroStack msgData; +ctx ← read; +let ref := getBetterRef ref ctx.macroStack; +let msgData := addMacroStack msgData ctx.macroStack; msg ← mkMessage msgData MessageSeverity.error ref; throw (Exception.error msg) @@ -200,7 +177,7 @@ adaptReader (fun (ctx : Context) => { currRecDepth := ctx.currRecDepth + 1, .. c private def elabCommandUsing (stx : Syntax) : List CommandElab → CommandElabM Unit | [] => do - refFmt ← prettyPrint stx; + let refFmt := stx.prettyPrint; throwError stx ("unexpected syntax" ++ MessageData.nest 2 (Format.line ++ refFmt)) | (elabFn::elabFns) => catch (elabFn stx) (fun ex => match ex with @@ -506,11 +483,6 @@ fun n => do else elabOpenRenaming body -/- We just ignore Lean3 notation declaration commands. -/ -@[builtinCommandElab «mixfix»] def elabMixfix : CommandElab := fun _ => pure () -@[builtinCommandElab «reserve»] def elabReserve : CommandElab := fun _ => pure () -@[builtinCommandElab «notation»] def elabNotation : CommandElab := fun _ => pure () - @[builtinCommandElab «variable»] def elabVariable : CommandElab := fun n => do -- `variable` bracktedBinder diff --git a/stage0/src/Init/Lean/Elab/Syntax.lean b/stage0/src/Init/Lean/Elab/Syntax.lean index daee1d2a10..b1766567f9 100644 --- a/stage0/src/Init/Lean/Elab/Syntax.lean +++ b/stage0/src/Init/Lean/Elab/Syntax.lean @@ -25,28 +25,61 @@ else if ds.size == 1 then else ds.foldlFromM (fun r d => `(ParserDescr.andthen $r $d)) (ds.get! 0) 1 -partial def toParserDescr : Syntax → TermElabM Syntax +/- The translator from `syntax` to `ParserDescr` syntax uses the following modes -/ +inductive ToParserDescrMode +| anyCat -- Node kind `Lean.Parser.Syntax.cat` is allowed for any category +| noCat -- Node kind `Lean.Parser.Syntax.cat` is not allowed for any category +| toPushLeading (catName : Name) -- Node kind `Lean.Parser.Syntax.cat` is allowed if the category is `catName`, and it is translated into `ParserDescr.pushLeading` + +abbrev ToParserDescrM := ReaderT ToParserDescrMode (StateT Bool TermElabM) +private def getMode : ToParserDescrM ToParserDescrMode := read +private def markAsTrailingParser : ToParserDescrM Unit := set true + +@[inline] private def withAnyIfNotFirst {α} (first : Bool) (x : ToParserDescrM α) : ToParserDescrM α := +fun mode => match mode, first with + | mode, true => x mode + | _, false => x ToParserDescrMode.anyCat + +@[inline] private def withNoPushLeading {α} (x : ToParserDescrM α) : ToParserDescrM α := +fun mode => match mode with + | ToParserDescrMode.toPushLeading _ => x ToParserDescrMode.noCat + | mode => x mode + +partial def toParserDescrAux : Syntax → ToParserDescrM Syntax | stx => let kind := stx.getKind; if kind == nullKind then do - args ← stx.getArgs.mapM toParserDescr; - mkParserSeq args + args ← stx.getArgs.mapIdxM $ fun i arg => withAnyIfNotFirst (i == 0) (toParserDescrAux arg); + liftM $ mkParserSeq args else if kind == choiceKind then do - toParserDescr (stx.getArg 0) + toParserDescrAux (stx.getArg 0) else if kind == `Lean.Parser.Syntax.paren then - toParserDescr (stx.getArg 1) + toParserDescrAux (stx.getArg 1) else if kind == `Lean.Parser.Syntax.cat then do let cat : Name := stx.getIdAt 0; - let rbp : Nat := (getOptNum (stx.getArg 1)).getD 0; - env ← getEnv; - unless (Parser.isParserCategory env cat) $ throwError (stx.getArg 3) ("unknown category '" ++ cat ++ "'"); - `(ParserDescr.parser $(quote cat) $(quote rbp)) + let rbp? : Option Nat := getOptNum (stx.getArg 1); + env ← liftM getEnv; + unless (Parser.isParserCategory env cat) $ liftM $ throwError (stx.getArg 3) ("unknown category '" ++ cat ++ "'"); + mode ← getMode; + match mode with + | ToParserDescrMode.toPushLeading cat' => + if cat == cat' then do + unless rbp?.isNone $ liftM $ throwError (stx.getArg 1) ("invalid occurrence of ':' modifier in head"); + markAsTrailingParser; -- mark as trailing par + `(ParserDescr.pushLeading) + else + liftM $ throwError (stx.getArg 3) ("invalid occurrence of '" ++ cat ++ "', '" ++ cat' ++ "', atom, or literal expected") + | ToParserDescrMode.anyCat => + let rbp := rbp?.getD 0; + `(ParserDescr.parser $(quote cat) $(quote rbp)) + | ToParserDescrMode.noCat => + liftM $ throwError (stx.getArg 3) ("invalid occurrence of '" ++ cat ++ "', atom or literal expected") else if kind == `Lean.Parser.Syntax.atom then do match (stx.getArg 0).isStrLit? with | some atom => let rbp : Option Nat := getOptNum (stx.getArg 1); `(ParserDescr.symbol $(quote atom) $(quote rbp)) - | none => throwUnsupportedSyntax + | none => liftM throwUnsupportedSyntax else if kind == `Lean.Parser.Syntax.num then `(ParserDescr.num) else if kind == `Lean.Parser.Syntax.str then @@ -56,35 +89,41 @@ partial def toParserDescr : Syntax → TermElabM Syntax else if kind == `Lean.Parser.Syntax.ident then `(ParserDescr.ident) else if kind == `Lean.Parser.Syntax.try then do - d ← toParserDescr $ stx.getArg 1; + d ← withNoPushLeading $ toParserDescrAux (stx.getArg 1); `(ParserDescr.try $d) else if kind == `Lean.Parser.Syntax.lookahead then do - d ← toParserDescr $ stx.getArg 1; + d ← withNoPushLeading $ toParserDescrAux (stx.getArg 1); `(ParserDescr.lookahead $d) else if kind == `Lean.Parser.Syntax.optional then do - d ← toParserDescr $ stx.getArg 1; + d ← withNoPushLeading $ toParserDescrAux (stx.getArg 1); `(ParserDescr.optional $d) else if kind == `Lean.Parser.Syntax.sepBy then do - d₁ ← toParserDescr $ stx.getArg 1; - d₂ ← toParserDescr $ stx.getArg 2; + d₁ ← withNoPushLeading $ toParserDescrAux (stx.getArg 1); + d₂ ← withNoPushLeading $ toParserDescrAux (stx.getArg 2); `(ParserDescr.sepBy $d₁ $d₂) else if kind == `Lean.Parser.Syntax.sepBy1 then do - d₁ ← toParserDescr $ stx.getArg 1; - d₂ ← toParserDescr $ stx.getArg 2; + d₁ ← withNoPushLeading $ toParserDescrAux (stx.getArg 1); + d₂ ← withNoPushLeading $ toParserDescrAux (stx.getArg 2); `(ParserDescr.sepBy1 $d₁ $d₂) else if kind == `Lean.Parser.Syntax.many then do - d ← toParserDescr $ stx.getArg 0; + d ← withNoPushLeading $ toParserDescrAux (stx.getArg 0); `(ParserDescr.many $d) else if kind == `Lean.Parser.Syntax.many1 then do - d ← toParserDescr $ stx.getArg 0; + d ← withNoPushLeading $ toParserDescrAux (stx.getArg 0); `(ParserDescr.many1 $d) else if kind == `Lean.Parser.Syntax.orelse then do - d₁ ← toParserDescr $ stx.getArg 0; - d₂ ← toParserDescr $ stx.getArg 2; + d₁ ← withNoPushLeading $ toParserDescrAux (stx.getArg 0); + d₂ ← withNoPushLeading $ toParserDescrAux (stx.getArg 2); `(ParserDescr.orelse $d₁ $d₂) else - throwError stx ("ERROR " ++ toString stx) - -- throwUnsupportedSyntax + liftM $ throwUnsupportedSyntax + +/-- + Given a `stx` of category `syntax`, return a pair `(newStx, trailingParser)`, + where `newStx` is of category `term`. After elaboration, `newStx` should have type + `TrailingParserDescr` if `trailingParser == true`, and `ParserDescr` otherwise. -/ +def toParserDescr (stx : Syntax) (catName : Name) : TermElabM (Syntax × Bool) := +(toParserDescrAux stx (ToParserDescrMode.toPushLeading catName)).run false end Term @@ -116,8 +155,8 @@ fun stx => do unless (Parser.isParserCategory env cat) $ throwError (stx.getArg 4) ("unknown category '" ++ cat ++ "'"); kind ← elabKind (stx.getArg 1) cat; let catParserId := mkIdentFrom stx (cat.appendAfter "Parser"); - type ← `(Lean.ParserDescr); - val ← runTermElabM none $ fun _ => Term.toParserDescr (stx.getArg 2); + (val, trailingParser) ← runTermElabM none $ fun _ => Term.toParserDescr (stx.getArg 2) cat; + type ← if trailingParser then `(Lean.TrailingParserDescr) else `(Lean.ParserDescr); -- TODO: meaningful, unhygienic def name for selective parser `open`ing? d ← `(@[$catParserId:ident] def myParser : $type := ParserDescr.node $(quote kind) $val); trace `Elab stx $ fun _ => d; @@ -134,6 +173,11 @@ adaptExpander $ fun stx => match_syntax stx with `(@[macro $(Lean.mkSimpleIdent k)] def myMacro : Macro := fun stx => match_syntax stx with $alts* | _ => throw ()) | _ => throwUnsupportedSyntax +/- We just ignore Lean3 notation declaration commands. -/ +@[builtinCommandElab «mixfix»] def elabMixfix : CommandElab := fun _ => pure () +@[builtinCommandElab «reserve»] def elabReserve : CommandElab := fun _ => pure () +@[builtinCommandElab «notation»] def elabNotation : CommandElab := fun _ => pure () + end Command end Elab end Lean diff --git a/stage0/src/Init/Lean/Elab/Term.lean b/stage0/src/Init/Lean/Elab/Term.lean index b2d42ccff4..963f87d8c5 100644 --- a/stage0/src/Init/Lean/Elab/Term.lean +++ b/stage0/src/Init/Lean/Elab/Term.lean @@ -120,37 +120,13 @@ instance TermElabM.MonadLog : MonadLog TermElabM := addContext := addContext, logMessage := fun msg => modify $ fun s => { messages := s.messages.add msg, .. s } } -/- If `ref` does not have position information, then try to use macroStack -/ -private def getBetterRef (ref : Syntax) : TermElabM Syntax := -match ref.getPos with -| some _ => pure ref -| none => do - ctx ← read; - match ctx.macroStack.find? $ fun (macro : Syntax) => macro.getPos != none with - | some macro => pure macro - | none => pure ref - -private def prettyPrint (stx : Syntax) : TermElabM Format := -match stx.reprint with -- TODO use syntax pretty printer -| some str => pure $ str.toFormat -| none => pure $ format stx - -private def addMacroStack (msgData : MessageData) : TermElabM MessageData := do -ctx ← read; -if ctx.macroStack.isEmpty then pure msgData -else - ctx.macroStack.foldlM - (fun (msgData : MessageData) (macro : Syntax) => do - macroFmt ← prettyPrint macro; - pure (msgData ++ Format.line ++ "while expanding" ++ MessageData.nest 2 (Format.line ++ macroFmt))) - msgData - /-- Throws an error with the given `msgData` and extracting position information from `ref`. If `ref` does not contain position information, then use `cmdPos` -/ def throwError {α} (ref : Syntax) (msgData : MessageData) : TermElabM α := do -ref ← getBetterRef ref; -msgData ← addMacroStack msgData; +ctx ← read; +let ref := getBetterRef ref ctx.macroStack; +let msgData := addMacroStack msgData ctx.macroStack; msg ← mkMessage msgData MessageSeverity.error ref; throw (Exception.ex (Elab.Exception.error msg)) @@ -488,7 +464,7 @@ pure mvar private def elabTermUsing (s : State) (stx : Syntax) (expectedType? : Option Expr) (errToSorry : Bool) (catchExPostpone : Bool) : List TermElab → TermElabM Expr | [] => do - refFmt ← prettyPrint stx; + let refFmt := stx.prettyPrint; throwError stx ("unexpected syntax" ++ MessageData.nest 2 (Format.line ++ refFmt)) | (elabFn::elabFns) => catch (elabFn stx expectedType?) (fun ex => match ex with diff --git a/stage0/src/Init/Lean/Elab/Util.lean b/stage0/src/Init/Lean/Elab/Util.lean index 6c2f29c924..e82ccee5bb 100644 --- a/stage0/src/Init/Lean/Elab/Util.lean +++ b/stage0/src/Init/Lean/Elab/Util.lean @@ -8,8 +8,32 @@ import Init.Lean.Util.Trace import Init.Lean.Parser namespace Lean + +def Syntax.prettyPrint (stx : Syntax) : Format := +match stx.reprint with -- TODO use syntax pretty printer +| some str => format str.toFormat +| none => format stx + namespace Elab +/- If `ref` does not have position information, then try to use macroStack -/ +def getBetterRef (ref : Syntax) (macroStack : List Syntax) : Syntax := +match ref.getPos with +| some _ => ref +| none => + match macroStack.find? $ fun (macro : Syntax) => macro.getPos != none with + | some macro => macro + | none => ref + +def addMacroStack (msgData : MessageData) (macroStack : List Syntax) : MessageData := +if macroStack.isEmpty then msgData +else + macroStack.foldl + (fun (msgData : MessageData) (macro : Syntax) => + let macroFmt := macro.prettyPrint; + msgData ++ Format.line ++ "while expanding" ++ MessageData.nest 2 (Format.line ++ macroFmt)) + msgData + def checkSyntaxNodeKind (env : Environment) (k : Name) : ExceptT String Id Name := if Parser.isValidSyntaxNodeKind env k then pure k else throw "failed" @@ -156,7 +180,5 @@ fun stx => registerTraceClass `Elab; registerTraceClass `Elab.step - - end Elab end Lean diff --git a/stage0/src/Init/Lean/Parser/Command.lean b/stage0/src/Init/Lean/Parser/Command.lean index ec44c21f45..19a9d763d9 100644 --- a/stage0/src/Init/Lean/Parser/Command.lean +++ b/stage0/src/Init/Lean/Parser/Command.lean @@ -102,7 +102,6 @@ def maxPrec := parser! nonReservedSymbol "max" def precedenceLit : Parser := numLit <|> maxPrec def «precedence» := parser! " : " >> precedenceLit def quotedSymbolPrec := parser! quotedSymbol >> optional «precedence» -def symbol : Parser := quotedSymbolPrec <|> unquotedSymbol def «prefix» := parser! "prefix" def «infix» := parser! "infix" def «infixl» := parser! "infixl" @@ -112,8 +111,9 @@ def mixfixKind := «prefix» <|> «infix» <|> «infixl» <|> «infixr» <|> «p @[builtinCommandParser] def «reserve» := parser! "reserve " >> mixfixKind >> quotedSymbolPrec def mixfixSymbol := quotedSymbolPrec <|> unquotedSymbol @[builtinCommandParser] def «mixfix» := parser! mixfixKind >> mixfixSymbol >> " := " >> termParser -def identPrec := parser! ident >> optional «precedence» -@[builtinCommandParser] def «notation» := parser! "notation" >> optional ident >> many (quotedSymbolPrec <|> identPrec) >> " := " >> termParser +def strLitPrec := parser! strLit >> optional «precedence» +def identPrec := parser! ident >> optional «precedence» +@[builtinCommandParser] def «notation» := parser! "notation" >> many (strLitPrec <|> quotedSymbolPrec <|> identPrec) >> " := " >> termParser @[builtinCommandParser] def «macro» := parser! "macro" >> many1Indent Term.matchAlt "'match' alternatives must be indented" end Command diff --git a/stage0/src/Init/Lean/Parser/Parser.lean b/stage0/src/Init/Lean/Parser/Parser.lean index db0c0b6ffb..f088b0359e 100644 --- a/stage0/src/Init/Lean/Parser/Parser.lean +++ b/stage0/src/Init/Lean/Parser/Parser.lean @@ -1521,7 +1521,7 @@ def compileParserDescr (categories : ParserCategories) : forall {k : ParserKind} | _, ParserDescr.ident => pure $ identNoAntiquot -- Kha, do we need `ident` here? | ParserKind.leading, ParserDescr.nonReservedSymbol tk includeIdent => pure $ nonReservedSymbol tk includeIdent -| ParserKind.leading, ParserDescr.parser catName rbp => +| _, ParserDescr.parser catName rbp => match categories.find? catName with | some _ => pure $ categoryParser catName rbp | none => throwUnknownParserCategory catName diff --git a/stage0/src/Init/LeanInit.lean b/stage0/src/Init/LeanInit.lean index e0b94d0f6b..7fb685f996 100644 --- a/stage0/src/Init/LeanInit.lean +++ b/stage0/src/Init/LeanInit.lean @@ -83,7 +83,7 @@ inductive ParserDescrCore : ParserKind → Type | char {k : ParserKind} : ParserDescrCore k | ident {k : ParserKind} : ParserDescrCore k | pushLeading : ParserDescrCore ParserKind.trailing -| parser : Name → Nat → ParserDescrCore ParserKind.leading +| parser {k : ParserKind} : Name → Nat → ParserDescrCore k instance ParserDescrCore.inhabited {k} : Inhabited (ParserDescrCore k) := ⟨ParserDescrCore.symbol "" none⟩ diff --git a/stage0/src/frontends/lean/util.cpp b/stage0/src/frontends/lean/util.cpp index 4a700a136b..e269feb99c 100644 --- a/stage0/src/frontends/lean/util.cpp +++ b/stage0/src/frontends/lean/util.cpp @@ -55,7 +55,7 @@ void consume_until_end_or_command(parser & p) { void check_command_period_docstring_or_eof(parser const & p) { if (!p.curr_is_command() && !p.curr_is_eof() && !p.curr_is_token(get_period_tk()) && - p.curr() != token_kind::DocBlock && p.curr() != token_kind::ModDocBlock) + p.curr() != token_kind::DocBlock && p.curr() != token_kind::ModDocBlock && p.curr() != token_kind::NewFrontend) throw parser_error("unexpected token, '.', command, or end-of-file expected", p.pos()); } diff --git a/stage0/stdlib/Init/Lean/Elab/BuiltinNotation.c b/stage0/stdlib/Init/Lean/Elab/BuiltinNotation.c index b43cfc0405..94e53abaa3 100644 --- a/stage0/stdlib/Init/Lean/Elab/BuiltinNotation.c +++ b/stage0/stdlib/Init/Lean/Elab/BuiltinNotation.c @@ -60,6 +60,7 @@ lean_object* l_Lean_Elab_Term_elabBOr___boxed(lean_object*, lean_object*, lean_o lean_object* l_Lean_Elab_Term_elabInfix(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabSubtype___lambda__1___closed__8; lean_object* l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__5; +extern lean_object* l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__5; lean_object* l_Lean_Elab_Term_elabHave___closed__1; lean_object* l_Lean_Elab_Term_elabAnoymousCtor___closed__3; lean_object* l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__30; @@ -170,7 +171,6 @@ lean_object* l_Lean_Elab_Term_elabSub___closed__2; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabseq___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main(lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabseqRight(lean_object*); -extern lean_object* l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabBAnd(lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabHEq(lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabMapConstRev(lean_object*); @@ -224,7 +224,6 @@ lean_object* l_Lean_Elab_Term_elabAppend(lean_object*, lean_object*, lean_object lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabProd___closed__2; extern lean_object* l_Lean_Parser_Term_or___elambda__1___closed__1; lean_object* lean_nat_sub(lean_object*, lean_object*); -extern lean_object* l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__5; lean_object* l_Lean_Elab_Term_throwUnsupportedSyntax___rarg(lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabseqLeft___closed__1; extern lean_object* l_Lean_Parser_Term_ne___elambda__1___closed__2; @@ -430,7 +429,6 @@ lean_object* l_Lean_Elab_Term_elabShow(lean_object*, lean_object*, lean_object*, extern lean_object* l_Lean_Parser_Term_if___elambda__1___closed__2; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabAdd___closed__1; lean_object* l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__16; -extern uint8_t l___private_Init_Lean_Elab_Term_7__hasCDot___main___closed__1; lean_object* l_Lean_Elab_Term_elabLE___closed__3; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabEq___closed__1; lean_object* l_Lean_Elab_Term_elabLT(lean_object*, lean_object*, lean_object*, lean_object*); @@ -525,6 +523,7 @@ lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabMul___closed__2; lean_object* l_Lean_Elab_Term_elabMapConst___closed__1; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabLE___closed__3; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabMapConstRev___closed__1; +extern lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; lean_object* l_Lean_Elab_Term_elabseqRight(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_List_beq___main___at_Lean_Elab_Term_elabParserMacro___spec__1(lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabShow(lean_object*); @@ -581,6 +580,7 @@ lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabIf___closed__3; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabLE___closed__1; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabBind___closed__2; extern lean_object* l_Lean_Parser_Term_modN___elambda__1___closed__2; +extern uint8_t l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabEquiv___closed__3; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabAndM___closed__1; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabAnoymousCtor___closed__2; @@ -633,7 +633,7 @@ x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) { uint8_t x_6; -x_6 = l___private_Init_Lean_Elab_Term_7__hasCDot___main___closed__1; +x_6 = l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; if (x_6 == 0) { lean_object* x_7; @@ -835,7 +835,7 @@ x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) { uint8_t x_6; -x_6 = l___private_Init_Lean_Elab_Term_7__hasCDot___main___closed__1; +x_6 = l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; if (x_6 == 0) { lean_object* x_7; @@ -2430,6 +2430,7 @@ lean_inc(x_6); lean_dec(x_5); x_7 = l_Lean_Elab_Term_elabAnoymousCtor___closed__3; x_8 = l_Lean_Elab_Term_throwError___rarg(x_1, x_7, x_3, x_6); +lean_dec(x_1); return x_8; } else @@ -2509,6 +2510,7 @@ x_48 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_48, 0, x_46); lean_ctor_set(x_48, 1, x_47); x_49 = l_Lean_Elab_Term_throwError___rarg(x_1, x_48, x_3, x_26); +lean_dec(x_1); return x_49; } else @@ -2611,6 +2613,7 @@ x_32 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_32, 0, x_30); lean_ctor_set(x_32, 1, x_31); x_33 = l_Lean_Elab_Term_throwError___rarg(x_1, x_32, x_3, x_26); +lean_dec(x_1); return x_33; } } @@ -2635,6 +2638,7 @@ x_19 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_19, 0, x_18); lean_ctor_set(x_19, 1, x_17); x_20 = l_Lean_Elab_Term_throwError___rarg(x_1, x_19, x_3, x_13); +lean_dec(x_1); return x_20; } } @@ -2863,7 +2867,7 @@ x_45 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_45, 0, x_44); lean_ctor_set(x_45, 1, x_43); x_46 = lean_array_push(x_20, x_45); -x_47 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_47 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_48 = lean_array_push(x_46, x_47); x_49 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_49, 0, x_27); @@ -2928,7 +2932,7 @@ x_83 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_83, 0, x_82); lean_ctor_set(x_83, 1, x_81); x_84 = lean_array_push(x_58, x_83); -x_85 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_85 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_86 = lean_array_push(x_84, x_85); x_87 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_87, 0, x_65); @@ -4494,6 +4498,7 @@ lean_inc(x_11); lean_dec(x_9); x_12 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__3; x_13 = l_Lean_Elab_Term_throwError___rarg(x_1, x_12, x_2, x_11); +lean_dec(x_1); return x_13; } else @@ -4546,7 +4551,7 @@ lean_ctor_set(x_35, 2, x_31); lean_ctor_set(x_35, 3, x_34); x_36 = l_Array_empty___closed__1; x_37 = lean_array_push(x_36, x_35); -x_38 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_38 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_39 = lean_array_push(x_37, x_38); x_40 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_41 = lean_alloc_ctor(1, 2, 0); @@ -4973,6 +4978,7 @@ lean_dec(x_15); lean_dec(x_8); x_264 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__6; x_265 = l_Lean_Elab_Term_throwError___rarg(x_1, x_264, x_2, x_14); +lean_dec(x_1); return x_265; } } @@ -5164,6 +5170,7 @@ lean_inc(x_11); lean_dec(x_9); x_12 = l_Lean_Elab_Term_elabTParserMacro___lambda__1___closed__3; x_13 = l_Lean_Elab_Term_throwError___rarg(x_1, x_12, x_2, x_11); +lean_dec(x_1); return x_13; } else @@ -5196,7 +5203,7 @@ lean_ctor_set(x_25, 2, x_22); lean_ctor_set(x_25, 3, x_24); x_26 = l_Array_empty___closed__1; x_27 = lean_array_push(x_26, x_25); -x_28 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_28 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_29 = lean_array_push(x_27, x_28); x_30 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_31 = lean_alloc_ctor(1, 2, 0); @@ -5236,7 +5243,7 @@ lean_ctor_set(x_46, 2, x_43); lean_ctor_set(x_46, 3, x_45); x_47 = l_Array_empty___closed__1; x_48 = lean_array_push(x_47, x_46); -x_49 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_49 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_50 = lean_array_push(x_48, x_49); x_51 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_52 = lean_alloc_ctor(1, 2, 0); @@ -5332,7 +5339,7 @@ lean_object* l_Lean_Elab_Term_elabProd(lean_object* x_1, lean_object* x_2, lean_ _start: { lean_object* x_5; lean_object* x_6; -x_5 = l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__5; +x_5 = l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__5; x_6 = l_Lean_Elab_Term_elabInfixOp(x_5, x_1, x_2, x_3, x_4); return x_6; } diff --git a/stage0/stdlib/Init/Lean/Elab/Command.c b/stage0/stdlib/Init/Lean/Elab/Command.c index 218e780fe8..e6e30effe9 100644 --- a/stage0/stdlib/Init/Lean/Elab/Command.c +++ b/stage0/stdlib/Init/Lean/Elab/Command.c @@ -16,7 +16,7 @@ extern "C" { lean_object* l_Lean_Elab_Command_CommandElabM_monadLog___lambda__1(lean_object*, lean_object*, lean_object*); uint8_t l_AssocList_contains___main___at_Lean_Elab_Command_addBuiltinCommandElab___spec__3(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabVariable(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Command_14__addScopes___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Command_5__elabCommandUsing___main(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Name_toString___closed__1; lean_object* l_Array_forMAux___main___at_Lean_Elab_Command_elabCommand___main___spec__7(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_registerBuiltinCommandElabAttr___closed__4; @@ -26,6 +26,7 @@ lean_object* l_Lean_extractMacroScopes(lean_object*); lean_object* l_PersistentHashMap_contains___at_Lean_Elab_Command_addBuiltinCommandElab___spec__4___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__3; lean_object* l_List_head_x21___at_Lean_Elab_Command_getScope___spec__1(lean_object*); +lean_object* l___private_Init_Lean_Elab_Command_9__toCommandResult___boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_foldArgsAuxM___main___at_Lean_Elab_Command_elabUniverses___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_catchExceptions(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAux___main___at_Lean_Elab_Command_elabCommand___main___spec__3___boxed(lean_object*, lean_object*, lean_object*); @@ -36,11 +37,9 @@ extern lean_object* l_Lean_Parser_declareBuiltinParser___closed__8; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabNamespace___closed__3; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabInitQuot___closed__3; lean_object* l_Lean_Elab_Command_addDecl(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation(lean_object*); lean_object* l_Lean_Elab_Term_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabCommand___main___closed__3; lean_object* lean_nat_div(lean_object*, lean_object*); -lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve(lean_object*); lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabSection___closed__2; extern lean_object* l_Lean_nameToExprAux___main___closed__1; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabOpen___closed__3; @@ -51,9 +50,9 @@ extern lean_object* l_Lean_Elab_Term_elabTermAux___main___closed__6; lean_object* l_Lean_Elab_Command_CommandElabCoreM_monadState___closed__1; lean_object* l_Lean_Elab_Command_trace___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_registerBuiltinCommandElabAttr___closed__1; -lean_object* l_String_toFormat(lean_object*); lean_object* l_Lean_Elab_Command_addContext(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Environment_registerNamespace___main(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Command_11__addScopes___main___closed__2; extern lean_object* l_Lean_MessageData_ofList___closed__3; lean_object* l_Lean_Elab_Command_CommandElabCoreM_monadState___closed__2; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabSection(lean_object*); @@ -61,6 +60,7 @@ lean_object* lean_array_uget(lean_object*, size_t); lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabVariable(lean_object*); lean_object* lean_io_error_to_string(lean_object*); lean_object* l_Lean_Elab_Term_inferType(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l___private_Init_Lean_Elab_Command_14__checkEndHeader___main(lean_object*, lean_object*); uint8_t l_Lean_Name_lt___main(lean_object*, lean_object*); lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabSetOption___closed__1; lean_object* l_Lean_Elab_Command_liftIOCore(lean_object*); @@ -72,18 +72,20 @@ extern lean_object* l_Lean_registerTraceClass___closed__1; lean_object* l_Lean_Elab_log___at_Lean_Elab_Command_logTrace___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_liftIO(lean_object*); extern size_t l_PersistentHashMap_insertAux___main___rarg___closed__2; +lean_object* l___private_Init_Lean_Elab_Command_11__addScopes___main___closed__1; lean_object* l_Lean_SMap_empty___at_Lean_Elab_Command_mkBuiltinCommandElabTable___spec__1; -lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve___closed__1; lean_object* l_Lean_Syntax_getIdAt(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_commandElabAttribute; lean_object* l_Lean_Elab_Command_elabUniverse(lean_object*, lean_object*, lean_object*); lean_object* lean_array_fswap(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_withNamespace___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_runTermElabM___rarg___closed__1; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabSetOption___closed__2; lean_object* l_Lean_Elab_Command_elabCheck___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Command_9__toCommandResult(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_logUnknownDecl(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_withIncRecDepth___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_SynthM_inhabited___lambda__1___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Command_17__checkEndHeader___main___boxed(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_Elab_Command_withDeclId___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_throwUnsupportedSyntax___boxed(lean_object*, lean_object*); extern lean_object* l_Array_empty___closed__1; @@ -92,47 +94,42 @@ lean_object* l_Lean_Elab_Command_CommandElabM_monadLog___lambda__2(lean_object*, lean_object* lean_environment_find(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_withFreshMacroScope___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabUniverses(lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve___closed__2; lean_object* l_Lean_Elab_Command_elabOpen___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_runTermElabM(lean_object*); -lean_object* l___private_Init_Lean_Elab_Command_12__toCommandResult___rarg(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Command_section___elambda__1___closed__2; lean_object* lean_dbg_trace(lean_object*, lean_object*); lean_object* lean_io_mk_ref(lean_object*, lean_object*); lean_object* l_Lean_Elab_ElabFnTable_insert___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Command_8__elabCommandUsing(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_append___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSetOption(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Command_logTrace___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_registerBuiltinCommandElabAttr___closed__2; -lean_object* l___private_Init_Lean_Elab_Command_9__mkTermContext___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_io_ref_get(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_compileDecl(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabUniverse(lean_object*); +lean_object* l___private_Init_Lean_Elab_Command_9__toCommandResult___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabCommand___main___closed__7; lean_object* l_Lean_Elab_Command_getCurrMacroScope___boxed(lean_object*, lean_object*); uint8_t l_PersistentHashMap_containsAtAux___main___at_Lean_Parser_mkFreshKindAux___main___spec__3(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Syntax_reprint___main(lean_object*); +lean_object* l___private_Init_Lean_Elab_Command_8__getVarDecls(lean_object*); lean_object* l_Lean_Syntax_foldArgsAuxM___main___at_Lean_Elab_Command_elabOpenSimple___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_declareBuiltinCommandElab___closed__5; -lean_object* l___private_Init_Lean_Elab_Command_14__addScopes___main___closed__2; +lean_object* l___private_Init_Lean_Elab_Command_11__addScopes___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_State_inhabited___closed__4; +lean_object* l___private_Init_Lean_Elab_Command_5__elabCommandUsing(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_elabVariables___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabCheck(lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); -lean_object* l_List_find_x3f___main___rarg(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Command_15__addNamespace(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Command_11__addScopes___main(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_registerBuiltinCommandElabAttr(lean_object*); lean_object* l_Lean_Elab_Command_elabUniverse___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSynth___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Command_init__quot___elambda__1___closed__2; extern lean_object* l_Lean_getMaxRecDepth___closed__1; -lean_object* l___private_Init_Lean_Elab_Command_12__toCommandResult(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_elabNotation___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_CommandElabM_monadLog___closed__11; extern lean_object* l_Lean_Name_inhabited; lean_object* l_PersistentArray_push___rarg(lean_object*, lean_object*); @@ -145,17 +142,14 @@ lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__2; lean_object* l_Lean_Elab_Command_CommandElabM_monadLog___lambda__2___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_isLevelDefEqAux___main___closed__5; lean_object* l_List_foldl___main___at_Lean_Elab_Command_sortDeclLevelParams___spec__1___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix___closed__1; lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_addOpenDecl___spec__1(lean_object*, lean_object*, lean_object*); size_t l_USize_shiftRight(size_t, size_t); lean_object* l_Lean_SMap_find_x3f___at_Lean_Elab_Command_elabCommand___main___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_getPos___at_Lean_Elab_Command_throwError___spec__2___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_20__synthesizeSyntheticMVarsAux___main(uint8_t, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Exception_inhabited___closed__1; lean_object* l_Lean_Elab_Command_Scope_inhabited; extern lean_object* l_Lean_Parser_Command_section___elambda__1___closed__1; extern lean_object* l_Lean_Meta_MetaHasEval___rarg___closed__4; -extern lean_object* l_Lean_Parser_Command_mixfix___elambda__1___closed__2; lean_object* l_Lean_Name_getNumParts___main(lean_object*); lean_object* l_Lean_Elab_Command_elabOpen(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_mkMessageAt___at_Lean_Elab_Command_throwError___spec__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); @@ -167,7 +161,6 @@ lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_withDeclId__ lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_elabVariables___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabUniverses___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabVariables(lean_object*); -lean_object* l_Lean_Elab_Command_elabMixfix___boxed(lean_object*, lean_object*); lean_object* l_HashMapImp_find_x3f___at_Lean_Elab_Command_elabCommand___main___spec__5___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_AttributeImpl_inhabited___closed__2; lean_object* lean_nat_add(lean_object*, lean_object*); @@ -178,16 +171,13 @@ lean_object* l_Lean_Elab_Command_addBuiltinCommandElab(lean_object*, lean_object lean_object* l_Lean_Elab_Command_State_inhabited___closed__3; lean_object* l_Lean_Elab_Command_withIncRecDepth___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_setOption___closed__1; -lean_object* l___private_Init_Lean_Elab_Command_8__elabCommandUsing___main(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_foldArgsAuxM___main___at_Lean_Elab_Command_elabOpenRenaming___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Data_Array_QSort_1__partitionAux___main___at_Lean_Elab_Command_sortDeclLevelParams___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabUniverses___closed__3; lean_object* l_Lean_Elab_Command_elabEnd___closed__4; lean_object* l_Lean_Elab_Command_declareBuiltinCommandElab(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabUniverses___closed__1; -lean_object* l_Lean_Elab_Command_elabNotation___rarg(lean_object*); lean_object* l_Lean_Elab_Command_State_inhabited___closed__1; -lean_object* l___private_Init_Lean_Elab_Term_5__fromMetaException(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_PersistentEnvExtension_inhabited___rarg___closed__1; lean_object* l_Lean_Elab_Command_declareBuiltinCommandElab___closed__4; lean_object* l___private_Init_Data_Array_QSort_1__partitionAux___main___at_Lean_Elab_Command_sortDeclLevelParams___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -196,12 +186,15 @@ extern lean_object* l_Lean_LocalContext_Inhabited___closed__2; lean_object* l_Lean_Elab_Command_elabSynth(lean_object*, lean_object*, lean_object*); lean_object* l_List_foldl___main___at_Lean_Elab_Command_elabExport___spec__2(lean_object*, lean_object*); lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabInitQuot___closed__2; +lean_object* l___private_Init_Lean_Elab_Command_11__addScopes___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Command_12__addNamespace(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_dbgTrace___rarg___closed__1; lean_object* l_Lean_Syntax_foldArgsAuxM___main___at_Lean_Elab_Command_elabOpenRenaming___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_setOption___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_CommandElabCoreM_monadState___closed__3; +lean_object* l___private_Init_Lean_Elab_Term_2__fromMetaException(lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_Elab_Command_elabExport___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_CommandElabM_inhabited(lean_object*); -uint8_t l___private_Init_Lean_Elab_Command_17__checkEndHeader___main(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkBuiltinCommandElabTable(lean_object*); lean_object* l_Lean_Elab_Command_addOpenDecl(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_withIncRecDepth___rarg___closed__2; @@ -210,7 +203,6 @@ extern lean_object* l_Lean_Syntax_getKind___closed__4; lean_object* l_Lean_Elab_Command_CommandElabM_monadLog___closed__9; lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSynth___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_elabMixfix___rarg(lean_object*); lean_object* l_Lean_Elab_mkMessage___at_Lean_Elab_Command_throwError___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabVariables(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_declareBuiltinTermElab___closed__3; @@ -230,14 +222,12 @@ lean_object* l_Lean_getOptionDecl(lean_object*, lean_object*); lean_object* l_Lean_Elab_mkMessage___at_Lean_Elab_Command_throwError___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_CommandElabM_monadLog___closed__2; extern lean_object* l_Lean_numLitKind; -lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation___closed__2; lean_object* l_Lean_Elab_Command_elabExport___closed__3; +lean_object* l___private_Init_Lean_Elab_Command_13__checkAnonymousScope___boxed(lean_object*); lean_object* l_Lean_Elab_Command_dbgTrace(lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Command_5__getBetterRef(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabEnd___closed__8; lean_object* l_Lean_Elab_Command_CommandElabM_monadLog___closed__8; -extern lean_object* l___private_Init_Lean_Elab_Term_12__elabTermUsing___main___closed__3; lean_object* l___private_Init_Lean_Elab_Command_4__modifyGetState(lean_object*); lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabUniverse___closed__3; lean_object* lean_array_swap(lean_object*, lean_object*, lean_object*); @@ -251,11 +241,9 @@ lean_object* l_Lean_Elab_Command_withFreshMacroScope(lean_object*); lean_object* l_Lean_Elab_mkMessageCore(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabVariables___closed__2; lean_object* l_Lean_Elab_Command_elabVariables___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_Command_7__addMacroStack___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_throwAlreadyDeclaredUniverseLevel___rarg___closed__5; lean_object* l_Lean_KernelException_toMessageData(lean_object*, lean_object*); lean_object* l_Lean_Elab_getPos___at_Lean_Elab_Command_throwError___spec__2(lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation___closed__3; lean_object* l_Lean_Elab_Command_registerBuiltinCommandElabAttr___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); uint8_t l_PersistentHashMap_contains___at_Lean_Elab_Command_addBuiltinCommandElab___spec__4(lean_object*, lean_object*); lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabCheck___closed__3; @@ -273,15 +261,14 @@ extern lean_object* l_Lean_Elab_Term_mkConst___closed__4; lean_object* l_List_lengthAux___main___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabCommand___main___closed__6; lean_object* l_Lean_Elab_Command_resolveNamespace(lean_object*, lean_object*, lean_object*); -uint8_t l___private_Init_Lean_Elab_Command_16__checkAnonymousScope(lean_object*); lean_object* l_Lean_Elab_Command_addBuiltinCommandElab___closed__1; lean_object* l_Lean_Elab_Command_mkState(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Command_11__getVarDecls(lean_object*); lean_object* l_Lean_Elab_Command_dbgTrace___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_qsortAux___main___at_Lean_Elab_Command_sortDeclLevelParams___spec__3___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Command_namespace___elambda__1___closed__2; lean_object* l_Lean_Elab_Command_addBuiltinCommandElab___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_CommandElabCoreM_monadState; +lean_object* l___private_Init_Lean_Elab_Command_14__checkEndHeader___boxed(lean_object*, lean_object*); size_t l_Lean_Name_hash(lean_object*); lean_object* l_Lean_Elab_Term_elabTermAux___main(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); extern lean_object* l_Char_HasRepr___closed__1; @@ -289,8 +276,9 @@ lean_object* l_Lean_Elab_Command_registerBuiltinCommandElabAttr___lambda__1___cl lean_object* l___private_Init_Lean_Elab_Command_1__ioErrorToMessage___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Command_1__ioErrorToMessage(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); +lean_object* l_Lean_Syntax_prettyPrint(lean_object*); +uint8_t l___private_Init_Lean_Elab_Command_13__checkAnonymousScope(lean_object*); lean_object* l_Lean_Elab_Command_adaptExpander(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Command_6__prettyPrint___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabSynth___closed__3; lean_object* l_Lean_KVMap_insertCore___main(lean_object*, lean_object*, lean_object*); @@ -300,20 +288,17 @@ lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabUniverses(lean_obje extern lean_object* l_Lean_Parser_Command_namespace___elambda__1___closed__1; extern lean_object* l___regBuiltinParser_Lean_Parser_Command_antiquot___closed__2; lean_object* l_Lean_Elab_Command_elabVariables___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Command_14__addScopes___main___closed__1; lean_object* l_Lean_Syntax_foldArgsAuxM___main___at_Lean_Elab_Command_elabOpenHiding___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_throwError___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Command_14__addScopes___main___closed__3; extern lean_object* l___regBuiltinParser_Lean_Parser_Command_antiquot___closed__1; uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getScopes(lean_object*, lean_object*); -extern lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_Term_3__addMacroStack___spec__1___closed__3; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabUniverses___closed__2; uint8_t l_List_elem___main___at_Lean_Parser_addLeadingParser___spec__7(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabCommand___main___closed__5; -lean_object* l___private_Init_Lean_Elab_Command_6__prettyPrint(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabExport(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_builtinCommandElabTable; +lean_object* l___private_Init_Lean_Elab_Command_6__mkTermContext(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabCheck___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_declareBuiltinParser___closed__7; lean_object* l_Lean_Elab_Command_elabOpenOnly(lean_object*, lean_object*, lean_object*); @@ -321,9 +306,10 @@ extern lean_object* l_Lean_Options_empty; extern lean_object* l_Lean_Parser_Command_variable___elambda__1___closed__2; lean_object* l_ReaderT_read___at_Lean_Elab_Command_CommandElabM_monadLog___spec__1(lean_object*, lean_object*); uint8_t l_coeDecidableEq(uint8_t); +lean_object* l_Lean_Elab_Command_addUnivLevel___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Command_11__addScopes___main___closed__3; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabExport___closed__1; size_t lean_usize_modn(size_t, lean_object*); -lean_object* l___private_Init_Lean_Elab_Command_9__mkTermContext(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_SMap_contains___at_Lean_Elab_Command_addBuiltinCommandElab___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabCommand___main(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_withLogging(lean_object*, lean_object*, lean_object*); @@ -336,6 +322,8 @@ extern lean_object* l_List_head_x21___rarg___closed__2; lean_object* l_PersistentHashMap_containsAux___main___at_Lean_Elab_Command_addBuiltinCommandElab___spec__5___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forMAux___main___at_Lean_Elab_Command_elabCommand___main___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabVariable___closed__2; +lean_object* l_Lean_Elab_addMacroStack(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabSetOption___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Command_open___elambda__1___closed__2; uint8_t l_Array_contains___at_Lean_findField_x3f___main___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_CommandElabM_MonadQuotation___closed__1; @@ -354,6 +342,7 @@ lean_object* l_PersistentHashMap_empty___at_Lean_Elab_Command_mkBuiltinCommandEl lean_object* l_mkHashMapImp___rarg(lean_object*); lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabOpen(lean_object*); lean_object* l_Lean_Elab_Command_elabEnd(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVarsAux___main(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_modifyScope___closed__1; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabCheck(lean_object*); @@ -369,15 +358,16 @@ lean_object* l_Lean_Elab_Command_withDeclId___closed__3; lean_object* l_Lean_ConstantInfo_type(lean_object*); lean_object* l_ReaderT_bind___at_Lean_Elab_Command_CommandElabM_monadLog___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Syntax_foldArgsAuxM___main___at_Lean_Elab_Command_elabOpenOnly___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_throwAlreadyDeclaredUniverseLevel___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_sortDeclLevelParams(lean_object*, lean_object*); lean_object* l_Lean_SMap_empty___at_Lean_Elab_Command_mkBuiltinCommandElabTable___spec__1___closed__1; lean_object* l_Lean_Elab_Command_elabOpenHiding(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabVariable___closed__3; lean_object* l_Lean_Elab_Command_elabCommand___main___closed__2; -extern lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__2; size_t l_USize_land(size_t, size_t); lean_object* l_List_head_x21___at_Lean_Elab_Command_getScope___spec__1___boxed(lean_object*); lean_object* l_Lean_Elab_Command_throwUnsupportedSyntax(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Command_8__getVarDecls___boxed(lean_object*); lean_object* l_Lean_Elab_Command_throwAlreadyDeclaredUniverseLevel___rarg___closed__2; lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__4; extern lean_object* l_Lean_nullKind___closed__2; @@ -386,7 +376,6 @@ lean_object* l_Lean_SMap_contains___at_Lean_Elab_Command_addBuiltinCommandElab__ lean_object* l_Lean_Elab_Command_declareBuiltinCommandElab___closed__1; lean_object* l_Lean_Elab_Command_CommandElabM_monadLog; lean_object* l_Lean_Elab_Command_addUnivLevel(lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix___closed__3; lean_object* l_Lean_Elab_Command_CommandElabCoreM_monadState___closed__4; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabSynth___closed__1; lean_object* l___private_Init_Lean_Elab_Command_2__getState(lean_object*, lean_object*); @@ -402,11 +391,10 @@ lean_object* l_Lean_Elab_Command_elabExport___closed__2; lean_object* l_Lean_Elab_Command_elabCommand___main___closed__1; lean_object* l_AssocList_contains___main___at_Lean_Elab_Command_addBuiltinCommandElab___spec__3___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_withDeclId___spec__4(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_elabReserve(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Command_end___elambda__1___closed__2; lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_setOption___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkCommandElabAttribute___closed__1; -lean_object* l___private_Init_Lean_Elab_Command_14__addScopes(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Command_14__checkEndHeader___main___boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_foldArgsAuxM___main___at_Lean_Elab_Command_elabOpenOnly___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_withMacroExpansion___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabOpen___closed__1; @@ -414,59 +402,55 @@ lean_object* l_Lean_Elab_Command_elabVariables___boxed(lean_object*, lean_object lean_object* l_Lean_Elab_Command_elabExport___closed__1; lean_object* l_Lean_Elab_Command_getScope(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabEnd___closed__6; -extern uint8_t l___private_Init_Lean_Elab_Term_7__hasCDot___main___closed__1; +lean_object* l_Lean_Elab_Command_elabExport___boxed(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_CommandElabM_monadLog___closed__6; +lean_object* l___private_Init_Lean_Elab_Command_10__addScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getCurrMacroScope(lean_object*, lean_object*); lean_object* l_Lean_getMaxRecDepth(lean_object*); lean_object* l_Lean_Elab_Command_elabVariable___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_nameToExprAux___main(lean_object*); -extern lean_object* l_Lean_Parser_Command_reserve___elambda__1___closed__2; -lean_object* l___private_Init_Lean_Elab_Term_1__getBetterRef___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_modifyScope(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_CommandElabM_MonadQuotation___closed__2; lean_object* l_Lean_Syntax_getArgs(lean_object*); -lean_object* l___private_Init_Lean_Elab_Command_17__checkEndHeader___boxed(lean_object*, lean_object*); extern lean_object* l_Bool_HasRepr___closed__2; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabSetOption___closed__3; lean_object* l_Lean_Elab_Command_State_inhabited___closed__2; -lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve___closed__3; +lean_object* l_Lean_Elab_Command_withDeclId___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Environment_addAndCompile(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_throwError(lean_object*); lean_object* l_Lean_Elab_Command_elabEnd___closed__5; lean_object* l_Lean_Syntax_getKind(lean_object*); +lean_object* l___private_Init_Lean_Elab_Command_11__addScopes(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabEnd___closed__1; lean_object* l_Array_iterateMAux___main___at_Lean_Elab_Command_withDeclId___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_CommandElabM_monadLog___closed__5; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabUniverse___closed__2; -lean_object* l___private_Init_Lean_Elab_Command_14__addScopes___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabCommand___main___closed__4; +lean_object* l_Lean_Elab_Command_elabEnd___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_withIncRecDepth(lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_registerBuiltinCommandElabAttr___closed__3; -lean_object* l___private_Init_Lean_Elab_Command_16__checkAnonymousScope___boxed(lean_object*); lean_object* l_Lean_Elab_log___at_Lean_Elab_Term_logTrace___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabCheck___closed__2; extern lean_object* l_Lean_EnvExtension_setState___closed__1; lean_object* l_Lean_Syntax_foldArgsAuxM___main___at_Lean_Elab_Command_elabOpenSimple___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getOptionalIdent_x3f(lean_object*); +lean_object* l___private_Init_Lean_Elab_Command_9__toCommandResult___rarg___closed__1; lean_object* l_Array_filterAux___main___at_Lean_Elab_Command_sortDeclLevelParams___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkCommandElabAttribute___closed__2; lean_object* l_Lean_Elab_Command_elabNamespace(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_elabReserve___rarg(lean_object*); -lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix(lean_object*); lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabInitQuot(lean_object*); lean_object* l_Lean_Elab_Command_withDeclId___closed__2; lean_object* l_PersistentHashMap_find_x3f___at_Lean_Elab_Command_elabCommand___main___spec__2(lean_object*, lean_object*); lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabCheck___closed__1; lean_object* l_Lean_Elab_Command_withNamespace___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_io_ref_reset(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_elabNotation(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_compileDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_logUnknownDecl___closed__1; +extern lean_object* l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__3; lean_object* l_Lean_Syntax_getPos(lean_object*); lean_object* l_Lean_Elab_Command_State_inhabited; -lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix___closed__2; lean_object* l_Lean_Elab_Command_elabOpenHiding___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getOpenDecls(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_throwAlreadyDeclaredUniverseLevel___rarg___closed__4; @@ -483,9 +467,9 @@ lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabUniverse___closed__ extern lean_object* l_Lean_Parser_Command_universes___elambda__1___closed__2; lean_object* l_Lean_Elab_Command_elabEnd___closed__3; lean_object* lean_io_ref_set(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Command_13__addScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_mkOptionalNode___closed__1; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabCheck___closed__4; +lean_object* l___private_Init_Lean_Elab_Command_6__mkTermContext___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getLevelNames(lean_object*, lean_object*); lean_object* l_PersistentHashMap_find_x3f___at_Lean_Elab_Command_elabCommand___main___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkCommandElabAttribute___closed__3; @@ -494,19 +478,16 @@ lean_object* l_Lean_Elab_Command_throwAlreadyDeclaredUniverseLevel___rarg(lean_o extern lean_object* l_Lean_Parser_Command_openOnly___elambda__1___closed__2; lean_object* l_Array_toList___rarg(lean_object*); lean_object* l_Lean_Elab_Command_CommandElabM_monadLog___lambda__3(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Command_12__toCommandResult___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_setOption___closed__3; lean_object* l_Lean_Elab_Command_registerBuiltinCommandElabAttr___lambda__1___closed__5; lean_object* l___private_Init_Lean_Elab_Command_4__modifyGetState___rarg(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l_Lean_PersistentEnvExtension_getState___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_declareBuiltinCommandElab___closed__7; -lean_object* l___private_Init_Lean_Elab_Command_14__addScopes___main(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_foldArgsAuxM___main___at_Lean_Syntax_foldSepRevArgsM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabVariable___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_DataValue_sameCtor(lean_object*, lean_object*); lean_object* l_HashMapImp_find_x3f___at_Lean_Elab_Command_elabCommand___main___spec__5(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_6__fromMetaState(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_foldArgsAuxM___main___at_Lean_Elab_Command_elabOpenHiding___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_Elab_Command_elabCommand___main___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -521,7 +502,6 @@ lean_object* l_Lean_Elab_Command_mkMessageAux___boxed(lean_object*, lean_object* extern lean_object* l___private_Init_Lean_Parser_Parser_8__throwParserCategoryAlreadyDefined___rarg___closed__2; extern lean_object* l_Lean_Parser_Command_variables___elambda__1___closed__2; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabExport___closed__3; -lean_object* l_Lean_Elab_Command_elabReserve___boxed(lean_object*, lean_object*); lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabSynth(lean_object*); lean_object* l_Lean_Elab_Command_liftIOCore___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_logUnknownDecl___closed__2; @@ -533,23 +513,19 @@ lean_object* l_Lean_Elab_Command_registerBuiltinCommandElabAttr___lambda__1___cl lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); extern lean_object* l_Lean_MetavarContext_Inhabited___closed__1; lean_object* l_ReaderT_bind___at_Lean_Elab_Command_CommandElabM_monadLog___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_3__fromMetaState(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_CommandElabM_monadLog___lambda__4(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabVariable___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_registerBuiltinCommandElabAttr___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l___private_Init_Lean_Elab_Command_17__checkEndHeader(lean_object*, lean_object*); lean_object* l_Lean_Syntax_asNode(lean_object*); -lean_object* l___private_Init_Lean_Elab_Command_12__toCommandResult___rarg___closed__1; lean_object* l_Array_iterateMAux___main___at_Lean_Elab_Command_elabExport___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_compile_decl(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Command_12__addNamespace___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_formatStxAux___main(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_elabMixfix(lean_object*, lean_object*); -lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation___closed__1; lean_object* l_Lean_Elab_Command_CommandElabM_inhabited___closed__1; lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_elabVariable___spec__1(lean_object*, lean_object*, lean_object*); -uint8_t l_List_isEmpty___rarg(lean_object*); lean_object* l_Lean_Elab_Command_elabInitQuot(lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Command_7__addMacroStack(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toStringWithSep___main(lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__1; lean_object* l_Lean_Elab_mkMessageAt___at_Lean_Elab_Command_throwError___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -566,29 +542,33 @@ extern lean_object* l_Lean_Parser_Command_synth___elambda__1___closed__2; lean_object* l_Lean_Elab_Command_registerBuiltinCommandElabAttr___lambda__1___closed__1; lean_object* l_Lean_Elab_Command_elabSynth___closed__3; lean_object* l_IO_ofExcept___at___private_Init_Lean_Elab_Util_6__ElabAttribute_add___spec__1(lean_object*, lean_object*); -lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_Command_7__addMacroStack___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkMessageAux(lean_object*, lean_object*, lean_object*, uint8_t); lean_object* l_Lean_mkConst(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Command_10__mkTermState___boxed(lean_object*); +lean_object* l___private_Init_Lean_Elab_Command_7__mkTermState(lean_object*); lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__5; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabNamespace___closed__1; +extern uint8_t l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; lean_object* l_Lean_Elab_Command_CommandElabM_MonadQuotation___closed__3; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabSection___closed__1; extern lean_object* l_Lean_PersistentEnvExtension_inhabited___rarg___closed__4; extern lean_object* l_Lean_initAttr; lean_object* l_Lean_Elab_Command_logTrace___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Command_11__getVarDecls___boxed(lean_object*); +uint8_t l___private_Init_Lean_Elab_Command_14__checkEndHeader(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_declareBuiltinCommandElab___closed__2; extern lean_object* l_Lean_Parser_Command_openHiding___elambda__1___closed__2; lean_object* l_Lean_Elab_syntaxNodeKindOfAttrParam(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_regBuiltinCommandParserAttr___closed__3; +lean_object* l_Lean_Elab_Command_elabInitQuot___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabNamespace___closed__2; lean_object* l_Lean_Elab_Command_CommandElabM_MonadQuotation; lean_object* l___private_Init_Lean_Elab_Command_3__setState(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_throwError___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Command_7__mkTermState___boxed(lean_object*); lean_object* l_Lean_Elab_resolveNamespace(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Parser_Parser_18__BuiltinParserAttribute_add___closed__2; extern lean_object* l_Lean_NameGenerator_Inhabited___closed__3; lean_object* l_Lean_Elab_Command_Exception_inhabited; +lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_addDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Elab_expandMacro(lean_object*, lean_object*, lean_object*); @@ -598,7 +578,6 @@ lean_object* l_Lean_Elab_log___at_Lean_Elab_Command_logTrace___spec__1(lean_obje lean_object* l_monadInhabited___rarg(lean_object*, lean_object*); lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabEnd___closed__2; lean_object* lean_add_decl(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Command_10__mkTermState(lean_object*); lean_object* l_Lean_Elab_Command_logTrace(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* _init_l_Lean_Elab_Command_Scope_inhabited___closed__1() { _start: @@ -784,15 +763,21 @@ return x_6; lean_object* l___private_Init_Lean_Elab_Command_1__ioErrorToMessage(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; uint8_t x_7; lean_object* x_8; -x_4 = lean_io_error_to_string(x_3); -x_5 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_5, 0, x_4); -x_6 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_6, 0, x_5); -x_7 = 2; -x_8 = l_Lean_Elab_Command_mkMessageAux(x_1, x_2, x_6, x_7); -return x_8; +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_11; +x_4 = lean_ctor_get(x_1, 5); +lean_inc(x_4); +lean_inc(x_4); +x_5 = l_Lean_Elab_getBetterRef(x_2, x_4); +x_6 = lean_io_error_to_string(x_3); +x_7 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_7, 0, x_6); +x_8 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_8, 0, x_7); +x_9 = l_Lean_Elab_addMacroStack(x_8, x_4); +x_10 = 2; +x_11 = l_Lean_Elab_Command_mkMessageAux(x_1, x_5, x_9, x_10); +lean_dec(x_5); +return x_11; } } lean_object* l___private_Init_Lean_Elab_Command_1__ioErrorToMessage___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -1980,180 +1965,6 @@ lean_dec(x_1); return x_4; } } -lean_object* l___private_Init_Lean_Elab_Command_5__getBetterRef(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_Syntax_getPos(x_1); -if (lean_obj_tag(x_4) == 0) -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_5 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Term_1__getBetterRef___lambda__1___boxed), 2, 1); -lean_closure_set(x_5, 0, x_4); -x_6 = lean_ctor_get(x_2, 5); -lean_inc(x_6); -lean_dec(x_2); -x_7 = l_List_find_x3f___main___rarg(x_5, x_6); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_1); -lean_ctor_set(x_8, 1, x_3); -return x_8; -} -else -{ -lean_object* x_9; lean_object* x_10; -lean_dec(x_1); -x_9 = lean_ctor_get(x_7, 0); -lean_inc(x_9); -lean_dec(x_7); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_10, 1, x_3); -return x_10; -} -} -else -{ -lean_object* x_11; -lean_dec(x_4); -lean_dec(x_2); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_1); -lean_ctor_set(x_11, 1, x_3); -return x_11; -} -} -} -lean_object* l___private_Init_Lean_Elab_Command_6__prettyPrint(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_Syntax_reprint___main(x_1); -if (lean_obj_tag(x_4) == 0) -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_5 = lean_box(0); -x_6 = lean_unsigned_to_nat(0u); -x_7 = l_Lean_Syntax_formatStxAux___main(x_5, x_6, x_1); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_3); -return x_8; -} -else -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; -lean_dec(x_1); -x_9 = lean_ctor_get(x_4, 0); -lean_inc(x_9); -lean_dec(x_4); -x_10 = l_String_toFormat(x_9); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_3); -return x_11; -} -} -} -lean_object* l___private_Init_Lean_Elab_Command_6__prettyPrint___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l___private_Init_Lean_Elab_Command_6__prettyPrint(x_1, x_2, x_3); -lean_dec(x_2); -return x_4; -} -} -lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_Command_7__addMacroStack___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_5; -x_5 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_5, 0, x_1); -lean_ctor_set(x_5, 1, x_4); -return x_5; -} -else -{ -lean_object* x_6; 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_2, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_2, 1); -lean_inc(x_7); -lean_dec(x_2); -x_8 = l___private_Init_Lean_Elab_Command_6__prettyPrint(x_6, x_3, x_4); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_8, 1); -lean_inc(x_10); -lean_dec(x_8); -x_11 = l_Lean_MessageData_ofList___closed__3; -x_12 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_12, 0, x_1); -lean_ctor_set(x_12, 1, x_11); -x_13 = l_List_foldlM___main___at___private_Init_Lean_Elab_Term_3__addMacroStack___spec__1___closed__3; -x_14 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_14, 0, x_12); -lean_ctor_set(x_14, 1, x_13); -x_15 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_15, 0, x_9); -x_16 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_16, 0, x_11); -lean_ctor_set(x_16, 1, x_15); -x_17 = lean_unsigned_to_nat(2u); -x_18 = lean_alloc_ctor(6, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -x_19 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_19, 0, x_14); -lean_ctor_set(x_19, 1, x_18); -x_1 = x_19; -x_2 = x_7; -x_4 = x_10; -goto _start; -} -} -} -lean_object* l___private_Init_Lean_Elab_Command_7__addMacroStack(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_ctor_get(x_2, 5); -lean_inc(x_4); -x_5 = l_List_isEmpty___rarg(x_4); -if (x_5 == 0) -{ -lean_object* x_6; -x_6 = l_List_foldlM___main___at___private_Init_Lean_Elab_Command_7__addMacroStack___spec__1(x_1, x_4, x_2, x_3); -lean_dec(x_2); -return x_6; -} -else -{ -lean_object* x_7; -lean_dec(x_4); -lean_dec(x_2); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_1); -lean_ctor_set(x_7, 1, x_3); -return x_7; -} -} -} -lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_Command_7__addMacroStack___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_List_foldlM___main___at___private_Init_Lean_Elab_Command_7__addMacroStack___spec__1(x_1, x_2, x_3, x_4); -lean_dec(x_3); -return x_5; -} -} lean_object* l_Lean_Elab_getPos___at_Lean_Elab_Command_throwError___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -2367,74 +2178,65 @@ return x_10; lean_object* l_Lean_Elab_Command_throwError___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; -lean_inc(x_3); -x_5 = l___private_Init_Lean_Elab_Command_5__getBetterRef(x_1, x_3, x_4); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_5, 1); -lean_inc(x_7); -lean_dec(x_5); -lean_inc(x_3); -x_8 = l___private_Init_Lean_Elab_Command_7__addMacroStack(x_2, x_3, x_7); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_8, 1); -lean_inc(x_10); -lean_dec(x_8); -x_11 = 2; -x_12 = l_Lean_Elab_mkMessage___at_Lean_Elab_Command_throwError___spec__1(x_9, x_11, x_6, x_3, x_10); +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; +x_5 = lean_ctor_get(x_3, 5); +lean_inc(x_5); +lean_inc(x_5); +x_6 = l_Lean_Elab_getBetterRef(x_1, x_5); +x_7 = l_Lean_Elab_addMacroStack(x_2, x_5); +x_8 = 2; +x_9 = l_Lean_Elab_mkMessage___at_Lean_Elab_Command_throwError___spec__1(x_7, x_8, x_6, x_3, x_4); lean_dec(x_6); -if (lean_obj_tag(x_12) == 0) +if (lean_obj_tag(x_9) == 0) { -uint8_t x_13; -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) +uint8_t x_10; +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) { -lean_object* x_14; lean_object* x_15; -x_14 = lean_ctor_get(x_12, 0); +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set_tag(x_9, 1); +lean_ctor_set(x_9, 0, x_12); +return x_9; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_13 = lean_ctor_get(x_9, 0); +x_14 = lean_ctor_get(x_9, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_9); x_15 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set_tag(x_12, 1); -lean_ctor_set(x_12, 0, x_15); -return x_12; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_16 = lean_ctor_get(x_12, 0); -x_17 = lean_ctor_get(x_12, 1); -lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_12); -x_18 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_18, 0, x_16); -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_17); -return x_19; +lean_ctor_set(x_15, 0, x_13); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +return x_16; } } else { -uint8_t x_20; -x_20 = !lean_is_exclusive(x_12); -if (x_20 == 0) +uint8_t x_17; +x_17 = !lean_is_exclusive(x_9); +if (x_17 == 0) { -return x_12; +return x_9; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_12, 0); -x_22 = lean_ctor_get(x_12, 1); -lean_inc(x_22); -lean_inc(x_21); -lean_dec(x_12); -x_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_21); -lean_ctor_set(x_23, 1, x_22); -return x_23; +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_9, 0); +x_19 = lean_ctor_get(x_9, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_9); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +return x_20; } } } @@ -2443,7 +2245,7 @@ lean_object* l_Lean_Elab_Command_throwError(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_throwError___rarg), 4, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_throwError___rarg___boxed), 4, 0); return x_2; } } @@ -2479,6 +2281,15 @@ lean_dec(x_3); return x_7; } } +lean_object* l_Lean_Elab_Command_throwError___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Elab_Command_throwError___rarg(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Command_logTrace___spec__2(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -4421,7 +4232,6 @@ lean_dec(x_15); if (x_16 == 0) { uint8_t x_17; -lean_dec(x_1); x_17 = !lean_is_exclusive(x_3); if (x_17 == 0) { @@ -4504,7 +4314,6 @@ else uint8_t x_38; lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_38 = !lean_is_exclusive(x_5); if (x_38 == 0) { @@ -4530,108 +4339,113 @@ lean_object* l_Lean_Elab_Command_withIncRecDepth(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_withIncRecDepth___rarg), 4, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_withIncRecDepth___rarg___boxed), 4, 0); return x_2; } } -lean_object* l___private_Init_Lean_Elab_Command_8__elabCommandUsing___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_Command_withIncRecDepth___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Elab_Command_withIncRecDepth___rarg(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l___private_Init_Lean_Elab_Command_5__elabCommandUsing___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { if (lean_obj_tag(x_2) == 0) { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_object* x_5; lean_object* x_6; 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_1); -x_5 = l___private_Init_Lean_Elab_Command_6__prettyPrint(x_1, x_3, x_4); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_5, 1); -lean_inc(x_7); -lean_dec(x_5); -x_8 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_8, 0, x_6); -x_9 = l_Lean_MessageData_ofList___closed__3; -x_10 = lean_alloc_ctor(8, 2, 0); +x_5 = l_Lean_Syntax_prettyPrint(x_1); +x_6 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_6, 0, x_5); +x_7 = l_Lean_MessageData_ofList___closed__3; +x_8 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +x_9 = lean_unsigned_to_nat(2u); +x_10 = lean_alloc_ctor(6, 2, 0); lean_ctor_set(x_10, 0, x_9); lean_ctor_set(x_10, 1, x_8); -x_11 = lean_unsigned_to_nat(2u); -x_12 = lean_alloc_ctor(6, 2, 0); +x_11 = l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__3; +x_12 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_12, 0, x_11); lean_ctor_set(x_12, 1, x_10); -x_13 = l___private_Init_Lean_Elab_Term_12__elabTermUsing___main___closed__3; -x_14 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_12); -x_15 = l_Lean_Elab_Command_throwError___rarg(x_1, x_14, x_3, x_7); -return x_15; +x_13 = l_Lean_Elab_Command_throwError___rarg(x_1, x_12, x_3, x_4); +lean_dec(x_1); +return x_13; } else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_2, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_2, 1); -lean_inc(x_17); +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_2, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_2, 1); +lean_inc(x_15); lean_dec(x_2); lean_inc(x_3); lean_inc(x_1); -x_18 = lean_apply_3(x_16, x_1, x_3, x_4); -if (lean_obj_tag(x_18) == 0) +x_16 = lean_apply_3(x_14, x_1, x_3, x_4); +if (lean_obj_tag(x_16) == 0) { -lean_dec(x_17); +lean_dec(x_15); lean_dec(x_3); lean_dec(x_1); -return x_18; +return x_16; } else { +lean_object* x_17; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +if (lean_obj_tag(x_17) == 0) +{ +uint8_t x_18; +lean_dec(x_15); +lean_dec(x_3); +lean_dec(x_1); +x_18 = !lean_is_exclusive(x_16); +if (x_18 == 0) +{ lean_object* x_19; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -if (lean_obj_tag(x_19) == 0) -{ -uint8_t x_20; -lean_dec(x_17); -lean_dec(x_3); -lean_dec(x_1); -x_20 = !lean_is_exclusive(x_18); -if (x_20 == 0) -{ -lean_object* x_21; -x_21 = lean_ctor_get(x_18, 0); -lean_dec(x_21); -return x_18; +x_19 = lean_ctor_get(x_16, 0); +lean_dec(x_19); +return x_16; } else { -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_18, 1); +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_16, 1); +lean_inc(x_20); +lean_dec(x_16); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_17); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +else +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_16, 1); lean_inc(x_22); -lean_dec(x_18); -x_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_19); -lean_ctor_set(x_23, 1, x_22); -return x_23; -} -} -else -{ -lean_object* x_24; -x_24 = lean_ctor_get(x_18, 1); -lean_inc(x_24); -lean_dec(x_18); -x_2 = x_17; -x_4 = x_24; +lean_dec(x_16); +x_2 = x_15; +x_4 = x_22; goto _start; } } } } } -lean_object* l___private_Init_Lean_Elab_Command_8__elabCommandUsing(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Elab_Command_5__elabCommandUsing(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Init_Lean_Elab_Command_8__elabCommandUsing___main(x_1, x_2, x_3, x_4); +x_5 = l___private_Init_Lean_Elab_Command_5__elabCommandUsing___main(x_1, x_2, x_3, x_4); return x_5; } } @@ -5321,6 +5135,7 @@ x_60 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_60, 0, x_58); lean_ctor_set(x_60, 1, x_59); x_61 = l_Lean_Elab_Command_throwError___rarg(x_1, x_60, x_34, x_51); +lean_dec(x_1); return x_61; } else @@ -5426,7 +5241,7 @@ lean_dec(x_7); x_78 = lean_ctor_get(x_45, 0); lean_inc(x_78); lean_dec(x_45); -x_79 = l___private_Init_Lean_Elab_Command_8__elabCommandUsing___main(x_1, x_78, x_34, x_38); +x_79 = l___private_Init_Lean_Elab_Command_5__elabCommandUsing___main(x_1, x_78, x_34, x_38); return x_79; } } @@ -5475,6 +5290,7 @@ lean_dec(x_8); lean_dec(x_7); x_101 = l_Lean_Elab_Command_elabCommand___main___closed__3; x_102 = l_Lean_Elab_Command_throwError___rarg(x_1, x_101, x_34, x_33); +lean_dec(x_1); return x_102; } } @@ -5733,6 +5549,7 @@ x_142 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_142, 0, x_140); lean_ctor_set(x_142, 1, x_141); x_143 = l_Lean_Elab_Command_throwError___rarg(x_1, x_142, x_116, x_133); +lean_dec(x_1); return x_143; } else @@ -5840,7 +5657,7 @@ lean_dec(x_7); x_160 = lean_ctor_get(x_127, 0); lean_inc(x_160); lean_dec(x_127); -x_161 = l___private_Init_Lean_Elab_Command_8__elabCommandUsing___main(x_1, x_160, x_116, x_120); +x_161 = l___private_Init_Lean_Elab_Command_5__elabCommandUsing___main(x_1, x_160, x_116, x_120); return x_161; } } @@ -5891,6 +5708,7 @@ lean_dec(x_8); lean_dec(x_7); x_183 = l_Lean_Elab_Command_elabCommand___main___closed__3; x_184 = l_Lean_Elab_Command_throwError___rarg(x_1, x_183, x_116, x_115); +lean_dec(x_1); return x_184; } } @@ -6225,6 +6043,7 @@ x_235 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_235, 0, x_233); lean_ctor_set(x_235, 1, x_234); x_236 = l_Lean_Elab_Command_throwError___rarg(x_1, x_235, x_209, x_226); +lean_dec(x_1); return x_236; } else @@ -6332,7 +6151,7 @@ lean_dec(x_7); x_253 = lean_ctor_get(x_220, 0); lean_inc(x_253); lean_dec(x_220); -x_254 = l___private_Init_Lean_Elab_Command_8__elabCommandUsing___main(x_1, x_253, x_209, x_213); +x_254 = l___private_Init_Lean_Elab_Command_5__elabCommandUsing___main(x_1, x_253, x_209, x_213); return x_254; } } @@ -6383,6 +6202,7 @@ lean_dec(x_8); lean_dec(x_7); x_276 = l_Lean_Elab_Command_elabCommand___main___closed__3; x_277 = l_Lean_Elab_Command_throwError___rarg(x_1, x_276, x_209, x_208); +lean_dec(x_1); return x_277; } } @@ -6465,6 +6285,7 @@ lean_dec(x_8); lean_dec(x_7); x_286 = l_Lean_Elab_Term_withIncRecDepth___rarg___closed__2; x_287 = l_Lean_Elab_Command_throwError___rarg(x_1, x_286, x_2, x_6); +lean_dec(x_1); x_288 = !lean_is_exclusive(x_287); if (x_288 == 0) { @@ -6710,7 +6531,7 @@ return x_32; } } } -lean_object* l___private_Init_Lean_Elab_Command_9__mkTermContext(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Elab_Command_6__mkTermContext(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; uint8_t x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_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; @@ -6774,17 +6595,17 @@ lean_ctor_set_uint8(x_24, sizeof(void*)*10, x_8); return x_24; } } -lean_object* l___private_Init_Lean_Elab_Command_9__mkTermContext___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Elab_Command_6__mkTermContext___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l___private_Init_Lean_Elab_Command_9__mkTermContext(x_1, x_2, x_3); +x_4 = l___private_Init_Lean_Elab_Command_6__mkTermContext(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); return x_4; } } -lean_object* l___private_Init_Lean_Elab_Command_10__mkTermState(lean_object* x_1) { +lean_object* l___private_Init_Lean_Elab_Command_7__mkTermState(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; @@ -6818,16 +6639,16 @@ lean_ctor_set(x_13, 5, x_4); return x_13; } } -lean_object* l___private_Init_Lean_Elab_Command_10__mkTermState___boxed(lean_object* x_1) { +lean_object* l___private_Init_Lean_Elab_Command_7__mkTermState___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Init_Lean_Elab_Command_10__mkTermState(x_1); +x_2 = l___private_Init_Lean_Elab_Command_7__mkTermState(x_1); lean_dec(x_1); return x_2; } } -lean_object* l___private_Init_Lean_Elab_Command_11__getVarDecls(lean_object* x_1) { +lean_object* l___private_Init_Lean_Elab_Command_8__getVarDecls(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; @@ -6839,16 +6660,16 @@ lean_dec(x_3); return x_4; } } -lean_object* l___private_Init_Lean_Elab_Command_11__getVarDecls___boxed(lean_object* x_1) { +lean_object* l___private_Init_Lean_Elab_Command_8__getVarDecls___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Init_Lean_Elab_Command_11__getVarDecls(x_1); +x_2 = l___private_Init_Lean_Elab_Command_8__getVarDecls(x_1); lean_dec(x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_Command_12__toCommandResult___rarg___closed__1() { +lean_object* _init_l___private_Init_Lean_Elab_Command_9__toCommandResult___rarg___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -6860,7 +6681,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* l___private_Init_Lean_Elab_Command_12__toCommandResult___rarg(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Lean_Elab_Command_9__toCommandResult___rarg(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -7088,26 +6909,26 @@ else lean_object* x_55; lean_object* x_56; lean_dec(x_2); lean_dec(x_1); -x_55 = l___private_Init_Lean_Elab_Command_12__toCommandResult___rarg___closed__1; +x_55 = l___private_Init_Lean_Elab_Command_9__toCommandResult___rarg___closed__1; x_56 = l_unreachable_x21___rarg(x_55); return x_56; } } } } -lean_object* l___private_Init_Lean_Elab_Command_12__toCommandResult(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Lean_Elab_Command_9__toCommandResult(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Command_12__toCommandResult___rarg), 2, 0); +x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Command_9__toCommandResult___rarg), 2, 0); return x_3; } } -lean_object* l___private_Init_Lean_Elab_Command_12__toCommandResult___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Lean_Elab_Command_9__toCommandResult___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l___private_Init_Lean_Elab_Command_12__toCommandResult(x_1, x_2); +x_3 = l___private_Init_Lean_Elab_Command_9__toCommandResult(x_1, x_2); lean_dec(x_2); return x_3; } @@ -7152,9 +6973,9 @@ lean_inc(x_6); x_7 = lean_ctor_get(x_5, 1); lean_inc(x_7); lean_dec(x_5); -x_8 = l___private_Init_Lean_Elab_Command_11__getVarDecls(x_6); -x_9 = l___private_Init_Lean_Elab_Command_9__mkTermContext(x_3, x_6, x_1); -x_10 = l___private_Init_Lean_Elab_Command_10__mkTermState(x_6); +x_8 = l___private_Init_Lean_Elab_Command_8__getVarDecls(x_6); +x_9 = l___private_Init_Lean_Elab_Command_6__mkTermContext(x_3, x_6, x_1); +x_10 = l___private_Init_Lean_Elab_Command_7__mkTermState(x_6); lean_dec(x_6); x_11 = l_Lean_Elab_Term_elabBinders___rarg(x_8, x_2, x_9, x_10); lean_dec(x_8); @@ -8290,7 +8111,7 @@ return x_14; } } } -lean_object* l___private_Init_Lean_Elab_Command_13__addScope(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Elab_Command_10__addScope(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; @@ -8593,7 +8414,7 @@ return x_72; } } } -lean_object* _init_l___private_Init_Lean_Elab_Command_14__addScopes___main___closed__1() { +lean_object* _init_l___private_Init_Lean_Elab_Command_11__addScopes___main___closed__1() { _start: { lean_object* x_1; @@ -8601,27 +8422,27 @@ x_1 = lean_mk_string("invalid scope"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_Command_14__addScopes___main___closed__2() { +lean_object* _init_l___private_Init_Lean_Elab_Command_11__addScopes___main___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_Command_14__addScopes___main___closed__1; +x_1 = l___private_Init_Lean_Elab_Command_11__addScopes___main___closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_Command_14__addScopes___main___closed__3() { +lean_object* _init_l___private_Init_Lean_Elab_Command_11__addScopes___main___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_Command_14__addScopes___main___closed__2; +x_1 = l___private_Init_Lean_Elab_Command_11__addScopes___main___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Init_Lean_Elab_Command_14__addScopes___main(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* l___private_Init_Lean_Elab_Command_11__addScopes___main(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: { switch (lean_obj_tag(x_4)) { @@ -8630,7 +8451,6 @@ case 0: lean_object* x_7; lean_object* x_8; lean_dec(x_5); lean_dec(x_2); -lean_dec(x_1); x_7 = lean_box(0); x_8 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_8, 0, x_7); @@ -8647,7 +8467,7 @@ lean_inc(x_10); lean_dec(x_4); lean_inc(x_5); lean_inc(x_2); -x_11 = l___private_Init_Lean_Elab_Command_14__addScopes___main(x_1, x_2, x_3, x_9, x_5, x_6); +x_11 = l___private_Init_Lean_Elab_Command_11__addScopes___main(x_1, x_2, x_3, x_9, x_5, x_6); if (lean_obj_tag(x_11) == 0) { lean_object* x_12; lean_object* x_13; @@ -8666,7 +8486,7 @@ lean_inc(x_14); x_15 = lean_ctor_get(x_13, 1); lean_inc(x_15); lean_dec(x_13); -x_16 = l___private_Init_Lean_Elab_Command_13__addScope(x_2, x_10, x_14, x_5, x_15); +x_16 = l___private_Init_Lean_Elab_Command_10__addScope(x_2, x_10, x_14, x_5, x_15); return x_16; } else @@ -8682,7 +8502,7 @@ lean_inc(x_10); x_20 = lean_name_mk_string(x_19, x_10); x_21 = l_Lean_Name_append___main(x_17, x_20); lean_dec(x_17); -x_22 = l___private_Init_Lean_Elab_Command_13__addScope(x_2, x_10, x_21, x_5, x_18); +x_22 = l___private_Init_Lean_Elab_Command_10__addScope(x_2, x_10, x_21, x_5, x_18); return x_22; } } @@ -8743,51 +8563,62 @@ default: lean_object* x_31; lean_object* x_32; lean_dec(x_4); lean_dec(x_2); -x_31 = l___private_Init_Lean_Elab_Command_14__addScopes___main___closed__3; +x_31 = l___private_Init_Lean_Elab_Command_11__addScopes___main___closed__3; x_32 = l_Lean_Elab_Command_throwError___rarg(x_1, x_31, x_5, x_6); return x_32; } } } } -lean_object* l___private_Init_Lean_Elab_Command_14__addScopes___main___boxed(lean_object* 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___private_Init_Lean_Elab_Command_11__addScopes___main___boxed(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_Init_Lean_Elab_Command_14__addScopes___main(x_1, x_2, x_7, x_4, x_5, x_6); +x_8 = l___private_Init_Lean_Elab_Command_11__addScopes___main(x_1, x_2, x_7, x_4, x_5, x_6); +lean_dec(x_1); return x_8; } } -lean_object* l___private_Init_Lean_Elab_Command_14__addScopes(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* l___private_Init_Lean_Elab_Command_11__addScopes(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_Init_Lean_Elab_Command_14__addScopes___main(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l___private_Init_Lean_Elab_Command_11__addScopes___main(x_1, x_2, x_3, x_4, x_5, x_6); return x_7; } } -lean_object* l___private_Init_Lean_Elab_Command_14__addScopes___boxed(lean_object* 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___private_Init_Lean_Elab_Command_11__addScopes___boxed(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_Init_Lean_Elab_Command_14__addScopes(x_1, x_2, x_7, x_4, x_5, x_6); +x_8 = l___private_Init_Lean_Elab_Command_11__addScopes(x_1, x_2, x_7, x_4, x_5, x_6); +lean_dec(x_1); return x_8; } } -lean_object* l___private_Init_Lean_Elab_Command_15__addNamespace(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Elab_Command_12__addNamespace(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; uint8_t x_6; lean_object* x_7; x_5 = l_Lean_Parser_Command_namespace___elambda__1___closed__1; x_6 = 1; -x_7 = l___private_Init_Lean_Elab_Command_14__addScopes___main(x_1, x_5, x_6, x_2, x_3, x_4); +x_7 = l___private_Init_Lean_Elab_Command_11__addScopes___main(x_1, x_5, x_6, x_2, x_3, x_4); return x_7; } } +lean_object* l___private_Init_Lean_Elab_Command_12__addNamespace___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Init_Lean_Elab_Command_12__addNamespace(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} lean_object* l_Lean_Elab_Command_elabNamespace(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -8798,7 +8629,7 @@ x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) { uint8_t x_6; -x_6 = l___private_Init_Lean_Elab_Term_7__hasCDot___main___closed__1; +x_6 = l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; if (x_6 == 0) { lean_object* x_7; lean_object* x_8; @@ -8819,7 +8650,8 @@ x_11 = l_Lean_Syntax_getId(x_10); lean_dec(x_10); x_12 = l_Lean_Parser_Command_namespace___elambda__1___closed__1; x_13 = 1; -x_14 = l___private_Init_Lean_Elab_Command_14__addScopes___main(x_1, x_12, x_13, x_11, x_2, x_3); +x_14 = l___private_Init_Lean_Elab_Command_11__addScopes___main(x_1, x_12, x_13, x_11, x_2, x_3); +lean_dec(x_1); return x_14; } } @@ -8853,7 +8685,8 @@ x_24 = l_Lean_Syntax_getId(x_23); lean_dec(x_23); x_25 = l_Lean_Parser_Command_namespace___elambda__1___closed__1; x_26 = 1; -x_27 = l___private_Init_Lean_Elab_Command_14__addScopes___main(x_1, x_25, x_26, x_24, x_2, x_3); +x_27 = l___private_Init_Lean_Elab_Command_11__addScopes___main(x_1, x_25, x_26, x_24, x_2, x_3); +lean_dec(x_1); return x_27; } } @@ -8974,7 +8807,7 @@ if (x_11 == 0) { uint8_t x_14; lean_dec(x_9); -x_14 = l___private_Init_Lean_Elab_Term_7__hasCDot___main___closed__1; +x_14 = l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; if (x_14 == 0) { lean_object* x_15; lean_object* x_16; @@ -9000,7 +8833,7 @@ lean_inc(x_19); lean_dec(x_17); x_20 = l_Lean_Parser_Command_section___elambda__1___closed__1; x_21 = l_String_splitAux___main___closed__1; -x_22 = l___private_Init_Lean_Elab_Command_13__addScope(x_20, x_21, x_18, x_2, x_19); +x_22 = l___private_Init_Lean_Elab_Command_10__addScope(x_20, x_21, x_18, x_2, x_19); return x_22; } else @@ -9064,7 +8897,7 @@ lean_inc(x_36); lean_dec(x_34); x_37 = l_Lean_Parser_Command_section___elambda__1___closed__1; x_38 = l_String_splitAux___main___closed__1; -x_39 = l___private_Init_Lean_Elab_Command_13__addScope(x_37, x_38, x_35, x_2, x_36); +x_39 = l___private_Init_Lean_Elab_Command_10__addScope(x_37, x_38, x_35, x_2, x_36); return x_39; } else @@ -9122,7 +8955,8 @@ x_51 = l_Lean_Syntax_getId(x_45); lean_dec(x_45); x_52 = l_Lean_Parser_Command_section___elambda__1___closed__1; x_53 = 0; -x_54 = l___private_Init_Lean_Elab_Command_14__addScopes___main(x_1, x_52, x_53, x_51, x_2, x_3); +x_54 = l___private_Init_Lean_Elab_Command_11__addScopes___main(x_1, x_52, x_53, x_51, x_2, x_3); +lean_dec(x_1); return x_54; } } @@ -9228,7 +9062,7 @@ return x_14; } } } -uint8_t l___private_Init_Lean_Elab_Command_16__checkAnonymousScope(lean_object* x_1) { +uint8_t l___private_Init_Lean_Elab_Command_13__checkAnonymousScope(lean_object* x_1) { _start: { if (lean_obj_tag(x_1) == 0) @@ -9259,17 +9093,17 @@ return x_8; } } } -lean_object* l___private_Init_Lean_Elab_Command_16__checkAnonymousScope___boxed(lean_object* x_1) { +lean_object* l___private_Init_Lean_Elab_Command_13__checkAnonymousScope___boxed(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; -x_2 = l___private_Init_Lean_Elab_Command_16__checkAnonymousScope(x_1); +x_2 = l___private_Init_Lean_Elab_Command_13__checkAnonymousScope(x_1); lean_dec(x_1); x_3 = lean_box(x_2); return x_3; } } -uint8_t l___private_Init_Lean_Elab_Command_17__checkEndHeader___main(lean_object* x_1, lean_object* x_2) { +uint8_t l___private_Init_Lean_Elab_Command_14__checkEndHeader___main(lean_object* x_1, lean_object* x_2) { _start: { switch (lean_obj_tag(x_1)) { @@ -9319,30 +9153,30 @@ return x_13; } } } -lean_object* l___private_Init_Lean_Elab_Command_17__checkEndHeader___main___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Lean_Elab_Command_14__checkEndHeader___main___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Lean_Elab_Command_17__checkEndHeader___main(x_1, x_2); +x_3 = l___private_Init_Lean_Elab_Command_14__checkEndHeader___main(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); return x_4; } } -uint8_t l___private_Init_Lean_Elab_Command_17__checkEndHeader(lean_object* x_1, lean_object* x_2) { +uint8_t l___private_Init_Lean_Elab_Command_14__checkEndHeader(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; -x_3 = l___private_Init_Lean_Elab_Command_17__checkEndHeader___main(x_1, x_2); +x_3 = l___private_Init_Lean_Elab_Command_14__checkEndHeader___main(x_1, x_2); return x_3; } } -lean_object* l___private_Init_Lean_Elab_Command_17__checkEndHeader___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Lean_Elab_Command_14__checkEndHeader___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Lean_Elab_Command_17__checkEndHeader(x_1, x_2); +x_3 = l___private_Init_Lean_Elab_Command_14__checkEndHeader(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -9462,7 +9296,6 @@ else { uint8_t x_104; lean_dec(x_2); -lean_dec(x_1); x_104 = !lean_is_exclusive(x_101); if (x_104 == 0) { @@ -9507,7 +9340,6 @@ else uint8_t x_112; lean_dec(x_6); lean_dec(x_2); -lean_dec(x_1); x_112 = !lean_is_exclusive(x_101); if (x_112 == 0) { @@ -9595,7 +9427,6 @@ else { uint8_t x_42; lean_dec(x_2); -lean_dec(x_1); x_42 = !lean_is_exclusive(x_34); if (x_42 == 0) { @@ -9676,7 +9507,6 @@ else { lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_dec(x_2); -lean_dec(x_1); x_63 = lean_ctor_get(x_55, 0); lean_inc(x_63); x_64 = lean_ctor_get(x_55, 1); @@ -9704,7 +9534,6 @@ else { uint8_t x_67; lean_dec(x_2); -lean_dec(x_1); x_67 = !lean_is_exclusive(x_26); if (x_67 == 0) { @@ -9763,7 +9592,6 @@ uint8_t x_79; lean_dec(x_8); lean_dec(x_6); lean_dec(x_2); -lean_dec(x_1); x_79 = !lean_is_exclusive(x_77); if (x_79 == 0) { @@ -9823,7 +9651,6 @@ lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_dec(x_8); lean_dec(x_6); lean_dec(x_2); -lean_dec(x_1); x_92 = lean_ctor_get(x_90, 0); lean_inc(x_92); x_93 = lean_ctor_get(x_90, 1); @@ -9854,7 +9681,6 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_2); -lean_dec(x_1); x_96 = !lean_is_exclusive(x_71); if (x_96 == 0) { @@ -9880,7 +9706,7 @@ block_22: if (lean_obj_tag(x_6) == 0) { uint8_t x_11; -x_11 = l___private_Init_Lean_Elab_Command_16__checkAnonymousScope(x_8); +x_11 = l___private_Init_Lean_Elab_Command_13__checkAnonymousScope(x_8); lean_dec(x_8); if (x_11 == 0) { @@ -9893,7 +9719,6 @@ else { lean_object* x_14; lean_object* x_15; lean_dec(x_2); -lean_dec(x_1); x_14 = lean_box(0); x_15 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_15, 0, x_14); @@ -9907,7 +9732,7 @@ lean_object* x_16; uint8_t x_17; x_16 = lean_ctor_get(x_6, 0); lean_inc(x_16); lean_dec(x_6); -x_17 = l___private_Init_Lean_Elab_Command_17__checkEndHeader___main(x_16, x_8); +x_17 = l___private_Init_Lean_Elab_Command_14__checkEndHeader___main(x_16, x_8); lean_dec(x_8); lean_dec(x_16); if (x_17 == 0) @@ -9921,7 +9746,6 @@ else { lean_object* x_20; lean_object* x_21; lean_dec(x_2); -lean_dec(x_1); x_20 = lean_box(0); x_21 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_21, 0, x_20); @@ -9933,6 +9757,15 @@ return x_21; } } } +lean_object* l_Lean_Elab_Command_elabEnd___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Command_elabEnd(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} lean_object* _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabEnd___closed__1() { _start: { @@ -9955,7 +9788,7 @@ lean_object* _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabEnd___closed_ _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabEnd), 3, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabEnd___boxed), 3, 0); return x_1; } } @@ -9978,7 +9811,7 @@ x_6 = l_Lean_Parser_Command_namespace___elambda__1___closed__1; x_7 = 1; lean_inc(x_4); lean_inc(x_2); -x_8 = l___private_Init_Lean_Elab_Command_14__addScopes___main(x_1, x_6, x_7, x_2, x_4, x_5); +x_8 = l___private_Init_Lean_Elab_Command_11__addScopes___main(x_1, x_6, x_7, x_2, x_4, x_5); if (lean_obj_tag(x_8) == 0) { lean_object* x_9; lean_object* x_10; @@ -10220,10 +10053,19 @@ lean_object* l_Lean_Elab_Command_withNamespace(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_withNamespace___rarg), 5, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_withNamespace___rarg___boxed), 5, 0); return x_2; } } +lean_object* l_Lean_Elab_Command_withNamespace___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Elab_Command_withNamespace___rarg(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_1); +return x_6; +} +} lean_object* _init_l_Lean_Elab_Command_modifyScope___closed__1() { _start: { @@ -10764,10 +10606,19 @@ lean_object* l_Lean_Elab_Command_throwAlreadyDeclaredUniverseLevel(lean_object* _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_throwAlreadyDeclaredUniverseLevel___rarg), 4, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_throwAlreadyDeclaredUniverseLevel___rarg___boxed), 4, 0); return x_2; } } +lean_object* l_Lean_Elab_Command_throwAlreadyDeclaredUniverseLevel___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Elab_Command_throwAlreadyDeclaredUniverseLevel___rarg(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_addUnivLevel___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -11358,7 +11209,6 @@ lean_dec(x_6); if (x_8 == 0) { lean_object* x_9; -lean_dec(x_1); x_9 = l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_addUnivLevel___spec__1(x_4, x_2, x_7); return x_9; } @@ -11374,7 +11224,6 @@ else uint8_t x_11; lean_dec(x_4); lean_dec(x_2); -lean_dec(x_1); x_11 = !lean_is_exclusive(x_5); if (x_11 == 0) { @@ -11396,6 +11245,15 @@ return x_14; } } } +lean_object* l_Lean_Elab_Command_addUnivLevel___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Command_addUnivLevel(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} lean_object* l_Lean_Elab_Command_elabUniverse(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -11403,6 +11261,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6; x_4 = lean_unsigned_to_nat(1u); x_5 = l_Lean_Syntax_getArg(x_1, x_4); x_6 = l_Lean_Elab_Command_addUnivLevel(x_5, x_2, x_3); +lean_dec(x_5); return x_6; } } @@ -11476,6 +11335,7 @@ lean_dec(x_4); x_10 = lean_array_fget(x_2, x_3); lean_inc(x_5); x_11 = l_Lean_Elab_Command_addUnivLevel(x_10, x_5, x_6); +lean_dec(x_10); if (lean_obj_tag(x_11) == 0) { lean_object* x_12; lean_object* x_13; lean_object* x_14; @@ -11630,7 +11490,6 @@ else uint8_t x_15; lean_dec(x_9); lean_dec(x_2); -lean_dec(x_1); x_15 = !lean_is_exclusive(x_10); if (x_15 == 0) { @@ -11654,7 +11513,6 @@ return x_18; else { lean_object* x_19; lean_object* x_20; -lean_dec(x_1); x_19 = lean_ctor_get(x_8, 0); lean_inc(x_19); lean_dec(x_8); @@ -11666,7 +11524,6 @@ else { uint8_t x_21; lean_dec(x_2); -lean_dec(x_1); x_21 = !lean_is_exclusive(x_4); if (x_21 == 0) { @@ -11688,6 +11545,15 @@ return x_24; } } } +lean_object* l_Lean_Elab_Command_elabInitQuot___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Command_elabInitQuot(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} lean_object* _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabInitQuot___closed__1() { _start: { @@ -11710,7 +11576,7 @@ lean_object* _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabInitQuot___cl _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabInitQuot), 3, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabInitQuot___boxed), 3, 0); return x_1; } } @@ -12233,7 +12099,6 @@ x_21 = l_Array_iterateMAux___main___at_Lean_Elab_Command_elabExport___spec__1(x_ lean_dec(x_18); lean_dec(x_10); lean_dec(x_7); -lean_dec(x_1); if (lean_obj_tag(x_21) == 0) { lean_object* x_22; lean_object* x_23; lean_object* x_24; @@ -12435,7 +12300,6 @@ uint8_t x_65; lean_dec(x_10); lean_dec(x_7); lean_dec(x_2); -lean_dec(x_1); x_65 = !lean_is_exclusive(x_13); if (x_65 == 0) { @@ -12462,7 +12326,6 @@ else uint8_t x_77; lean_dec(x_7); lean_dec(x_2); -lean_dec(x_1); x_77 = !lean_is_exclusive(x_9); if (x_77 == 0) { @@ -12487,7 +12350,6 @@ else { uint8_t x_81; lean_dec(x_2); -lean_dec(x_1); x_81 = !lean_is_exclusive(x_6); if (x_81 == 0) { @@ -12521,6 +12383,15 @@ lean_dec(x_1); return x_10; } } +lean_object* l_Lean_Elab_Command_elabExport___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Command_elabExport(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} lean_object* _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabExport___closed__1() { _start: { @@ -12543,7 +12414,7 @@ lean_object* _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabExport___clos _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabExport), 3, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabExport___boxed), 3, 0); return x_1; } } @@ -14099,204 +13970,6 @@ x_5 = l_Lean_Elab_Command_addBuiltinCommandElab(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l_Lean_Elab_Command_elabMixfix___rarg(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = lean_box(0); -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -lean_object* l_Lean_Elab_Command_elabMixfix(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabMixfix___rarg), 1, 0); -return x_3; -} -} -lean_object* l_Lean_Elab_Command_elabMixfix___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Elab_Command_elabMixfix(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} -lean_object* _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("elabMixfix"); -return x_1; -} -} -lean_object* _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_declareBuiltinCommandElab___closed__3; -x_2 = l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabMixfix___boxed), 2, 0); -return x_1; -} -} -lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix(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_Command_mixfix___elambda__1___closed__2; -x_3 = l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix___closed__2; -x_4 = l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix___closed__3; -x_5 = l_Lean_Elab_Command_addBuiltinCommandElab(x_2, x_3, x_4, x_1); -return x_5; -} -} -lean_object* l_Lean_Elab_Command_elabReserve___rarg(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = lean_box(0); -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -lean_object* l_Lean_Elab_Command_elabReserve(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabReserve___rarg), 1, 0); -return x_3; -} -} -lean_object* l_Lean_Elab_Command_elabReserve___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Elab_Command_elabReserve(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} -lean_object* _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("elabReserve"); -return x_1; -} -} -lean_object* _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_declareBuiltinCommandElab___closed__3; -x_2 = l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabReserve___boxed), 2, 0); -return x_1; -} -} -lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve(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_Command_reserve___elambda__1___closed__2; -x_3 = l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve___closed__2; -x_4 = l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve___closed__3; -x_5 = l_Lean_Elab_Command_addBuiltinCommandElab(x_2, x_3, x_4, x_1); -return x_5; -} -} -lean_object* l_Lean_Elab_Command_elabNotation___rarg(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = lean_box(0); -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -lean_object* l_Lean_Elab_Command_elabNotation(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabNotation___rarg), 1, 0); -return x_3; -} -} -lean_object* l_Lean_Elab_Command_elabNotation___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Elab_Command_elabNotation(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} -lean_object* _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("elabNotation"); -return x_1; -} -} -lean_object* _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_declareBuiltinCommandElab___closed__3; -x_2 = l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabNotation___boxed), 2, 0); -return x_1; -} -} -lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation(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_Command_notation___elambda__1___closed__2; -x_3 = l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation___closed__2; -x_4 = l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation___closed__3; -x_5 = l_Lean_Elab_Command_addBuiltinCommandElab(x_2, x_3, x_4, x_1); -return x_5; -} -} lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_elabVariable___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -14885,9 +14558,9 @@ lean_inc(x_9); x_10 = lean_ctor_get(x_8, 1); lean_inc(x_10); lean_dec(x_8); -x_11 = l___private_Init_Lean_Elab_Command_11__getVarDecls(x_9); -x_12 = l___private_Init_Lean_Elab_Command_9__mkTermContext(x_2, x_9, x_6); -x_13 = l___private_Init_Lean_Elab_Command_10__mkTermState(x_9); +x_11 = l___private_Init_Lean_Elab_Command_8__getVarDecls(x_9); +x_12 = l___private_Init_Lean_Elab_Command_6__mkTermContext(x_2, x_9, x_6); +x_13 = l___private_Init_Lean_Elab_Command_7__mkTermState(x_9); lean_dec(x_9); x_14 = l_Lean_Elab_Term_elabBinders___rarg(x_11, x_7, x_12, x_13); lean_dec(x_11); @@ -15943,9 +15616,9 @@ lean_inc(x_10); x_11 = lean_ctor_get(x_9, 1); lean_inc(x_11); lean_dec(x_9); -x_12 = l___private_Init_Lean_Elab_Command_11__getVarDecls(x_10); -x_13 = l___private_Init_Lean_Elab_Command_9__mkTermContext(x_2, x_10, x_7); -x_14 = l___private_Init_Lean_Elab_Command_10__mkTermState(x_10); +x_12 = l___private_Init_Lean_Elab_Command_8__getVarDecls(x_10); +x_13 = l___private_Init_Lean_Elab_Command_6__mkTermContext(x_2, x_10, x_7); +x_14 = l___private_Init_Lean_Elab_Command_7__mkTermState(x_10); lean_dec(x_10); x_15 = l_Lean_Elab_Term_elabBinders___rarg(x_12, x_8, x_13, x_14); lean_dec(x_12); @@ -16443,7 +16116,7 @@ lean_dec(x_8); x_11 = 0; x_12 = lean_box(0); lean_inc(x_5); -x_13 = l___private_Init_Lean_Elab_Term_20__synthesizeSyntheticMVarsAux___main(x_11, x_12, x_5, x_10); +x_13 = l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVarsAux___main(x_11, x_12, x_5, x_10); if (lean_obj_tag(x_13) == 0) { lean_object* x_14; lean_object* x_15; @@ -16592,9 +16265,9 @@ lean_inc(x_9); x_10 = lean_ctor_get(x_8, 1); lean_inc(x_10); lean_dec(x_8); -x_11 = l___private_Init_Lean_Elab_Command_11__getVarDecls(x_9); -x_12 = l___private_Init_Lean_Elab_Command_9__mkTermContext(x_2, x_9, x_6); -x_13 = l___private_Init_Lean_Elab_Command_10__mkTermState(x_9); +x_11 = l___private_Init_Lean_Elab_Command_8__getVarDecls(x_9); +x_12 = l___private_Init_Lean_Elab_Command_6__mkTermContext(x_2, x_9, x_6); +x_13 = l___private_Init_Lean_Elab_Command_7__mkTermState(x_9); lean_dec(x_9); x_14 = l_Lean_Elab_Term_elabBinders___rarg(x_11, x_7, x_12, x_13); lean_dec(x_11); @@ -17073,7 +16746,7 @@ lean_dec(x_8); x_11 = 0; x_12 = lean_box(0); lean_inc(x_4); -x_13 = l___private_Init_Lean_Elab_Term_20__synthesizeSyntheticMVarsAux___main(x_11, x_12, x_4, x_10); +x_13 = l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVarsAux___main(x_11, x_12, x_4, x_10); if (lean_obj_tag(x_13) == 0) { lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; @@ -17108,7 +16781,7 @@ x_25 = lean_ctor_get(x_23, 1); lean_inc(x_25); lean_dec(x_23); lean_inc(x_4); -x_26 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_2, x_4, x_16, x_25, x_20); +x_26 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_2, x_4, x_16, x_25, x_20); x_27 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_27, 0, x_24); x_28 = 0; @@ -17145,8 +16818,8 @@ lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; x_35 = lean_ctor_get(x_23, 0); x_36 = lean_ctor_get(x_23, 1); lean_inc(x_4); -x_37 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_4, x_2, x_35); -x_38 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_2, x_4, x_16, x_36, x_20); +x_37 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_4, x_2, x_35); +x_38 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_2, x_4, x_16, x_36, x_20); lean_ctor_set(x_23, 1, x_38); lean_ctor_set(x_23, 0, x_37); return x_23; @@ -17160,8 +16833,8 @@ lean_inc(x_40); lean_inc(x_39); lean_dec(x_23); lean_inc(x_4); -x_41 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_4, x_2, x_39); -x_42 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_2, x_4, x_16, x_40, x_20); +x_41 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_4, x_2, x_39); +x_42 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_2, x_4, x_16, x_40, x_20); x_43 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_43, 0, x_41); lean_ctor_set(x_43, 1, x_42); @@ -17205,7 +16878,7 @@ x_55 = lean_ctor_get(x_53, 1); lean_inc(x_55); lean_dec(x_53); lean_inc(x_4); -x_56 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_2, x_4, x_16, x_55, x_48); +x_56 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_2, x_4, x_16, x_55, x_48); x_57 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_57, 0, x_54); x_58 = 0; @@ -17246,8 +16919,8 @@ if (lean_is_exclusive(x_53)) { x_65 = lean_box(0); } lean_inc(x_4); -x_66 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_4, x_2, x_63); -x_67 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_2, x_4, x_16, x_64, x_48); +x_66 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_4, x_2, x_63); +x_67 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_2, x_4, x_16, x_64, x_48); if (lean_is_scalar(x_65)) { x_68 = lean_alloc_ctor(1, 2, 0); } else { @@ -17356,10 +17029,10 @@ lean_inc(x_8); x_9 = lean_ctor_get(x_7, 1); lean_inc(x_9); lean_dec(x_7); -x_10 = l___private_Init_Lean_Elab_Command_11__getVarDecls(x_8); +x_10 = l___private_Init_Lean_Elab_Command_8__getVarDecls(x_8); x_11 = l_Lean_Elab_Command_elabSynth___closed__3; -x_12 = l___private_Init_Lean_Elab_Command_9__mkTermContext(x_2, x_8, x_11); -x_13 = l___private_Init_Lean_Elab_Command_10__mkTermState(x_8); +x_12 = l___private_Init_Lean_Elab_Command_6__mkTermContext(x_2, x_8, x_11); +x_13 = l___private_Init_Lean_Elab_Command_7__mkTermState(x_8); lean_dec(x_8); x_14 = l_Lean_Elab_Term_elabBinders___rarg(x_10, x_6, x_12, x_13); lean_dec(x_10); @@ -18442,7 +18115,6 @@ return x_110; } else { -lean_dec(x_1); x_6 = x_102; goto block_99; } @@ -18458,7 +18130,6 @@ if (x_111 == 0) lean_object* x_112; lean_object* x_113; lean_object* x_114; x_112 = lean_ctor_get(x_100, 0); x_113 = l___private_Init_Lean_Elab_Command_1__ioErrorToMessage(x_4, x_1, x_112); -lean_dec(x_1); x_114 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_114, 0, x_113); lean_ctor_set(x_100, 0, x_114); @@ -18473,7 +18144,6 @@ lean_inc(x_116); lean_inc(x_115); lean_dec(x_100); x_117 = l___private_Init_Lean_Elab_Command_1__ioErrorToMessage(x_4, x_1, x_115); -lean_dec(x_1); x_118 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_118, 0, x_117); x_119 = lean_alloc_ctor(1, 2, 0); @@ -18950,6 +18620,15 @@ return x_98; } } } +lean_object* l_Lean_Elab_Command_setOption___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Elab_Command_setOption(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_1); +return x_6; +} +} lean_object* _init_l_Lean_Elab_Command_elabSetOption___closed__1() { _start: { @@ -19011,7 +18690,6 @@ if (x_28 == 0) { lean_object* x_29; lean_dec(x_5); -lean_dec(x_1); x_29 = lean_box(0); x_8 = x_29; goto block_20; @@ -19039,7 +18717,6 @@ else { lean_object* x_34; lean_dec(x_5); -lean_dec(x_1); x_34 = lean_box(0); x_8 = x_34; goto block_20; @@ -19095,6 +18772,15 @@ return x_19; } } } +lean_object* l_Lean_Elab_Command_elabSetOption___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Command_elabSetOption(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} lean_object* _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabSetOption___closed__1() { _start: { @@ -19117,7 +18803,7 @@ lean_object* _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabSetOption___c _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabSetOption), 3, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabSetOption___boxed), 3, 0); return x_1; } } @@ -21363,6 +21049,7 @@ lean_object* x_17; uint8_t x_18; lean_dec(x_12); lean_dec(x_4); x_17 = l_Lean_Elab_Command_throwAlreadyDeclaredUniverseLevel___rarg(x_10, x_13, x_5, x_6); +lean_dec(x_10); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -21466,7 +21153,6 @@ lean_dec(x_10); lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_111 = !lean_is_exclusive(x_108); if (x_111 == 0) { @@ -21519,7 +21205,7 @@ x_22 = l_Lean_Parser_Command_namespace___elambda__1___closed__1; x_23 = 1; lean_inc(x_3); lean_inc(x_17); -x_24 = l___private_Init_Lean_Elab_Command_14__addScopes___main(x_1, x_22, x_23, x_17, x_3, x_13); +x_24 = l___private_Init_Lean_Elab_Command_11__addScopes___main(x_1, x_22, x_23, x_17, x_3, x_13); if (lean_obj_tag(x_24) == 0) { lean_object* x_25; lean_object* x_26; @@ -21922,7 +21608,6 @@ lean_dec(x_8); lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_115 = !lean_is_exclusive(x_9); if (x_115 == 0) { @@ -21954,6 +21639,15 @@ lean_dec(x_1); return x_7; } } +lean_object* l_Lean_Elab_Command_withDeclId___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Elab_Command_withDeclId(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} lean_object* l_List_foldl___main___at_Lean_Elab_Command_sortDeclLevelParams___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -22363,7 +22057,6 @@ else uint8_t x_15; lean_dec(x_9); lean_dec(x_3); -lean_dec(x_1); x_15 = !lean_is_exclusive(x_10); if (x_15 == 0) { @@ -22387,7 +22080,6 @@ return x_18; else { lean_object* x_19; lean_object* x_20; -lean_dec(x_1); x_19 = lean_ctor_get(x_8, 0); lean_inc(x_19); lean_dec(x_8); @@ -22399,7 +22091,6 @@ else { uint8_t x_21; lean_dec(x_3); -lean_dec(x_1); x_21 = !lean_is_exclusive(x_5); if (x_21 == 0) { @@ -22427,6 +22118,7 @@ _start: lean_object* x_5; x_5 = l_Lean_Elab_Command_addDecl(x_1, x_2, x_3, x_4); lean_dec(x_2); +lean_dec(x_1); return x_5; } } @@ -22469,7 +22161,6 @@ else { lean_object* x_15; lean_object* x_16; lean_dec(x_9); -lean_dec(x_1); x_15 = lean_ctor_get(x_11, 0); lean_inc(x_15); lean_dec(x_11); @@ -22482,7 +22173,6 @@ else uint8_t x_17; lean_dec(x_6); lean_dec(x_3); -lean_dec(x_1); x_17 = !lean_is_exclusive(x_8); if (x_17 == 0) { @@ -22507,7 +22197,6 @@ else { uint8_t x_21; lean_dec(x_3); -lean_dec(x_1); x_21 = !lean_is_exclusive(x_5); if (x_21 == 0) { @@ -22535,6 +22224,7 @@ _start: lean_object* x_5; x_5 = l_Lean_Elab_Command_compileDecl(x_1, x_2, x_3, x_4); lean_dec(x_2); +lean_dec(x_1); return x_5; } } @@ -22708,18 +22398,18 @@ l_Lean_Elab_Command_elabCommand___main___closed__6 = _init_l_Lean_Elab_Command_e lean_mark_persistent(l_Lean_Elab_Command_elabCommand___main___closed__6); l_Lean_Elab_Command_elabCommand___main___closed__7 = _init_l_Lean_Elab_Command_elabCommand___main___closed__7(); lean_mark_persistent(l_Lean_Elab_Command_elabCommand___main___closed__7); -l___private_Init_Lean_Elab_Command_12__toCommandResult___rarg___closed__1 = _init_l___private_Init_Lean_Elab_Command_12__toCommandResult___rarg___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Elab_Command_12__toCommandResult___rarg___closed__1); +l___private_Init_Lean_Elab_Command_9__toCommandResult___rarg___closed__1 = _init_l___private_Init_Lean_Elab_Command_9__toCommandResult___rarg___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Elab_Command_9__toCommandResult___rarg___closed__1); l_Lean_Elab_Command_CommandElabM_inhabited___closed__1 = _init_l_Lean_Elab_Command_CommandElabM_inhabited___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_CommandElabM_inhabited___closed__1); l_Lean_Elab_Command_runTermElabM___rarg___closed__1 = _init_l_Lean_Elab_Command_runTermElabM___rarg___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_runTermElabM___rarg___closed__1); -l___private_Init_Lean_Elab_Command_14__addScopes___main___closed__1 = _init_l___private_Init_Lean_Elab_Command_14__addScopes___main___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Elab_Command_14__addScopes___main___closed__1); -l___private_Init_Lean_Elab_Command_14__addScopes___main___closed__2 = _init_l___private_Init_Lean_Elab_Command_14__addScopes___main___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Elab_Command_14__addScopes___main___closed__2); -l___private_Init_Lean_Elab_Command_14__addScopes___main___closed__3 = _init_l___private_Init_Lean_Elab_Command_14__addScopes___main___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Elab_Command_14__addScopes___main___closed__3); +l___private_Init_Lean_Elab_Command_11__addScopes___main___closed__1 = _init_l___private_Init_Lean_Elab_Command_11__addScopes___main___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Elab_Command_11__addScopes___main___closed__1); +l___private_Init_Lean_Elab_Command_11__addScopes___main___closed__2 = _init_l___private_Init_Lean_Elab_Command_11__addScopes___main___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Elab_Command_11__addScopes___main___closed__2); +l___private_Init_Lean_Elab_Command_11__addScopes___main___closed__3 = _init_l___private_Init_Lean_Elab_Command_11__addScopes___main___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Elab_Command_11__addScopes___main___closed__3); l___regBuiltinCommandElab_Lean_Elab_Command_elabNamespace___closed__1 = _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabNamespace___closed__1(); lean_mark_persistent(l___regBuiltinCommandElab_Lean_Elab_Command_elabNamespace___closed__1); l___regBuiltinCommandElab_Lean_Elab_Command_elabNamespace___closed__2 = _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabNamespace___closed__2(); @@ -22832,33 +22522,6 @@ lean_mark_persistent(l___regBuiltinCommandElab_Lean_Elab_Command_elabOpen___clos res = l___regBuiltinCommandElab_Lean_Elab_Command_elabOpen(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix___closed__1 = _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix___closed__1(); -lean_mark_persistent(l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix___closed__1); -l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix___closed__2 = _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix___closed__2(); -lean_mark_persistent(l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix___closed__2); -l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix___closed__3 = _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix___closed__3(); -lean_mark_persistent(l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix___closed__3); -res = l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve___closed__1 = _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve___closed__1(); -lean_mark_persistent(l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve___closed__1); -l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve___closed__2 = _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve___closed__2(); -lean_mark_persistent(l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve___closed__2); -l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve___closed__3 = _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve___closed__3(); -lean_mark_persistent(l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve___closed__3); -res = l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation___closed__1 = _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation___closed__1(); -lean_mark_persistent(l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation___closed__1); -l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation___closed__2 = _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation___closed__2(); -lean_mark_persistent(l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation___closed__2); -l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation___closed__3 = _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation___closed__3(); -lean_mark_persistent(l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation___closed__3); -res = l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); l___regBuiltinCommandElab_Lean_Elab_Command_elabVariable___closed__1 = _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabVariable___closed__1(); lean_mark_persistent(l___regBuiltinCommandElab_Lean_Elab_Command_elabVariable___closed__1); l___regBuiltinCommandElab_Lean_Elab_Command_elabVariable___closed__2 = _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabVariable___closed__2(); diff --git a/stage0/stdlib/Init/Lean/Elab/DeclModifiers.c b/stage0/stdlib/Init/Lean/Elab/DeclModifiers.c index c93c4429df..6d19ec852e 100644 --- a/stage0/stdlib/Init/Lean/Elab/DeclModifiers.c +++ b/stage0/stdlib/Init/Lean/Elab/DeclModifiers.c @@ -72,6 +72,7 @@ lean_object* l_Lean_Elab_Command_elabModifiers___closed__2; lean_object* l_Lean_Elab_Command_elabAttr___closed__6; lean_object* l_Lean_Elab_Command_elabAttrs(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabAttr___closed__1; +lean_object* l_Lean_Elab_Command_elabAttr___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Command_docComment___elambda__1___closed__5; lean_object* l_Lean_Elab_Command_Modifiers_hasToString___closed__2; lean_object* l_Lean_Elab_Command_Modifiers_hasFormat___closed__12; @@ -1128,9 +1129,9 @@ x_48 = l_Lean_Syntax_isIdOrAtom_x3f(x_47); if (lean_obj_tag(x_48) == 0) { lean_object* x_49; lean_object* x_50; uint8_t x_51; -lean_dec(x_1); x_49 = l_Lean_Elab_Command_elabAttr___closed__6; x_50 = l_Lean_Elab_Command_throwError___rarg(x_47, x_49, x_2, x_3); +lean_dec(x_47); x_51 = !lean_is_exclusive(x_50); if (x_51 == 0) { @@ -1219,7 +1220,6 @@ lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_dec(x_2); x_21 = lean_unsigned_to_nat(1u); x_22 = l_Lean_Syntax_getArg(x_1, x_21); -lean_dec(x_1); x_23 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_23, 0, x_4); lean_ctor_set(x_23, 1, x_22); @@ -1278,7 +1278,6 @@ lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_dec(x_2); x_37 = lean_unsigned_to_nat(1u); x_38 = l_Lean_Syntax_getArg(x_1, x_37); -lean_dec(x_1); x_39 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_39, 0, x_4); lean_ctor_set(x_39, 1, x_38); @@ -1294,7 +1293,6 @@ else uint8_t x_41; lean_dec(x_4); lean_dec(x_2); -lean_dec(x_1); x_41 = !lean_is_exclusive(x_6); if (x_41 == 0) { @@ -1317,6 +1315,15 @@ return x_44; } } } +lean_object* l_Lean_Elab_Command_elabAttr___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Command_elabAttr(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} lean_object* l_Lean_Syntax_foldArgsAuxM___main___at_Lean_Elab_Command_elabAttrs___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: { @@ -1340,6 +1347,7 @@ lean_object* x_10; lean_object* x_11; x_10 = lean_array_fget(x_2, x_3); lean_inc(x_5); x_11 = l_Lean_Elab_Command_elabAttr(x_10, x_5, x_6); +lean_dec(x_10); if (lean_obj_tag(x_11) == 0) { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; @@ -1570,6 +1578,7 @@ x_97 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_97, 0, x_96); lean_ctor_set(x_97, 1, x_95); x_98 = l_Lean_Elab_Command_throwError___rarg(x_87, x_97, x_2, x_3); +lean_dec(x_87); x_99 = !lean_is_exclusive(x_98); if (x_99 == 0) { @@ -1647,6 +1656,7 @@ x_120 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_120, 0, x_119); lean_ctor_set(x_120, 1, x_118); x_121 = l_Lean_Elab_Command_throwError___rarg(x_110, x_120, x_2, x_3); +lean_dec(x_110); x_122 = lean_ctor_get(x_121, 0); lean_inc(x_122); x_123 = lean_ctor_get(x_121, 1); @@ -1709,6 +1719,7 @@ lean_dec(x_11); lean_dec(x_7); x_75 = l_Lean_Elab_Command_elabModifiers___closed__4; x_76 = l_Lean_Elab_Command_throwError___rarg(x_69, x_75, x_2, x_17); +lean_dec(x_69); x_77 = !lean_is_exclusive(x_76); if (x_77 == 0) { @@ -2273,7 +2284,6 @@ lean_object* x_10; lean_object* x_11; lean_dec(x_6); lean_dec(x_5); lean_dec(x_2); -lean_dec(x_1); x_10 = lean_box(0); x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); @@ -2403,7 +2413,6 @@ uint8_t x_47; lean_dec(x_6); lean_dec(x_5); lean_dec(x_2); -lean_dec(x_1); x_47 = !lean_is_exclusive(x_42); if (x_47 == 0) { @@ -2435,7 +2444,6 @@ if (x_51 == 0) lean_object* x_52; lean_object* x_53; lean_object* x_54; x_52 = lean_ctor_get(x_39, 0); x_53 = l___private_Init_Lean_Elab_Command_1__ioErrorToMessage(x_6, x_1, x_52); -lean_dec(x_1); x_54 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_54, 0, x_53); lean_ctor_set(x_39, 0, x_54); @@ -2450,7 +2458,6 @@ lean_inc(x_56); lean_inc(x_55); lean_dec(x_39); x_57 = l___private_Init_Lean_Elab_Command_1__ioErrorToMessage(x_6, x_1, x_55); -lean_dec(x_1); x_58 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_58, 0, x_57); x_59 = lean_alloc_ctor(1, 2, 0); @@ -2468,7 +2475,6 @@ lean_dec(x_12); lean_dec(x_6); lean_dec(x_5); lean_dec(x_2); -lean_dec(x_1); x_60 = !lean_is_exclusive(x_32); if (x_60 == 0) { @@ -2498,7 +2504,6 @@ lean_dec(x_12); lean_dec(x_6); lean_dec(x_5); lean_dec(x_2); -lean_dec(x_1); x_64 = !lean_is_exclusive(x_13); if (x_64 == 0) { @@ -2538,6 +2543,7 @@ x_8 = lean_unbox(x_3); lean_dec(x_3); x_9 = l_Array_forMAux___main___at_Lean_Elab_Command_applyAttributes___spec__1(x_1, x_2, x_8, x_4, x_5, x_6, x_7); lean_dec(x_4); +lean_dec(x_1); return x_9; } } @@ -2549,6 +2555,7 @@ x_7 = lean_unbox(x_4); lean_dec(x_4); x_8 = l_Lean_Elab_Command_applyAttributes(x_1, x_2, x_3, x_7, x_5, x_6); lean_dec(x_3); +lean_dec(x_1); return x_8; } } diff --git a/stage0/stdlib/Init/Lean/Elab/Declaration.c b/stage0/stdlib/Init/Lean/Elab/Declaration.c index 9bb337af62..5d6a36d30c 100644 --- a/stage0/stdlib/Init/Lean/Elab/Declaration.c +++ b/stage0/stdlib/Init/Lean/Elab/Declaration.c @@ -43,16 +43,17 @@ lean_object* l_Lean_Elab_Command_elabExample___closed__2; uint8_t lean_name_eq(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Command_declaration___elambda__1___closed__2; lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Command_8__getVarDecls(lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); +lean_object* l___private_Init_Lean_Elab_Command_11__addScopes___main(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkForallUsedOnly(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabDeclaration___closed__2; lean_object* lean_string_utf8_byte_size(lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_20__synthesizeSyntheticMVarsAux___main(uint8_t, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Command_example___elambda__1___closed__2; +lean_object* l_Lean_Elab_Command_elabAxiom___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_getNumParts___main(lean_object*); lean_object* l_Lean_Elab_Command_elabInductive___rarg(lean_object*); -extern lean_object* l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_addBuiltinCommandElab(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Command_classInductive___elambda__1___closed__2; @@ -71,7 +72,6 @@ extern lean_object* l_Lean_Parser_Command_declValSimple___elambda__1___closed__2 extern lean_object* l_Lean_Meta_registerInstanceAttr___closed__1; lean_object* l_Lean_Elab_Command_elabConstant(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabAxiom___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Command_11__getVarDecls(lean_object*); lean_object* l_Lean_Elab_Command_expandOptDeclSig(lean_object*); lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabDeclaration___closed__3; extern lean_object* l_Lean_Elab_Command_mkDef___lambda__1___closed__1; @@ -84,12 +84,13 @@ extern lean_object* l_Lean_Parser_Command_namespace___elambda__1___closed__1; extern lean_object* l___regBuiltinParser_Lean_Parser_Command_antiquot___closed__2; lean_object* l_Lean_Elab_Command_throwError___rarg(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_List_elem___main___at_Lean_Parser_addLeadingParser___spec__7(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Command_6__mkTermContext(lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVar___closed__3; lean_object* l_Lean_Elab_Command_elabConstant___closed__7; -lean_object* l___private_Init_Lean_Elab_Command_9__mkTermContext(lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVar___closed__3; lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_elabAxiom___spec__3(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_hole___elambda__1___closed__1; lean_object* l_Lean_Elab_Command_elabTheorem(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVarsAux___main(uint8_t, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Command_modifyScope___closed__1; lean_object* l_Lean_Elab_Command_elabDef(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Command_withDeclId___closed__3; @@ -124,10 +125,11 @@ lean_object* l_Lean_Elab_Command_getLevelNames(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabModifiers(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_throwAlreadyDeclaredUniverseLevel___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabDefLike(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Command_14__addScopes___main(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_foldArgsAuxM___main___at_Lean_Syntax_foldSepRevArgsM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandDeclSig___boxed(lean_object*); +lean_object* l_Lean_Elab_Command_elabDeclaration___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; lean_object* l_List_foldl___main___at_Lean_addMacroScopes___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabDeclaration___closed__2; @@ -139,6 +141,7 @@ lean_object* l_Lean_Elab_Command_elabDeclaration___closed__3; lean_object* l_Lean_Elab_Command_elabConstant___closed__3; lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_elabAxiom___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabAbbrev___closed__1; +lean_object* l___private_Init_Lean_Elab_Command_7__mkTermState(lean_object*); lean_object* l_Lean_Elab_Command_elabAbbrev___closed__4; lean_object* l_Lean_CollectLevelParams_main___main(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_elabAxiom___spec__1(lean_object*, lean_object*, lean_object*); @@ -150,7 +153,6 @@ lean_object* l_Lean_Elab_Command_elabClassInductive___rarg(lean_object*); lean_object* l___private_Init_Lean_Elab_Command_3__setState(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Command_declId___elambda__1___closed__2; -lean_object* l___private_Init_Lean_Elab_Command_10__mkTermState(lean_object*); lean_object* l_Lean_Elab_Command_expandOptDeclSig(lean_object* x_1) { _start: { @@ -495,7 +497,7 @@ lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); x_22 = l_Array_empty___closed__1; x_23 = lean_array_push(x_22, x_21); -x_24 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_24 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_25 = lean_array_push(x_23, x_24); x_26 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_27 = lean_alloc_ctor(1, 2, 0); @@ -618,8 +620,9 @@ lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); -x_15 = l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVar___closed__3; +x_15 = l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVar___closed__3; x_16 = l_Lean_Elab_Command_throwError___rarg(x_2, x_15, x_3, x_4); +lean_dec(x_2); x_17 = !lean_is_exclusive(x_16); if (x_17 == 0) { @@ -2976,6 +2979,7 @@ lean_object* x_17; uint8_t x_18; lean_dec(x_12); lean_dec(x_4); x_17 = l_Lean_Elab_Command_throwAlreadyDeclaredUniverseLevel___rarg(x_10, x_13, x_5, x_6); +lean_dec(x_10); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -3016,7 +3020,7 @@ lean_dec(x_9); x_12 = 0; x_13 = lean_box(0); lean_inc(x_7); -x_14 = l___private_Init_Lean_Elab_Term_20__synthesizeSyntheticMVarsAux___main(x_12, x_13, x_7, x_11); +x_14 = l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVarsAux___main(x_12, x_13, x_7, x_11); 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; @@ -3305,7 +3309,6 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_6); lean_dec(x_3); -lean_dec(x_2); lean_dec(x_1); x_217 = !lean_is_exclusive(x_214); if (x_217 == 0) @@ -3359,7 +3362,8 @@ x_28 = l_Lean_Parser_Command_namespace___elambda__1___closed__1; x_29 = 1; lean_inc(x_3); lean_inc(x_23); -x_30 = l___private_Init_Lean_Elab_Command_14__addScopes___main(x_6, x_28, x_29, x_23, x_3, x_19); +x_30 = l___private_Init_Lean_Elab_Command_11__addScopes___main(x_6, x_28, x_29, x_23, x_3, x_19); +lean_dec(x_6); if (lean_obj_tag(x_30) == 0) { lean_object* x_31; lean_object* x_32; @@ -3389,7 +3393,6 @@ lean_inc(x_49); x_117 = 2; lean_inc(x_3); lean_inc(x_47); -lean_inc(x_2); x_118 = l_Array_forMAux___main___at_Lean_Elab_Command_applyAttributes___spec__1(x_2, x_47, x_117, x_49, x_12, x_3, x_48); if (lean_obj_tag(x_118) == 0) { @@ -3427,9 +3430,9 @@ lean_inc(x_126); x_127 = lean_ctor_get(x_125, 1); lean_inc(x_127); lean_dec(x_125); -x_128 = l___private_Init_Lean_Elab_Command_11__getVarDecls(x_126); -x_129 = l___private_Init_Lean_Elab_Command_9__mkTermContext(x_3, x_126, x_123); -x_130 = l___private_Init_Lean_Elab_Command_10__mkTermState(x_126); +x_128 = l___private_Init_Lean_Elab_Command_8__getVarDecls(x_126); +x_129 = l___private_Init_Lean_Elab_Command_6__mkTermContext(x_3, x_126, x_123); +x_130 = l___private_Init_Lean_Elab_Command_7__mkTermState(x_126); lean_dec(x_126); x_131 = l_Lean_Elab_Term_elabBinders___rarg(x_128, x_124, x_129, x_130); lean_dec(x_128); @@ -3488,7 +3491,6 @@ lean_dec(x_132); lean_dec(x_49); lean_dec(x_47); lean_dec(x_23); -lean_dec(x_2); x_145 = lean_ctor_get(x_143, 0); lean_inc(x_145); x_146 = lean_ctor_get(x_143, 1); @@ -3534,7 +3536,6 @@ lean_dec(x_132); lean_dec(x_49); lean_dec(x_47); lean_dec(x_23); -lean_dec(x_2); x_153 = lean_ctor_get(x_151, 0); lean_inc(x_153); x_154 = lean_ctor_get(x_151, 1); @@ -3554,7 +3555,6 @@ lean_dec(x_132); lean_dec(x_49); lean_dec(x_47); lean_dec(x_23); -lean_dec(x_2); x_155 = lean_ctor_get(x_134, 0); lean_inc(x_155); x_156 = lean_ctor_get(x_134, 1); @@ -3576,7 +3576,6 @@ lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_dec(x_49); lean_dec(x_47); lean_dec(x_23); -lean_dec(x_2); x_158 = lean_ctor_get(x_131, 1); lean_inc(x_158); lean_dec(x_131); @@ -3721,7 +3720,6 @@ lean_object* x_188; lean_object* x_189; lean_dec(x_49); lean_dec(x_47); lean_dec(x_23); -lean_dec(x_2); x_188 = lean_ctor_get(x_185, 0); lean_inc(x_188); x_189 = lean_ctor_get(x_185, 1); @@ -3742,7 +3740,6 @@ lean_dec(x_123); lean_dec(x_49); lean_dec(x_47); lean_dec(x_23); -lean_dec(x_2); x_190 = lean_ctor_get(x_125, 0); lean_inc(x_190); x_191 = lean_ctor_get(x_125, 1); @@ -3761,7 +3758,6 @@ lean_dec(x_47); lean_dec(x_23); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_2); lean_dec(x_1); x_192 = lean_ctor_get(x_120, 0); lean_inc(x_192); @@ -3781,7 +3777,6 @@ lean_dec(x_47); lean_dec(x_23); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_2); lean_dec(x_1); x_194 = lean_ctor_get(x_118, 0); lean_inc(x_194); @@ -3796,7 +3791,6 @@ block_116: { lean_object* x_52; lean_inc(x_3); -lean_inc(x_2); x_52 = l_Lean_Elab_Command_addDecl(x_2, x_50, x_3, x_51); lean_dec(x_50); if (lean_obj_tag(x_52) == 0) @@ -3808,7 +3802,6 @@ lean_dec(x_52); x_54 = 0; lean_inc(x_3); lean_inc(x_47); -lean_inc(x_2); x_55 = l_Array_forMAux___main___at_Lean_Elab_Command_applyAttributes___spec__1(x_2, x_47, x_54, x_49, x_12, x_3, x_53); if (lean_obj_tag(x_55) == 0) { @@ -4088,7 +4081,6 @@ lean_object* x_112; lean_object* x_113; lean_dec(x_49); lean_dec(x_47); lean_dec(x_23); -lean_dec(x_2); x_112 = lean_ctor_get(x_55, 0); lean_inc(x_112); x_113 = lean_ctor_get(x_55, 1); @@ -4105,7 +4097,6 @@ lean_object* x_114; lean_object* x_115; lean_dec(x_49); lean_dec(x_47); lean_dec(x_23); -lean_dec(x_2); x_114 = lean_ctor_get(x_52, 0); lean_inc(x_114); x_115 = lean_ctor_get(x_52, 1); @@ -4123,7 +4114,6 @@ lean_object* x_196; lean_object* x_197; lean_dec(x_23); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_2); lean_dec(x_1); x_196 = lean_ctor_get(x_46, 0); lean_inc(x_196); @@ -4197,7 +4187,6 @@ lean_dec(x_16); lean_dec(x_11); lean_dec(x_10); lean_dec(x_3); -lean_dec(x_2); lean_dec(x_1); x_198 = !lean_is_exclusive(x_32); if (x_198 == 0) @@ -4229,7 +4218,6 @@ lean_dec(x_16); lean_dec(x_11); lean_dec(x_10); lean_dec(x_3); -lean_dec(x_2); lean_dec(x_1); x_202 = !lean_is_exclusive(x_30); if (x_202 == 0) @@ -4260,10 +4248,10 @@ lean_dec(x_18); lean_dec(x_16); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_2); lean_dec(x_1); x_206 = l_Lean_Elab_Command_withDeclId___closed__3; x_207 = l_Lean_Elab_Command_throwError___rarg(x_6, x_206, x_3, x_19); +lean_dec(x_6); return x_207; } } @@ -4277,7 +4265,6 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_6); lean_dec(x_3); -lean_dec(x_2); lean_dec(x_1); x_221 = !lean_is_exclusive(x_15); if (x_221 == 0) @@ -4328,6 +4315,15 @@ lean_dec(x_1); return x_9; } } +lean_object* l_Lean_Elab_Command_elabAxiom___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Elab_Command_elabAxiom(x_1, x_2, x_3, x_4); +lean_dec(x_2); +return x_5; +} +} lean_object* l_Lean_Elab_Command_elabInductive___rarg(lean_object* x_1) { _start: { @@ -4540,7 +4536,6 @@ else { lean_object* x_35; lean_dec(x_2); -lean_dec(x_1); x_35 = lean_box(0); lean_ctor_set(x_6, 0, x_35); return x_6; @@ -4551,7 +4546,6 @@ else lean_object* x_36; lean_dec(x_12); lean_dec(x_2); -lean_dec(x_1); x_36 = lean_box(0); lean_ctor_set(x_6, 0, x_36); return x_6; @@ -4562,7 +4556,6 @@ else lean_object* x_37; lean_dec(x_12); lean_dec(x_2); -lean_dec(x_1); x_37 = lean_box(0); lean_ctor_set(x_6, 0, x_37); return x_6; @@ -4573,7 +4566,6 @@ else lean_object* x_38; lean_dec(x_12); lean_free_object(x_6); -lean_dec(x_1); x_38 = l_Lean_Elab_Command_elabExample(x_8, x_11, x_2, x_9); return x_38; } @@ -4583,8 +4575,8 @@ else lean_object* x_39; lean_dec(x_12); lean_free_object(x_6); -lean_dec(x_1); x_39 = l_Lean_Elab_Command_elabAxiom(x_8, x_11, x_2, x_9); +lean_dec(x_11); return x_39; } } @@ -4593,7 +4585,6 @@ else lean_object* x_40; lean_dec(x_12); lean_free_object(x_6); -lean_dec(x_1); x_40 = l_Lean_Elab_Command_elabInstance(x_8, x_11, x_2, x_9); return x_40; } @@ -4603,7 +4594,6 @@ else lean_object* x_41; lean_dec(x_12); lean_free_object(x_6); -lean_dec(x_1); x_41 = l_Lean_Elab_Command_elabConstant(x_8, x_11, x_2, x_9); return x_41; } @@ -4613,7 +4603,6 @@ else lean_object* x_42; lean_dec(x_12); lean_free_object(x_6); -lean_dec(x_1); x_42 = l_Lean_Elab_Command_elabTheorem(x_8, x_11, x_2, x_9); return x_42; } @@ -4623,7 +4612,6 @@ else lean_object* x_43; lean_dec(x_12); lean_free_object(x_6); -lean_dec(x_1); x_43 = l_Lean_Elab_Command_elabDef(x_8, x_11, x_2, x_9); return x_43; } @@ -4633,7 +4621,6 @@ else lean_object* x_44; lean_dec(x_12); lean_free_object(x_6); -lean_dec(x_1); x_44 = l_Lean_Elab_Command_elabAbbrev(x_8, x_11, x_2, x_9); return x_44; } @@ -4711,7 +4698,6 @@ else { lean_object* x_72; lean_object* x_73; lean_dec(x_2); -lean_dec(x_1); x_72 = lean_box(0); x_73 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_73, 0, x_72); @@ -4724,7 +4710,6 @@ else lean_object* x_74; lean_object* x_75; lean_dec(x_49); lean_dec(x_2); -lean_dec(x_1); x_74 = lean_box(0); x_75 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_75, 0, x_74); @@ -4737,7 +4722,6 @@ else lean_object* x_76; lean_object* x_77; lean_dec(x_49); lean_dec(x_2); -lean_dec(x_1); x_76 = lean_box(0); x_77 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_77, 0, x_76); @@ -4749,7 +4733,6 @@ else { lean_object* x_78; lean_dec(x_49); -lean_dec(x_1); x_78 = l_Lean_Elab_Command_elabExample(x_45, x_48, x_2, x_46); return x_78; } @@ -4758,8 +4741,8 @@ else { lean_object* x_79; lean_dec(x_49); -lean_dec(x_1); x_79 = l_Lean_Elab_Command_elabAxiom(x_45, x_48, x_2, x_46); +lean_dec(x_48); return x_79; } } @@ -4767,7 +4750,6 @@ else { lean_object* x_80; lean_dec(x_49); -lean_dec(x_1); x_80 = l_Lean_Elab_Command_elabInstance(x_45, x_48, x_2, x_46); return x_80; } @@ -4776,7 +4758,6 @@ else { lean_object* x_81; lean_dec(x_49); -lean_dec(x_1); x_81 = l_Lean_Elab_Command_elabConstant(x_45, x_48, x_2, x_46); return x_81; } @@ -4785,7 +4766,6 @@ else { lean_object* x_82; lean_dec(x_49); -lean_dec(x_1); x_82 = l_Lean_Elab_Command_elabTheorem(x_45, x_48, x_2, x_46); return x_82; } @@ -4794,7 +4774,6 @@ else { lean_object* x_83; lean_dec(x_49); -lean_dec(x_1); x_83 = l_Lean_Elab_Command_elabDef(x_45, x_48, x_2, x_46); return x_83; } @@ -4803,7 +4782,6 @@ else { lean_object* x_84; lean_dec(x_49); -lean_dec(x_1); x_84 = l_Lean_Elab_Command_elabAbbrev(x_45, x_48, x_2, x_46); return x_84; } @@ -4813,7 +4791,6 @@ else { uint8_t x_85; lean_dec(x_2); -lean_dec(x_1); x_85 = !lean_is_exclusive(x_6); if (x_85 == 0) { @@ -4835,6 +4812,15 @@ return x_88; } } } +lean_object* l_Lean_Elab_Command_elabDeclaration___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Command_elabDeclaration(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} lean_object* _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabDeclaration___closed__1() { _start: { @@ -4857,7 +4843,7 @@ lean_object* _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabDeclaration__ _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabDeclaration), 3, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabDeclaration___boxed), 3, 0); return x_1; } } diff --git a/stage0/stdlib/Init/Lean/Elab/Definition.c b/stage0/stdlib/Init/Lean/Elab/Definition.c index 78e4ba6b8c..9adb9639a5 100644 --- a/stage0/stdlib/Init/Lean/Elab/Definition.c +++ b/stage0/stdlib/Init/Lean/Elab/Definition.c @@ -36,13 +36,14 @@ lean_object* l_Lean_Elab_Command_elabDefVal___closed__2; uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_compileDecl(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_reverseAux___main___rarg(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Command_8__getVarDecls(lean_object*); lean_object* l_Lean_Elab_Term_mkLambda(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); +lean_object* l___private_Init_Lean_Elab_Command_11__addScopes___main(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Command_declValEqns___elambda__1___closed__2; lean_object* l_Lean_Elab_Command_elabDefVal___closed__1; lean_object* l_Lean_Elab_Command_elabDefVal(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_20__synthesizeSyntheticMVarsAux___main(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_collectUsedFVarsAtFVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Command_DefKind_isExample(uint8_t); lean_object* l_Lean_Name_getNumParts___main(lean_object*); @@ -64,10 +65,8 @@ lean_object* l_Array_iterateMAux___main___at_Lean_Elab_Command_elabDefLike___spe lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_throwUnsupportedSyntax___rarg(lean_object*); lean_object* l_Lean_Elab_Command_DefKind_isTheorem___boxed(lean_object*); -extern lean_object* l___private_Init_Lean_Elab_Term_14__resumePostponed___lambda__1___closed__1; extern lean_object* l_Lean_Parser_Command_declValSimple___elambda__1___closed__2; lean_object* l_Lean_Expr_fvarId_x21(lean_object*); -lean_object* l___private_Init_Lean_Elab_Command_11__getVarDecls(lean_object*); lean_object* l_Lean_Elab_Command_mkDef___lambda__1___closed__2; lean_object* l_Lean_Elab_Command_mkDef___lambda__1___closed__1; lean_object* l_Lean_Elab_Term_elabTermAux___main(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); @@ -81,16 +80,18 @@ lean_object* l_Lean_Elab_Term_throwError___rarg(lean_object*, lean_object*, lean extern lean_object* l_Lean_Elab_Term_elabTypeStx___rarg___closed__1; lean_object* l_Lean_Elab_Command_collectUsedFVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Definition_1__regTraceClasses(lean_object*); +extern lean_object* l___private_Init_Lean_Elab_Term_11__resumePostponed___lambda__1___closed__1; lean_object* l_Lean_Elab_Command_withUsedWhen___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Command_namespace___elambda__1___closed__1; lean_object* l_Lean_Elab_Command_throwError___rarg(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_List_elem___main___at_Lean_Parser_addLeadingParser___spec__7(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Command_6__mkTermContext(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalInstances_erase(lean_object*, lean_object*); lean_object* l_Lean_CollectFVars_main___main(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_withUsedWhen_x27(lean_object*); -lean_object* l___private_Init_Lean_Elab_Command_9__mkTermContext(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_DefKind_isDefOrOpaque___boxed(lean_object*); lean_object* l_Lean_Elab_Term_getLocalInsts(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVarsAux___main(uint8_t, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Command_modifyScope___closed__1; lean_object* l_Lean_Elab_Command_elabDefLike___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Command_DefKind_isTheorem(uint8_t); @@ -118,7 +119,6 @@ lean_object* l_Lean_Elab_Command_getLevelNames(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_removeUnused(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_throwAlreadyDeclaredUniverseLevel___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabDefLike(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Command_14__addScopes___main(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_foldArgsAuxM___main___at_Lean_Syntax_foldSepRevArgsM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_removeUnused___closed__1; @@ -128,13 +128,13 @@ lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); extern lean_object* l_HashMap_Inhabited___closed__1; uint8_t l_Lean_Elab_Command_DefKind_isDefOrOpaque(uint8_t); lean_object* lean_task_pure(lean_object*); +lean_object* l___private_Init_Lean_Elab_Command_7__mkTermState(lean_object*); lean_object* l_Lean_CollectLevelParams_main___main(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_DefKind_isExample___boxed(lean_object*); lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_elabDefLike___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkDef___lambda__1(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* l___private_Init_Lean_Elab_Command_3__setState(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Command_10__mkTermState(lean_object*); uint8_t l_Lean_Elab_Command_DefKind_isTheorem(uint8_t x_1) { _start: { @@ -1576,7 +1576,7 @@ lean_dec(x_37); lean_dec(x_35); lean_dec(x_32); lean_dec(x_8); -x_58 = l___private_Init_Lean_Elab_Term_14__resumePostponed___lambda__1___closed__1; +x_58 = l___private_Init_Lean_Elab_Term_11__resumePostponed___lambda__1___closed__1; x_59 = l_unreachable_x21___rarg(x_58); x_60 = lean_apply_2(x_59, x_11, x_38); return x_60; @@ -1748,7 +1748,6 @@ lean_inc(x_6); x_15 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_15, 0, x_6); lean_inc(x_8); -lean_inc(x_10); x_16 = l_Lean_Elab_Term_ensureHasType(x_10, x_15, x_13, x_7, x_8, x_14); if (lean_obj_tag(x_16) == 0) { @@ -1761,7 +1760,7 @@ lean_dec(x_16); x_19 = 0; x_20 = lean_box(0); lean_inc(x_8); -x_21 = l___private_Init_Lean_Elab_Term_20__synthesizeSyntheticMVarsAux___main(x_19, x_20, x_8, x_18); +x_21 = l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVarsAux___main(x_19, x_20, x_8, x_18); if (lean_obj_tag(x_21) == 0) { lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; @@ -2051,6 +2050,7 @@ else lean_object* x_11; lean_object* x_12; x_11 = l_Lean_Elab_Command_elabDefVal___closed__3; x_12 = l_Lean_Elab_Term_throwError___rarg(x_1, x_11, x_3, x_4); +lean_dec(x_1); return x_12; } } @@ -4300,6 +4300,7 @@ lean_object* x_17; uint8_t x_18; lean_dec(x_12); lean_dec(x_4); x_17 = l_Lean_Elab_Command_throwAlreadyDeclaredUniverseLevel___rarg(x_10, x_13, x_5, x_6); +lean_dec(x_10); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -4457,7 +4458,7 @@ lean_dec(x_26); x_29 = 0; x_30 = lean_box(0); lean_inc(x_8); -x_31 = l___private_Init_Lean_Elab_Term_20__synthesizeSyntheticMVarsAux___main(x_29, x_30, x_8, x_28); +x_31 = l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVarsAux___main(x_29, x_30, x_8, x_28); if (lean_obj_tag(x_31) == 0) { lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; uint8_t x_37; lean_object* x_38; lean_object* x_39; @@ -4679,7 +4680,8 @@ x_23 = l_Lean_Parser_Command_namespace___elambda__1___closed__1; x_24 = 1; lean_inc(x_2); lean_inc(x_18); -x_25 = l___private_Init_Lean_Elab_Command_14__addScopes___main(x_5, x_23, x_24, x_18, x_2, x_14); +x_25 = l___private_Init_Lean_Elab_Command_11__addScopes___main(x_5, x_23, x_24, x_18, x_2, x_14); +lean_dec(x_5); if (lean_obj_tag(x_25) == 0) { lean_object* x_26; lean_object* x_27; @@ -4712,7 +4714,6 @@ lean_dec(x_93); x_122 = 2; lean_inc(x_2); lean_inc(x_95); -lean_inc(x_4); x_123 = l_Array_forMAux___main___at_Lean_Elab_Command_applyAttributes___spec__1(x_4, x_95, x_122, x_97, x_6, x_2, x_96); if (lean_obj_tag(x_123) == 0) { @@ -4750,9 +4751,9 @@ lean_inc(x_131); x_132 = lean_ctor_get(x_130, 1); lean_inc(x_132); lean_dec(x_130); -x_133 = l___private_Init_Lean_Elab_Command_11__getVarDecls(x_131); -x_134 = l___private_Init_Lean_Elab_Command_9__mkTermContext(x_2, x_131, x_128); -x_135 = l___private_Init_Lean_Elab_Command_10__mkTermState(x_131); +x_133 = l___private_Init_Lean_Elab_Command_8__getVarDecls(x_131); +x_134 = l___private_Init_Lean_Elab_Command_6__mkTermContext(x_2, x_131, x_128); +x_135 = l___private_Init_Lean_Elab_Command_7__mkTermState(x_131); lean_dec(x_131); x_136 = l_Lean_Elab_Term_elabBinders___rarg(x_133, x_129, x_134, x_135); lean_dec(x_133); @@ -5131,7 +5132,6 @@ x_101 = lean_ctor_get(x_98, 0); lean_inc(x_101); lean_dec(x_98); lean_inc(x_2); -lean_inc(x_4); x_102 = l_Lean_Elab_Command_addDecl(x_4, x_101, x_2, x_99); if (lean_obj_tag(x_102) == 0) { @@ -5142,7 +5142,6 @@ lean_dec(x_102); x_104 = 0; lean_inc(x_2); lean_inc(x_95); -lean_inc(x_4); x_105 = l_Array_forMAux___main___at_Lean_Elab_Command_applyAttributes___spec__1(x_4, x_95, x_104, x_97, x_6, x_2, x_103); if (lean_obj_tag(x_105) == 0) { @@ -5151,7 +5150,6 @@ x_106 = lean_ctor_get(x_105, 1); lean_inc(x_106); lean_dec(x_105); lean_inc(x_2); -lean_inc(x_4); x_107 = l_Lean_Elab_Command_compileDecl(x_4, x_101, x_2, x_106); lean_dec(x_101); if (lean_obj_tag(x_107) == 0) @@ -5164,6 +5162,7 @@ x_109 = 1; lean_inc(x_2); x_110 = l_Array_forMAux___main___at_Lean_Elab_Command_applyAttributes___spec__1(x_4, x_95, x_109, x_97, x_6, x_2, x_108); lean_dec(x_97); +lean_dec(x_4); if (lean_obj_tag(x_110) == 0) { lean_object* x_111; lean_object* x_112; @@ -5628,6 +5627,7 @@ lean_dec(x_4); lean_dec(x_1); x_211 = l_Lean_Elab_Command_withDeclId___closed__3; x_212 = l_Lean_Elab_Command_throwError___rarg(x_5, x_211, x_2, x_14); +lean_dec(x_5); return x_212; } } diff --git a/stage0/stdlib/Init/Lean/Elab/Quotation.c b/stage0/stdlib/Init/Lean/Elab/Quotation.c index 3c9ea7414d..b81d08d945 100644 --- a/stage0/stdlib/Init/Lean/Elab/Quotation.c +++ b/stage0/stdlib/Init/Lean/Elab/Quotation.c @@ -31,6 +31,7 @@ lean_object* l___private_Init_Lean_Elab_Quotation_10__compileStxMatch___main___c lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__4; lean_object* l_Lean_Name_hasQuote___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__3; +lean_object* l___private_Init_Lean_Elab_Quotation_10__compileStxMatch___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_app___elambda__1___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_10__compileStxMatch___main___closed__34; lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_8__getHeadInfo___spec__2___closed__1; @@ -129,8 +130,8 @@ lean_object* l___private_Init_Lean_Elab_Quotation_8__getHeadInfo___elambda__3___ lean_object* l___private_Init_Lean_Elab_Quotation_10__compileStxMatch___main___closed__26; lean_object* l___private_Init_Lean_Elab_Quotation_13__letBindRhss___main___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_10__compileStxMatch___main___closed__12; -extern lean_object* l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__4; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__29; +lean_object* l___private_Init_Lean_Elab_Quotation_10__compileStxMatch___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__12; lean_object* l_Lean_Parser_mkParserState(lean_object*); lean_object* l_List_append___rarg(lean_object*, lean_object*); @@ -142,6 +143,7 @@ lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__ uint8_t l_Array_anyRangeMAux___main___at_Lean_Elab_Term_isAntiquotSplicePat___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_8__getHeadInfo___lambda__2___closed__5; extern lean_object* l_Lean_Parser_Level_num___elambda__1___closed__1; +extern lean_object* l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__9; lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__1___closed__6; lean_object* l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_10__compileStxMatch___main___spec__8___closed__7; lean_object* l___private_Init_Lean_Elab_Quotation_13__letBindRhss___main___closed__2; @@ -160,10 +162,10 @@ lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_8__getHeadInfo___elambda__3___closed__8; lean_object* lean_array_get_size(lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_4__quoteOption___rarg___lambda__1___closed__9; -extern lean_object* l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__6; lean_object* l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_10__compileStxMatch___main___spec__8(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_num___elambda__1___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_8__getHeadInfo___lambda__2___closed__3; +lean_object* l_Lean_Elab_Term_match__syntax_expand___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_List_range(lean_object*); lean_object* l_Lean_Prod_hasQuote___rarg___lambda__1___closed__3; lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__1___closed__1; @@ -184,12 +186,12 @@ lean_object* lean_get_antiquot_vars(lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; lean_object* l_Lean_Prod_hasQuote___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_10__compileStxMatch___main___closed__11; +extern lean_object* l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__4; lean_object* l___private_Init_Lean_Elab_Quotation_4__quoteOption___rarg___closed__1; lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__24; lean_object* l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_10__compileStxMatch___main___spec__5(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__35; lean_object* l___private_Init_Lean_Elab_Quotation_4__quoteOption___rarg___lambda__1___closed__5; -extern lean_object* l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__9; lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Lean_mkAtom(lean_object*); extern lean_object* l_Lean_Parser_Term_cons___elambda__1___closed__1; @@ -214,7 +216,6 @@ lean_object* l_Lean_Elab_Term_antiquotKind_x3f___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main(lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__7; lean_object* l___private_Init_Lean_Elab_Quotation_4__quoteOption___rarg___lambda__2___closed__3; -extern lean_object* l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; extern lean_object* l_Lean_nameToExprAux___main___closed__3; lean_object* l_ReaderT_map___at_Lean_Elab_Term_oldGetPatternVars___spec__1(lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); @@ -297,7 +298,6 @@ lean_object* l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_15__toP lean_object* l___private_Init_Lean_Elab_Quotation_10__compileStxMatch___main___closed__27; extern lean_object* l_Lean_Parser_Term_letPatDecl___elambda__1___closed__1; lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__27; -extern lean_object* l___private_Init_Lean_Elab_Term_14__resumePostponed___lambda__1___closed__1; lean_object* l_Lean_Elab_Term_oldGetPatternVars___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Syntax_paren___elambda__1___closed__1; @@ -321,7 +321,6 @@ lean_object* l___private_Init_Lean_Elab_Quotation_4__quoteOption___rarg___lambda lean_object* l___private_Init_Lean_Elab_Quotation_10__compileStxMatch___main___closed__17; lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__5; lean_object* l___private_Init_Lean_Elab_Quotation_8__getHeadInfo___boxed(lean_object*); -extern lean_object* l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__7; lean_object* l___private_Init_Lean_Elab_Quotation_11__getPatternVarsAux___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_8__getHeadInfo___closed__2; lean_object* l___private_Init_Lean_Elab_Quotation_4__quoteOption___rarg___lambda__2___closed__6; @@ -365,6 +364,7 @@ extern lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__2; lean_object* l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_15__toPreterm___main___spec__1___closed__1; extern lean_object* l_Lean_Elab_Exception_hasToString___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_15__toPreterm___main___lambda__3___closed__2; +extern lean_object* l___private_Init_Lean_Elab_Term_11__resumePostponed___lambda__1___closed__1; extern lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1___closed__2; extern lean_object* l_PersistentArray_empty___closed__3; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__16; @@ -446,6 +446,7 @@ lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__ lean_object* l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_10__compileStxMatch___main___spec__8___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_8__getHeadInfo___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__1; +extern lean_object* l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__7; extern lean_object* l_Lean_Parser_regBuiltinTermParserAttr___closed__4; lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__1; lean_object* l_Lean_KVMap_setName(lean_object*, lean_object*, lean_object*); @@ -487,7 +488,6 @@ lean_object* l___private_Init_Lean_Elab_Quotation_10__compileStxMatch___main___c lean_object* l___private_Init_Lean_Elab_Quotation_2__appN(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__18; lean_object* l___private_Init_Lean_Elab_Quotation_13__letBindRhss(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern uint8_t l___private_Init_Lean_Elab_Term_7__hasCDot___main___closed__1; lean_object* l_Lean_Elab_Term_match__syntax_expand(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_4__quoteOption___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkApp(lean_object*, lean_object*); @@ -528,6 +528,7 @@ lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__ lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_match__syntax_expand___spec__1___closed__2; lean_object* l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_13__letBindRhss___main___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalContext_mkLambda(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_match__syntax_expand___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_8__getHeadInfo___elambda__3___closed__9; lean_object* l_List_map___main___at_Lean_Elab_Term_oldExpandMatchSyntax___spec__1(lean_object*); extern lean_object* l_Lean_Elab_Term_declareBuiltinTermElab___closed__4; @@ -590,6 +591,7 @@ lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabStxQuot___closed__3; lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__2; lean_object* l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_15__toPreterm___main___spec__8(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_4__quoteOption___rarg___lambda__1___closed__4; +extern lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; lean_object* l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_10__compileStxMatch___main___spec__8___closed__2; lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__11; extern lean_object* l_Lean_Syntax_getKind___closed__3; @@ -602,6 +604,7 @@ lean_object* l___private_Init_Lean_Elab_Quotation_8__getHeadInfo___closed__3; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_8__getHeadInfo___elambda__3___closed__5; extern lean_object* l_Lean_MetavarContext_Inhabited___closed__1; +extern lean_object* l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__6; lean_object* l___private_Init_Lean_Elab_Quotation_16__oldRunTermElabM___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__2; lean_object* l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_10__compileStxMatch___main___spec__3___boxed(lean_object*, lean_object*); @@ -647,6 +650,7 @@ lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_15__toPreterm___main___lambda__1___closed__2; lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern uint8_t l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; extern lean_object* l_Lean_Parser_Term_and___elambda__1___closed__1; extern lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__10; lean_object* l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_15__toPreterm___main___spec__6(lean_object*, lean_object*, lean_object*); @@ -923,7 +927,7 @@ lean_ctor_set(x_11, 2, x_8); lean_ctor_set(x_11, 3, x_10); x_12 = l_Array_empty___closed__1; x_13 = lean_array_push(x_12, x_11); -x_14 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_14 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_15 = lean_array_push(x_13, x_14); x_16 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_17 = lean_alloc_ctor(1, 2, 0); @@ -1035,7 +1039,7 @@ lean_ctor_set(x_11, 2, x_8); lean_ctor_set(x_11, 3, x_10); x_12 = l_Array_empty___closed__1; x_13 = lean_array_push(x_12, x_11); -x_14 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_14 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_15 = lean_array_push(x_13, x_14); x_16 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_17 = lean_alloc_ctor(1, 2, 0); @@ -1298,7 +1302,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_rootNamespace___closed__2; -x_2 = l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__4; +x_2 = l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -1308,7 +1312,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Prod_hasQuote___rarg___lambda__1___closed__4; -x_2 = l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__6; +x_2 = l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -1321,7 +1325,7 @@ x_8 = lean_box(0); x_9 = l_Lean_Prod_hasQuote___rarg___lambda__1___closed__5; x_10 = lean_name_mk_numeral(x_9, x_5); x_11 = l_Lean_Prod_hasQuote___rarg___lambda__1___closed__3; -x_12 = l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__9; +x_12 = l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__9; x_13 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_13, 0, x_8); lean_ctor_set(x_13, 1, x_11); @@ -1329,7 +1333,7 @@ lean_ctor_set(x_13, 2, x_10); lean_ctor_set(x_13, 3, x_12); x_14 = l_Array_empty___closed__1; x_15 = lean_array_push(x_14, x_13); -x_16 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_16 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_17 = lean_array_push(x_15, x_16); x_18 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_19 = lean_alloc_ctor(1, 2, 0); @@ -1484,7 +1488,7 @@ lean_ctor_set(x_9, 2, x_6); lean_ctor_set(x_9, 3, x_8); x_10 = l_Array_empty___closed__1; x_11 = lean_array_push(x_10, x_9); -x_12 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_12 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_13 = lean_array_push(x_11, x_12); x_14 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_15 = lean_alloc_ctor(1, 2, 0); @@ -1577,7 +1581,7 @@ lean_ctor_set(x_12, 2, x_9); lean_ctor_set(x_12, 3, x_11); x_13 = l_Array_empty___closed__1; x_14 = lean_array_push(x_13, x_12); -x_15 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_15 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_16 = lean_array_push(x_14, x_15); x_17 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_18 = lean_alloc_ctor(1, 2, 0); @@ -1779,7 +1783,7 @@ lean_ctor_set(x_10, 2, x_7); lean_ctor_set(x_10, 3, x_9); x_11 = l_Array_empty___closed__1; x_12 = lean_array_push(x_11, x_10); -x_13 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_13 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_14 = lean_array_push(x_12, x_13); x_15 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_16 = lean_alloc_ctor(1, 2, 0); @@ -1958,7 +1962,7 @@ lean_ctor_set(x_9, 2, x_6); lean_ctor_set(x_9, 3, x_8); x_10 = l_Array_empty___closed__1; x_11 = lean_array_push(x_10, x_9); -x_12 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_12 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_13 = lean_array_push(x_11, x_12); x_14 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_15 = lean_alloc_ctor(1, 2, 0); @@ -2069,7 +2073,7 @@ lean_ctor_set(x_11, 2, x_8); lean_ctor_set(x_11, 3, x_10); x_12 = l_Array_empty___closed__1; x_13 = lean_array_push(x_12, x_11); -x_14 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_14 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_15 = lean_array_push(x_13, x_14); x_16 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_17 = lean_alloc_ctor(1, 2, 0); @@ -3072,7 +3076,7 @@ lean_ctor_set(x_11, 2, x_8); lean_ctor_set(x_11, 3, x_10); x_12 = l_Array_empty___closed__1; x_13 = lean_array_push(x_12, x_11); -x_14 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_14 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_15 = lean_array_push(x_13, x_14); x_16 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_17 = lean_alloc_ctor(1, 2, 0); @@ -3136,12 +3140,12 @@ lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___pri _start: { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_13 = l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__4; +x_13 = l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__4; x_14 = lean_name_mk_string(x_1, x_13); -x_15 = l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__6; +x_15 = l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__6; x_16 = lean_name_mk_string(x_14, x_15); x_17 = lean_name_mk_numeral(x_16, x_10); -x_18 = l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__7; +x_18 = l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__7; lean_inc(x_2); x_19 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_19, 0, x_18); @@ -3198,7 +3202,7 @@ lean_ctor_set(x_12, 2, x_8); lean_ctor_set(x_12, 3, x_11); x_13 = l_Array_empty___closed__1; x_14 = lean_array_push(x_13, x_12); -x_15 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_15 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_16 = lean_array_push(x_14, x_15); x_17 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_18 = lean_alloc_ctor(1, 2, 0); @@ -3963,7 +3967,7 @@ switch (lean_obj_tag(x_1)) { case 0: { lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_4 = l___private_Init_Lean_Elab_Term_14__resumePostponed___lambda__1___closed__1; +x_4 = l___private_Init_Lean_Elab_Term_11__resumePostponed___lambda__1___closed__1; x_5 = l_unreachable_x21___rarg(x_4); x_6 = lean_apply_2(x_5, x_2, x_3); return x_6; @@ -4006,7 +4010,7 @@ lean_ctor_set(x_22, 2, x_18); lean_ctor_set(x_22, 3, x_21); x_23 = l_Array_empty___closed__1; x_24 = lean_array_push(x_23, x_22); -x_25 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_25 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_26 = lean_array_push(x_24, x_25); x_27 = l_Lean_Parser_Term_id___elambda__1___closed__2; lean_ctor_set(x_1, 1, x_26); @@ -4149,7 +4153,7 @@ lean_ctor_set(x_85, 2, x_81); lean_ctor_set(x_85, 3, x_84); x_86 = l_Array_empty___closed__1; x_87 = lean_array_push(x_86, x_85); -x_88 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_88 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_89 = lean_array_push(x_87, x_88); x_90 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_91 = lean_alloc_ctor(1, 2, 0); @@ -4269,6 +4273,7 @@ else lean_object* x_127; lean_object* x_128; x_127 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__21; x_128 = l_Lean_Elab_Term_throwError___rarg(x_1, x_127, x_2, x_3); +lean_dec(x_1); return x_128; } } @@ -4303,7 +4308,7 @@ lean_ctor_set(x_140, 2, x_137); lean_ctor_set(x_140, 3, x_139); x_141 = l_Array_empty___closed__1; x_142 = lean_array_push(x_141, x_140); -x_143 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_143 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_144 = lean_array_push(x_142, x_143); x_145 = l_Lean_Parser_Term_id___elambda__1___closed__2; lean_ctor_set_tag(x_1, 1); @@ -4365,7 +4370,7 @@ lean_ctor_set(x_173, 2, x_170); lean_ctor_set(x_173, 3, x_172); x_174 = l_Array_empty___closed__1; x_175 = lean_array_push(x_174, x_173); -x_176 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_176 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_177 = lean_array_push(x_175, x_176); x_178 = l_Lean_Parser_Term_id___elambda__1___closed__2; lean_ctor_set_tag(x_1, 1); @@ -4442,7 +4447,7 @@ lean_ctor_set(x_210, 2, x_207); lean_ctor_set(x_210, 3, x_209); x_211 = l_Array_empty___closed__1; x_212 = lean_array_push(x_211, x_210); -x_213 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_213 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_214 = lean_array_push(x_212, x_213); x_215 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_216 = lean_alloc_ctor(1, 2, 0); @@ -4544,7 +4549,7 @@ lean_ctor_set(x_1, 1, x_262); lean_ctor_set(x_1, 0, x_258); x_264 = l_Array_empty___closed__1; x_265 = lean_array_push(x_264, x_1); -x_266 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_266 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_267 = lean_array_push(x_265, x_266); x_268 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_269 = lean_alloc_ctor(1, 2, 0); @@ -4854,7 +4859,7 @@ lean_ctor_set(x_431, 2, x_427); lean_ctor_set(x_431, 3, x_430); x_432 = l_Array_empty___closed__1; x_433 = lean_array_push(x_432, x_431); -x_434 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_434 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_435 = lean_array_push(x_433, x_434); x_436 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_437 = lean_alloc_ctor(1, 2, 0); @@ -5376,7 +5381,7 @@ lean_ctor_set(x_19, 2, x_15); lean_ctor_set(x_19, 3, x_18); x_20 = l_Array_empty___closed__1; x_21 = lean_array_push(x_20, x_19); -x_22 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_22 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_23 = lean_array_push(x_21, x_22); x_24 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_25 = lean_alloc_ctor(1, 2, 0); @@ -5493,7 +5498,7 @@ lean_ctor_set(x_86, 2, x_82); lean_ctor_set(x_86, 3, x_85); x_87 = l_Array_empty___closed__1; x_88 = lean_array_push(x_87, x_86); -x_89 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_89 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_90 = lean_array_push(x_88, x_89); x_91 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_92 = lean_alloc_ctor(1, 2, 0); @@ -5966,7 +5971,7 @@ x_7 = lean_ctor_get(x_5, 0); x_8 = lean_box(0); x_9 = l_Array_empty___closed__1; x_10 = lean_array_push(x_9, x_1); -x_11 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_11 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_12 = lean_array_push(x_10, x_11); x_13 = l___private_Init_Lean_Elab_Quotation_8__getHeadInfo___elambda__3___closed__4; x_14 = lean_array_push(x_12, x_13); @@ -6013,7 +6018,7 @@ lean_dec(x_5); x_36 = lean_box(0); x_37 = l_Array_empty___closed__1; x_38 = lean_array_push(x_37, x_1); -x_39 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_39 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_40 = lean_array_push(x_38, x_39); x_41 = l___private_Init_Lean_Elab_Quotation_8__getHeadInfo___elambda__3___closed__4; x_42 = lean_array_push(x_40, x_41); @@ -6183,6 +6188,7 @@ x_13 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_13, 0, x_12); lean_ctor_set(x_13, 1, x_11); x_14 = l_Lean_Elab_Term_throwError___rarg(x_1, x_13, x_3, x_4); +lean_dec(x_1); return x_14; } } @@ -6254,7 +6260,7 @@ lean_inc(x_1); x_15 = lean_name_mk_string(x_1, x_14); x_16 = l_Array_empty___closed__1; x_17 = lean_array_push(x_16, x_2); -x_18 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_18 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_19 = lean_array_push(x_17, x_18); x_20 = l___private_Init_Lean_Elab_Quotation_8__getHeadInfo___elambda__3___closed__4; x_21 = lean_array_push(x_19, x_20); @@ -6336,7 +6342,7 @@ lean_inc(x_1); x_62 = lean_name_mk_string(x_1, x_61); x_63 = l_Array_empty___closed__1; x_64 = lean_array_push(x_63, x_2); -x_65 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_65 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_66 = lean_array_push(x_64, x_65); x_67 = l___private_Init_Lean_Elab_Quotation_8__getHeadInfo___elambda__3___closed__4; x_68 = lean_array_push(x_66, x_67); @@ -6452,6 +6458,7 @@ x_13 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_13, 0, x_12); lean_ctor_set(x_13, 1, x_11); x_14 = l_Lean_Elab_Term_throwError___rarg(x_1, x_13, x_3, x_4); +lean_dec(x_1); return x_14; } } @@ -6482,7 +6489,7 @@ x_13 = l_Lean_Parser_Term_letPatDecl___elambda__1___closed__1; x_14 = lean_name_mk_string(x_1, x_13); x_15 = l_Array_empty___closed__1; x_16 = lean_array_push(x_15, x_2); -x_17 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_17 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_18 = lean_array_push(x_16, x_17); x_19 = l___private_Init_Lean_Elab_Quotation_8__getHeadInfo___elambda__3___closed__4; x_20 = lean_array_push(x_18, x_19); @@ -6531,7 +6538,7 @@ x_42 = l_Lean_Parser_Term_letPatDecl___elambda__1___closed__1; x_43 = lean_name_mk_string(x_1, x_42); x_44 = l_Array_empty___closed__1; x_45 = lean_array_push(x_44, x_2); -x_46 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_46 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_47 = lean_array_push(x_45, x_46); x_48 = l___private_Init_Lean_Elab_Quotation_8__getHeadInfo___elambda__3___closed__4; x_49 = lean_array_push(x_47, x_48); @@ -6837,7 +6844,7 @@ x_68 = l_Lean_Syntax_isOfKind(x_66, x_67); if (x_68 == 0) { uint8_t x_69; -x_69 = l___private_Init_Lean_Elab_Term_7__hasCDot___main___closed__1; +x_69 = l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; if (x_69 == 0) { lean_dec(x_66); @@ -6914,7 +6921,7 @@ if (x_86 == 0) { uint8_t x_87; lean_dec(x_85); -x_87 = l___private_Init_Lean_Elab_Term_7__hasCDot___main___closed__1; +x_87 = l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; if (x_87 == 0) { lean_dec(x_84); @@ -7061,6 +7068,7 @@ _start: lean_object* x_5; x_5 = l___private_Init_Lean_Elab_Quotation_8__getHeadInfo___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_2); +lean_dec(x_1); return x_5; } } @@ -7170,7 +7178,7 @@ lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); -x_7 = l___private_Init_Lean_Elab_Term_14__resumePostponed___lambda__1___closed__1; +x_7 = l___private_Init_Lean_Elab_Term_11__resumePostponed___lambda__1___closed__1; x_8 = l_unreachable_x21___rarg(x_7); x_9 = lean_apply_2(x_8, x_3, x_4); return x_9; @@ -8168,7 +8176,7 @@ lean_ctor_set(x_18, 2, x_14); lean_ctor_set(x_18, 3, x_17); x_19 = l_Array_empty___closed__1; x_20 = lean_array_push(x_19, x_18); -x_21 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_21 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_22 = lean_array_push(x_20, x_21); x_23 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_24 = lean_alloc_ctor(1, 2, 0); @@ -8262,7 +8270,7 @@ lean_ctor_set(x_63, 2, x_59); lean_ctor_set(x_63, 3, x_62); x_64 = l_Array_empty___closed__1; x_65 = lean_array_push(x_64, x_63); -x_66 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_66 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_67 = lean_array_push(x_65, x_66); x_68 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_69 = lean_alloc_ctor(1, 2, 0); @@ -8832,7 +8840,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Init_Lean_Elab_Quotation_10__compileStxMatch___main___closed__13; -x_2 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_2 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_3 = lean_array_push(x_1, x_2); return x_3; } @@ -9104,7 +9112,6 @@ return x_7; else { lean_object* x_8; lean_object* x_9; -lean_dec(x_1); x_8 = lean_ctor_get(x_3, 0); lean_inc(x_8); lean_dec(x_3); @@ -9127,7 +9134,7 @@ else lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_dec(x_9); lean_dec(x_8); -x_12 = l___private_Init_Lean_Elab_Term_14__resumePostponed___lambda__1___closed__1; +x_12 = l___private_Init_Lean_Elab_Term_11__resumePostponed___lambda__1___closed__1; x_13 = l_unreachable_x21___rarg(x_12); x_14 = lean_apply_2(x_13, x_4, x_5); return x_14; @@ -9230,7 +9237,6 @@ lean_ctor_set(x_47, 7, x_44); lean_ctor_set(x_47, 8, x_45); lean_ctor_set(x_47, 9, x_34); lean_ctor_set_uint8(x_47, sizeof(void*)*10, x_46); -lean_inc(x_1); x_48 = l___private_Init_Lean_Elab_Quotation_10__compileStxMatch___main(x_1, x_32, x_30, x_47, x_31); if (lean_obj_tag(x_48) == 0) { @@ -9252,7 +9258,6 @@ lean_dec(x_37); lean_dec(x_25); lean_dec(x_21); lean_dec(x_2); -lean_dec(x_1); x_50 = lean_ctor_get(x_48, 0); lean_inc(x_50); x_51 = lean_ctor_get(x_48, 1); @@ -9276,7 +9281,7 @@ lean_ctor_set(x_59, 2, x_57); lean_ctor_set(x_59, 3, x_27); x_60 = l_Array_empty___closed__1; x_61 = lean_array_push(x_60, x_59); -x_62 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_62 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_63 = lean_array_push(x_61, x_62); x_64 = lean_array_push(x_63, x_62); x_65 = l___private_Init_Lean_Elab_Quotation_8__getHeadInfo___elambda__3___closed__4; @@ -9317,7 +9322,7 @@ lean_ctor_set(x_83, 2, x_81); lean_ctor_set(x_83, 3, x_27); x_84 = l_Array_empty___closed__1; x_85 = lean_array_push(x_84, x_83); -x_86 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_86 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_87 = lean_array_push(x_85, x_86); x_88 = lean_array_push(x_87, x_86); x_89 = l___private_Init_Lean_Elab_Quotation_8__getHeadInfo___elambda__3___closed__4; @@ -9403,7 +9408,7 @@ lean_ctor_set(x_122, 2, x_119); lean_ctor_set(x_122, 3, x_121); x_123 = l_Array_empty___closed__1; x_124 = lean_array_push(x_123, x_122); -x_125 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_125 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_126 = lean_array_push(x_124, x_125); x_127 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_128 = lean_alloc_ctor(1, 2, 0); @@ -9663,7 +9668,7 @@ lean_ctor_set(x_250, 2, x_247); lean_ctor_set(x_250, 3, x_249); x_251 = l_Array_empty___closed__1; x_252 = lean_array_push(x_251, x_250); -x_253 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_253 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_254 = lean_array_push(x_252, x_253); x_255 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_256 = lean_alloc_ctor(1, 2, 0); @@ -9822,7 +9827,6 @@ lean_dec(x_21); lean_dec(x_17); lean_dec(x_4); lean_dec(x_2); -lean_dec(x_1); x_319 = !lean_is_exclusive(x_48); if (x_319 == 0) { @@ -9908,7 +9912,6 @@ lean_ctor_set(x_342, 7, x_339); lean_ctor_set(x_342, 8, x_340); lean_ctor_set(x_342, 9, x_328); lean_ctor_set_uint8(x_342, sizeof(void*)*10, x_341); -lean_inc(x_1); x_343 = l___private_Init_Lean_Elab_Quotation_10__compileStxMatch___main(x_1, x_32, x_30, x_342, x_331); if (lean_obj_tag(x_343) == 0) { @@ -9930,7 +9933,6 @@ lean_dec(x_332); lean_dec(x_25); lean_dec(x_21); lean_dec(x_2); -lean_dec(x_1); x_345 = lean_ctor_get(x_343, 0); lean_inc(x_345); x_346 = lean_ctor_get(x_343, 1); @@ -9961,7 +9963,7 @@ lean_ctor_set(x_355, 2, x_353); lean_ctor_set(x_355, 3, x_27); x_356 = l_Array_empty___closed__1; x_357 = lean_array_push(x_356, x_355); -x_358 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_358 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_359 = lean_array_push(x_357, x_358); x_360 = lean_array_push(x_359, x_358); x_361 = l___private_Init_Lean_Elab_Quotation_8__getHeadInfo___elambda__3___closed__4; @@ -10079,7 +10081,7 @@ lean_ctor_set(x_400, 2, x_397); lean_ctor_set(x_400, 3, x_399); x_401 = l_Array_empty___closed__1; x_402 = lean_array_push(x_401, x_400); -x_403 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_403 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_404 = lean_array_push(x_402, x_403); x_405 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_406 = lean_alloc_ctor(1, 2, 0); @@ -10237,7 +10239,6 @@ lean_dec(x_21); lean_dec(x_17); lean_dec(x_4); lean_dec(x_2); -lean_dec(x_1); x_469 = lean_ctor_get(x_343, 0); lean_inc(x_469); x_470 = lean_ctor_get(x_343, 1); @@ -10270,7 +10271,6 @@ lean_dec(x_18); lean_dec(x_17); lean_dec(x_4); lean_dec(x_2); -lean_dec(x_1); x_473 = !lean_is_exclusive(x_29); if (x_473 == 0) { @@ -10369,7 +10369,6 @@ lean_ctor_set(x_503, 7, x_500); lean_ctor_set(x_503, 8, x_501); lean_ctor_set(x_503, 9, x_490); lean_ctor_set_uint8(x_503, sizeof(void*)*10, x_502); -lean_inc(x_1); x_504 = l___private_Init_Lean_Elab_Quotation_10__compileStxMatch___main(x_1, x_488, x_486, x_503, x_487); if (lean_obj_tag(x_504) == 0) { @@ -10392,7 +10391,6 @@ lean_dec(x_478); lean_dec(x_25); lean_dec(x_21); lean_dec(x_2); -lean_dec(x_1); x_506 = lean_ctor_get(x_504, 0); lean_inc(x_506); x_507 = lean_ctor_get(x_504, 1); @@ -10416,7 +10414,7 @@ lean_ctor_set(x_515, 2, x_513); lean_ctor_set(x_515, 3, x_483); x_516 = l_Array_empty___closed__1; x_517 = lean_array_push(x_516, x_515); -x_518 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_518 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_519 = lean_array_push(x_517, x_518); x_520 = lean_array_push(x_519, x_518); x_521 = l___private_Init_Lean_Elab_Quotation_8__getHeadInfo___elambda__3___closed__4; @@ -10457,7 +10455,7 @@ lean_ctor_set(x_539, 2, x_537); lean_ctor_set(x_539, 3, x_483); x_540 = l_Array_empty___closed__1; x_541 = lean_array_push(x_540, x_539); -x_542 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_542 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_543 = lean_array_push(x_541, x_542); x_544 = lean_array_push(x_543, x_542); x_545 = l___private_Init_Lean_Elab_Quotation_8__getHeadInfo___elambda__3___closed__4; @@ -10543,7 +10541,7 @@ lean_ctor_set(x_578, 2, x_575); lean_ctor_set(x_578, 3, x_577); x_579 = l_Array_empty___closed__1; x_580 = lean_array_push(x_579, x_578); -x_581 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_581 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_582 = lean_array_push(x_580, x_581); x_583 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_584 = lean_alloc_ctor(1, 2, 0); @@ -10884,7 +10882,7 @@ lean_ctor_set(x_757, 2, x_754); lean_ctor_set(x_757, 3, x_756); x_758 = l_Array_empty___closed__1; x_759 = lean_array_push(x_758, x_757); -x_760 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_760 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_761 = lean_array_push(x_759, x_760); x_762 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_763 = lean_alloc_ctor(1, 2, 0); @@ -11125,7 +11123,6 @@ lean_dec(x_21); lean_dec(x_17); lean_dec(x_4); lean_dec(x_2); -lean_dec(x_1); x_877 = !lean_is_exclusive(x_504); if (x_877 == 0) { @@ -11211,7 +11208,6 @@ lean_ctor_set(x_900, 7, x_897); lean_ctor_set(x_900, 8, x_898); lean_ctor_set(x_900, 9, x_886); lean_ctor_set_uint8(x_900, sizeof(void*)*10, x_899); -lean_inc(x_1); x_901 = l___private_Init_Lean_Elab_Quotation_10__compileStxMatch___main(x_1, x_488, x_486, x_900, x_889); if (lean_obj_tag(x_901) == 0) { @@ -11234,7 +11230,6 @@ lean_dec(x_478); lean_dec(x_25); lean_dec(x_21); lean_dec(x_2); -lean_dec(x_1); x_903 = lean_ctor_get(x_901, 0); lean_inc(x_903); x_904 = lean_ctor_get(x_901, 1); @@ -11265,7 +11260,7 @@ lean_ctor_set(x_913, 2, x_911); lean_ctor_set(x_913, 3, x_483); x_914 = l_Array_empty___closed__1; x_915 = lean_array_push(x_914, x_913); -x_916 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_916 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_917 = lean_array_push(x_915, x_916); x_918 = lean_array_push(x_917, x_916); x_919 = l___private_Init_Lean_Elab_Quotation_8__getHeadInfo___elambda__3___closed__4; @@ -11383,7 +11378,7 @@ lean_ctor_set(x_958, 2, x_955); lean_ctor_set(x_958, 3, x_957); x_959 = l_Array_empty___closed__1; x_960 = lean_array_push(x_959, x_958); -x_961 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_961 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_962 = lean_array_push(x_960, x_961); x_963 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_964 = lean_alloc_ctor(1, 2, 0); @@ -11623,7 +11618,6 @@ lean_dec(x_21); lean_dec(x_17); lean_dec(x_4); lean_dec(x_2); -lean_dec(x_1); x_1078 = lean_ctor_get(x_901, 0); lean_inc(x_1078); x_1079 = lean_ctor_get(x_901, 1); @@ -11658,7 +11652,6 @@ lean_dec(x_18); lean_dec(x_17); lean_dec(x_4); lean_dec(x_2); -lean_dec(x_1); x_1082 = !lean_is_exclusive(x_485); if (x_1082 == 0) { @@ -11756,6 +11749,15 @@ lean_dec(x_1); return x_4; } } +lean_object* l___private_Init_Lean_Elab_Quotation_10__compileStxMatch___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l___private_Init_Lean_Elab_Quotation_10__compileStxMatch___main(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_1); +return x_6; +} +} lean_object* l___private_Init_Lean_Elab_Quotation_10__compileStxMatch(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -11764,6 +11766,15 @@ x_6 = l___private_Init_Lean_Elab_Quotation_10__compileStxMatch___main(x_1, x_2, return x_6; } } +lean_object* l___private_Init_Lean_Elab_Quotation_10__compileStxMatch___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l___private_Init_Lean_Elab_Quotation_10__compileStxMatch(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_1); +return x_6; +} +} lean_object* l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_11__getPatternVarsAux___main___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -12096,6 +12107,7 @@ x_35 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_35, 0, x_34); lean_ctor_set(x_35, 1, x_33); x_36 = l_Lean_Elab_Term_throwError___rarg(x_24, x_35, x_2, x_3); +lean_dec(x_24); return x_36; } else @@ -12131,7 +12143,7 @@ x_45 = l_Lean_Syntax_isOfKind(x_43, x_44); if (x_45 == 0) { uint8_t x_46; -x_46 = l___private_Init_Lean_Elab_Term_7__hasCDot___main___closed__1; +x_46 = l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; if (x_46 == 0) { lean_dec(x_43); @@ -12208,7 +12220,7 @@ if (x_63 == 0) { uint8_t x_64; lean_dec(x_62); -x_64 = l___private_Init_Lean_Elab_Term_7__hasCDot___main___closed__1; +x_64 = l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; if (x_64 == 0) { lean_dec(x_61); @@ -12596,7 +12608,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__53; -x_2 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_2 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_3 = lean_array_push(x_1, x_2); return x_3; } @@ -12763,7 +12775,7 @@ lean_ctor_set(x_26, 2, x_23); lean_ctor_set(x_26, 3, x_24); x_27 = l_Array_empty___closed__1; x_28 = lean_array_push(x_27, x_26); -x_29 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_29 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_30 = lean_array_push(x_28, x_29); x_31 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_32 = lean_alloc_ctor(1, 2, 0); @@ -13701,7 +13713,7 @@ lean_ctor_set(x_396, 2, x_393); lean_ctor_set(x_396, 3, x_394); x_397 = l_Array_empty___closed__1; x_398 = lean_array_push(x_397, x_396); -x_399 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_399 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_400 = lean_array_push(x_398, x_399); x_401 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_402 = lean_alloc_ctor(1, 2, 0); @@ -14180,7 +14192,7 @@ lean_ctor_set(x_564, 2, x_561); lean_ctor_set(x_564, 3, x_562); x_565 = l_Array_empty___closed__1; x_566 = lean_array_push(x_565, x_564); -x_567 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_567 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_568 = lean_array_push(x_566, x_567); x_569 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_570 = lean_alloc_ctor(1, 2, 0); @@ -14664,7 +14676,6 @@ if (x_7 == 0) lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_dec(x_4); lean_dec(x_2); -lean_dec(x_1); x_8 = l_Array_empty___closed__1; x_9 = x_3; x_10 = lean_alloc_ctor(0, 2, 0); @@ -14781,7 +14792,6 @@ x_8 = l_Lean_Syntax_getArgs(x_7); lean_dec(x_7); x_9 = lean_unsigned_to_nat(0u); lean_inc(x_2); -lean_inc(x_1); x_10 = l_Array_umapMAux___main___at_Lean_Elab_Term_match__syntax_expand___spec__1(x_1, x_9, x_8, x_2, x_3); if (lean_obj_tag(x_10) == 0) { @@ -14805,7 +14815,6 @@ else uint8_t x_17; lean_dec(x_5); lean_dec(x_2); -lean_dec(x_1); x_17 = !lean_is_exclusive(x_10); if (x_17 == 0) { @@ -14827,11 +14836,29 @@ return x_20; } } } +lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_match__syntax_expand___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Array_umapMAux___main___at_Lean_Elab_Term_match__syntax_expand___spec__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_Term_match__syntax_expand___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Term_match__syntax_expand(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} lean_object* _init_l_Lean_Elab_Term_elabMatchSyntax___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_match__syntax_expand), 3, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_match__syntax_expand___boxed), 3, 0); return x_1; } } @@ -15785,6 +15812,7 @@ x_142 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_142, 0, x_141); lean_ctor_set(x_142, 1, x_140); x_143 = l_Lean_Elab_Term_throwError___rarg(x_1, x_142, x_2, x_3); +lean_dec(x_1); return x_143; } else @@ -15810,6 +15838,7 @@ x_151 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_151, 0, x_150); lean_ctor_set(x_151, 1, x_149); x_152 = l_Lean_Elab_Term_throwError___rarg(x_1, x_151, x_2, x_3); +lean_dec(x_1); return x_152; } else @@ -15881,6 +15910,7 @@ x_178 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_178, 0, x_177); lean_ctor_set(x_178, 1, x_176); x_179 = l_Lean_Elab_Term_throwError___rarg(x_1, x_178, x_2, x_3); +lean_dec(x_1); return x_179; } else @@ -17485,6 +17515,7 @@ lean_dec(x_629); x_632 = lean_box(0); lean_inc(x_2); x_633 = l_Lean_Elab_Term_resolveName(x_1, x_630, x_631, x_632, x_2, x_3); +lean_dec(x_1); if (lean_obj_tag(x_633) == 0) { lean_object* x_634; @@ -17496,7 +17527,7 @@ lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; x_635 = lean_ctor_get(x_633, 1); lean_inc(x_635); lean_dec(x_633); -x_636 = l___private_Init_Lean_Elab_Term_14__resumePostponed___lambda__1___closed__1; +x_636 = l___private_Init_Lean_Elab_Term_11__resumePostponed___lambda__1___closed__1; x_637 = l_unreachable_x21___rarg(x_636); x_638 = lean_apply_2(x_637, x_2, x_635); return x_638; @@ -17967,7 +17998,7 @@ else lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_dec(x_629); lean_dec(x_1); -x_753 = l___private_Init_Lean_Elab_Term_14__resumePostponed___lambda__1___closed__1; +x_753 = l___private_Init_Lean_Elab_Term_11__resumePostponed___lambda__1___closed__1; x_754 = l_unreachable_x21___rarg(x_753); x_755 = lean_apply_2(x_754, x_2, x_3); return x_755; @@ -18002,6 +18033,7 @@ x_764 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_764, 0, x_763); lean_ctor_set(x_764, 1, x_762); x_765 = l_Lean_Elab_Term_throwError___rarg(x_1, x_764, x_2, x_3); +lean_dec(x_1); return x_765; } else @@ -18031,6 +18063,7 @@ x_774 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_774, 0, x_773); lean_ctor_set(x_774, 1, x_772); x_775 = l_Lean_Elab_Term_throwError___rarg(x_1, x_774, x_2, x_3); +lean_dec(x_1); return x_775; } else @@ -18106,6 +18139,7 @@ x_802 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_802, 0, x_801); lean_ctor_set(x_802, 1, x_800); x_803 = l_Lean_Elab_Term_throwError___rarg(x_1, x_802, x_2, x_3); +lean_dec(x_1); return x_803; } else @@ -19284,6 +19318,7 @@ lean_dec(x_1134); x_1137 = lean_box(0); lean_inc(x_2); x_1138 = l_Lean_Elab_Term_resolveName(x_1, x_1135, x_1136, x_1137, x_2, x_3); +lean_dec(x_1); if (lean_obj_tag(x_1138) == 0) { lean_object* x_1139; @@ -19295,7 +19330,7 @@ lean_object* x_1140; lean_object* x_1141; lean_object* x_1142; lean_object* x_11 x_1140 = lean_ctor_get(x_1138, 1); lean_inc(x_1140); lean_dec(x_1138); -x_1141 = l___private_Init_Lean_Elab_Term_14__resumePostponed___lambda__1___closed__1; +x_1141 = l___private_Init_Lean_Elab_Term_11__resumePostponed___lambda__1___closed__1; x_1142 = l_unreachable_x21___rarg(x_1141); x_1143 = lean_apply_2(x_1142, x_2, x_1140); return x_1143; @@ -19686,7 +19721,7 @@ else lean_object* x_1217; lean_object* x_1218; lean_object* x_1219; lean_dec(x_1134); lean_dec(x_1); -x_1217 = l___private_Init_Lean_Elab_Term_14__resumePostponed___lambda__1___closed__1; +x_1217 = l___private_Init_Lean_Elab_Term_11__resumePostponed___lambda__1___closed__1; x_1218 = l_unreachable_x21___rarg(x_1217); x_1219 = lean_apply_2(x_1218, x_2, x_3); return x_1219; @@ -19761,6 +19796,7 @@ x_1235 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_1235, 0, x_1234); lean_ctor_set(x_1235, 1, x_1233); x_1236 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1235, x_2, x_3); +lean_dec(x_1); return x_1236; } else @@ -19798,6 +19834,7 @@ x_1246 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_1246, 0, x_1245); lean_ctor_set(x_1246, 1, x_1244); x_1247 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1246, x_2, x_3); +lean_dec(x_1); return x_1247; } else @@ -19881,6 +19918,7 @@ x_1275 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_1275, 0, x_1274); lean_ctor_set(x_1275, 1, x_1273); x_1276 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1275, x_2, x_3); +lean_dec(x_1); return x_1276; } else @@ -21059,6 +21097,7 @@ lean_dec(x_1607); x_1610 = lean_box(0); lean_inc(x_2); x_1611 = l_Lean_Elab_Term_resolveName(x_1, x_1608, x_1609, x_1610, x_2, x_3); +lean_dec(x_1); if (lean_obj_tag(x_1611) == 0) { lean_object* x_1612; @@ -21070,7 +21109,7 @@ lean_object* x_1613; lean_object* x_1614; lean_object* x_1615; lean_object* x_16 x_1613 = lean_ctor_get(x_1611, 1); lean_inc(x_1613); lean_dec(x_1611); -x_1614 = l___private_Init_Lean_Elab_Term_14__resumePostponed___lambda__1___closed__1; +x_1614 = l___private_Init_Lean_Elab_Term_11__resumePostponed___lambda__1___closed__1; x_1615 = l_unreachable_x21___rarg(x_1614); x_1616 = lean_apply_2(x_1615, x_2, x_1613); return x_1616; @@ -21461,7 +21500,7 @@ else lean_object* x_1690; lean_object* x_1691; lean_object* x_1692; lean_dec(x_1607); lean_dec(x_1); -x_1690 = l___private_Init_Lean_Elab_Term_14__resumePostponed___lambda__1___closed__1; +x_1690 = l___private_Init_Lean_Elab_Term_11__resumePostponed___lambda__1___closed__1; x_1691 = l_unreachable_x21___rarg(x_1690); x_1692 = lean_apply_2(x_1691, x_2, x_3); return x_1692; @@ -21555,6 +21594,7 @@ x_1712 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_1712, 0, x_1711); lean_ctor_set(x_1712, 1, x_1710); x_1713 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1712, x_2, x_3); +lean_dec(x_1); return x_1713; } else @@ -21599,6 +21639,7 @@ x_1724 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_1724, 0, x_1723); lean_ctor_set(x_1724, 1, x_1722); x_1725 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1724, x_2, x_3); +lean_dec(x_1); return x_1725; } else @@ -21689,6 +21730,7 @@ x_1754 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_1754, 0, x_1753); lean_ctor_set(x_1754, 1, x_1752); x_1755 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1754, x_2, x_3); +lean_dec(x_1); return x_1755; } else @@ -22867,6 +22909,7 @@ lean_dec(x_2086); x_2089 = lean_box(0); lean_inc(x_2); x_2090 = l_Lean_Elab_Term_resolveName(x_1, x_2087, x_2088, x_2089, x_2, x_3); +lean_dec(x_1); if (lean_obj_tag(x_2090) == 0) { lean_object* x_2091; @@ -22878,7 +22921,7 @@ lean_object* x_2092; lean_object* x_2093; lean_object* x_2094; lean_object* x_20 x_2092 = lean_ctor_get(x_2090, 1); lean_inc(x_2092); lean_dec(x_2090); -x_2093 = l___private_Init_Lean_Elab_Term_14__resumePostponed___lambda__1___closed__1; +x_2093 = l___private_Init_Lean_Elab_Term_11__resumePostponed___lambda__1___closed__1; x_2094 = l_unreachable_x21___rarg(x_2093); x_2095 = lean_apply_2(x_2094, x_2, x_2092); return x_2095; @@ -23269,7 +23312,7 @@ else lean_object* x_2169; lean_object* x_2170; lean_object* x_2171; lean_dec(x_2086); lean_dec(x_1); -x_2169 = l___private_Init_Lean_Elab_Term_14__resumePostponed___lambda__1___closed__1; +x_2169 = l___private_Init_Lean_Elab_Term_11__resumePostponed___lambda__1___closed__1; x_2170 = l_unreachable_x21___rarg(x_2169); x_2171 = lean_apply_2(x_2170, x_2, x_3); return x_2171; @@ -23382,6 +23425,7 @@ x_2196 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_2196, 0, x_2195); lean_ctor_set(x_2196, 1, x_2194); x_2197 = l_Lean_Elab_Term_throwError___rarg(x_1, x_2196, x_2, x_3); +lean_dec(x_1); return x_2197; } else @@ -23433,6 +23477,7 @@ x_2209 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_2209, 0, x_2208); lean_ctor_set(x_2209, 1, x_2207); x_2210 = l_Lean_Elab_Term_throwError___rarg(x_1, x_2209, x_2, x_3); +lean_dec(x_1); return x_2210; } else @@ -23529,6 +23574,7 @@ x_2240 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_2240, 0, x_2239); lean_ctor_set(x_2240, 1, x_2238); x_2241 = l_Lean_Elab_Term_throwError___rarg(x_1, x_2240, x_2, x_3); +lean_dec(x_1); return x_2241; } else @@ -24707,6 +24753,7 @@ lean_dec(x_2572); x_2575 = lean_box(0); lean_inc(x_2); x_2576 = l_Lean_Elab_Term_resolveName(x_1, x_2573, x_2574, x_2575, x_2, x_3); +lean_dec(x_1); if (lean_obj_tag(x_2576) == 0) { lean_object* x_2577; @@ -24718,7 +24765,7 @@ lean_object* x_2578; lean_object* x_2579; lean_object* x_2580; lean_object* x_25 x_2578 = lean_ctor_get(x_2576, 1); lean_inc(x_2578); lean_dec(x_2576); -x_2579 = l___private_Init_Lean_Elab_Term_14__resumePostponed___lambda__1___closed__1; +x_2579 = l___private_Init_Lean_Elab_Term_11__resumePostponed___lambda__1___closed__1; x_2580 = l_unreachable_x21___rarg(x_2579); x_2581 = lean_apply_2(x_2580, x_2, x_2578); return x_2581; @@ -25109,7 +25156,7 @@ else lean_object* x_2655; lean_object* x_2656; lean_object* x_2657; lean_dec(x_2572); lean_dec(x_1); -x_2655 = l___private_Init_Lean_Elab_Term_14__resumePostponed___lambda__1___closed__1; +x_2655 = l___private_Init_Lean_Elab_Term_11__resumePostponed___lambda__1___closed__1; x_2656 = l_unreachable_x21___rarg(x_2655); x_2657 = lean_apply_2(x_2656, x_2, x_3); return x_2657; @@ -25528,6 +25575,7 @@ x_102 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_102, 0, x_101); lean_ctor_set(x_102, 1, x_100); x_103 = l_Lean_Elab_Term_throwError___rarg(x_1, x_102, x_2, x_3); +lean_dec(x_1); return x_103; } } @@ -26190,7 +26238,7 @@ x_10 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_10, 0, x_8); lean_ctor_set(x_10, 1, x_4); x_11 = lean_box(0); -x_12 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_10__compileStxMatch), 5, 3); +x_12 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_10__compileStxMatch___boxed), 5, 3); lean_closure_set(x_12, 0, x_11); lean_closure_set(x_12, 1, x_10); lean_closure_set(x_12, 2, x_9); diff --git a/stage0/stdlib/Init/Lean/Elab/Syntax.c b/stage0/stdlib/Init/Lean/Elab/Syntax.c index 15c9f65a91..2c0e1128a9 100644 --- a/stage0/stdlib/Init/Lean/Elab/Syntax.c +++ b/stage0/stdlib/Init/Lean/Elab/Syntax.c @@ -13,353 +13,417 @@ #ifdef __cplusplus extern "C" { #endif +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__45; lean_object* l_Lean_Elab_Command_elabSyntax___closed__11; -lean_object* l___private_Init_Lean_Elab_Quotation_4__quoteOption___at_Lean_Elab_Term_toParserDescr___main___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__95; extern lean_object* l_Lean_Parser_Syntax_many___elambda__1___closed__1; lean_object* l_Lean_Elab_Term_getEnv___rarg(lean_object*); lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__mkParserSeq___spec__1___closed__2; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabSyntax___closed__2; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__37; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__55; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__79; extern lean_object* l_Lean_Parser_Term_andthen___elambda__1___closed__1; lean_object* l_Lean_Elab_Command_elabMacro___lambda__1___closed__3; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__7; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__71; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__116; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__12; lean_object* l_Lean_Syntax_isNatLitAux(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__101; extern lean_object* l_Lean_Parser_Syntax_many___elambda__1___closed__2; lean_object* l_Lean_Elab_Command_getOptions(lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Elab_Quotation_8__getHeadInfo___elambda__3___closed__4; lean_object* l_Lean_Elab_Command_elabSyntax___closed__19; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__79; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__95; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__58; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__114; +lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation(lean_object*); +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__75; +lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve(lean_object*); extern lean_object* l_Lean_Parser_Syntax_try___elambda__1___closed__1; extern lean_object* l_Lean_Parser_Syntax_many1___elambda__1___closed__1; extern lean_object* l_Lean_Elab_Term_elabArrayLit___closed__13; lean_object* l_unreachable_x21___rarg(lean_object*); extern lean_object* l_Lean_nullKind; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__26; lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__mkParserSeq___spec__1___closed__4; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__4; lean_object* l_Lean_Elab_Command_elabMacro___lambda__1___closed__7; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__57; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__92; extern lean_object* l_Lean_Syntax_formatStxAux___main___closed__5; extern lean_object* l___private_Init_Lean_Elab_Quotation_13__letBindRhss___main___closed__9; -lean_object* l_Lean_Format_pretty(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__1; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__36; lean_object* l___private_Init_Lean_Elab_Syntax_1__getOptNum___boxed(lean_object*); -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__12; extern lean_object* l_Lean_Parser_Syntax_many1___elambda__1___closed__2; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__104; lean_object* l_Lean_Elab_Command_elabMacro___lambda__1___closed__25; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__53; +lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve___closed__1; lean_object* l_Lean_Syntax_getIdAt(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__42; extern lean_object* l_Lean_Parser_Syntax_paren___elambda__1___closed__3; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__100; extern lean_object* l_Lean_nameToExprAux___main___closed__4; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabMacro___closed__3; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__17; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__8; extern lean_object* l_Lean_Elab_Command_runTermElabM___rarg___closed__1; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__94; lean_object* l_Lean_Elab_Command_elabSyntax___closed__7; extern lean_object* l_Lean_Parser_Syntax_orelse___elambda__1___closed__1; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__101; extern lean_object* l_Array_empty___closed__1; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__31; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__59; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__46; +lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve___closed__2; uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_4__quoteOption___at_Lean_Elab_Term_toParserDescr___main___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabSyntax___closed__24; lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__mkParserSeq___spec__1___closed__8; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabDeclareSyntaxCat___closed__1; uint8_t lean_name_eq(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Command_declaration___elambda__1___closed__2; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__82; lean_object* l___private_Init_Lean_Elab_Syntax_1__getOptNum(lean_object*); extern lean_object* l_Lean_Parser_Level_num___elambda__1___closed__1; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__63; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__19; lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__24; +lean_object* l___private_Init_Lean_Elab_Syntax_3__getMode(lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Command_8__getVarDecls(lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax___closed__16; -lean_object* l_Lean_Elab_Command_elabSyntax___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__118; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__39; +lean_object* l_Lean_Elab_Command_elabSyntax___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Syntax_6__withNoPushLeading(lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__51; extern lean_object* l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__7; extern lean_object* l_Lean_Parser_Term_num___elambda__1___closed__1; lean_object* l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_1__quoteName___main___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax___closed__20; extern lean_object* l_Lean_Elab_mkMacroAttribute___closed__3; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__3; -lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_toParserDescr___main___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabNotation___boxed(lean_object*, lean_object*); lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabDeclareSyntaxCat___closed__2; +lean_object* l_Lean_Elab_Term_toParserDescrAux(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__81; +lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix___closed__1; lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__mkParserSeq___spec__1___closed__6; lean_object* l_Lean_Elab_Command_elabMacro___lambda__1___closed__22; extern lean_object* l_Lean_Parser_Syntax_ident___elambda__1___closed__1; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__73; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__98; lean_object* lean_string_utf8_byte_size(lean_object*); -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__61; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__20; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__10; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__32; lean_object* l_Lean_Elab_Command_elabSyntax___closed__10; +extern lean_object* l_Lean_Parser_Command_mixfix___elambda__1___closed__2; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabSyntax___closed__1; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__43; lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main(lean_object*); extern lean_object* l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__2; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__120; extern lean_object* l___private_Init_Lean_Elab_Quotation_4__quoteOption___rarg___lambda__2___closed__3; -extern lean_object* l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +lean_object* l_Lean_Elab_Command_elabMixfix___boxed(lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__50; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__5; lean_object* l_Lean_Elab_Command_elabDeclareSyntaxCat___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__103; lean_object* l_Lean_Elab_Command_addBuiltinCommandElab(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__99; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__28; lean_object* l___private_Init_Lean_Elab_Syntax_2__mkParserSeq(lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__mkParserSeq___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__6; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__80; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__14; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__28; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__5; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__123; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__30; +lean_object* l___private_Init_Lean_Elab_Quotation_4__quoteOption___at_Lean_Elab_Term_toParserDescrAux___main___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabNotation___rarg(lean_object*); +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__16; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__49; +extern lean_object* l_Lean_Parser_unicodeSymbolFn___rarg___closed__1; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__105; +lean_object* l___private_Init_Lean_Elab_Syntax_6__withNoPushLeading___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_syntax_ident(lean_object*); +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__115; +lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_toParserDescrAux___main___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__85; lean_object* l_Lean_Elab_Command_elabMacro___lambda__1(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__75; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__26; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__100; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__53; +lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_toParserDescrAux___main___spec__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__42; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__112; lean_object* lean_array_fget(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__58; +lean_object* l_Lean_Elab_Command_elabMixfix___rarg(lean_object*); lean_object* l_Lean_Elab_Command_getCurrNamespace(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__49; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__61; extern lean_object* l___private_Init_Lean_Elab_Quotation_4__quoteOption___rarg___lambda__2___closed__5; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__34; extern lean_object* l_Lean_Parser_Term_id___elambda__1___closed__2; extern lean_object* l_Lean_numLitKind; extern lean_object* l_Lean_Parser_Term_stxQuot___elambda__1___closed__2; +lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation___closed__2; extern lean_object* l_Lean_Parser_Syntax_num___elambda__1___closed__1; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__48; lean_object* l_Lean_Elab_Term_throwUnsupportedSyntax___rarg(lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_4__quoteOption___at_Lean_Elab_Term_toParserDescr___main___spec__1(lean_object*); +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__87; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__68; lean_object* l_Lean_Elab_Command_elabMacro___lambda__1___closed__24; lean_object* l_Lean_Syntax_isStrLit_x3f(lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax___closed__6; lean_object* l_Lean_Name_append___main(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__98; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__73; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__10; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__32; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__14; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__9; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__40; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__67; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__83; +lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation___closed__3; +lean_object* l___private_Init_Lean_Elab_Syntax_5__withAnyIfNotFirst___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Command_def___elambda__1___closed__2; extern lean_object* l_Lean_Parser_Command_declValSimple___elambda__1___closed__2; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__20; +lean_object* l___private_Init_Lean_Elab_Syntax_4__markAsTrailingParser(lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Elab_Command_elabMacro___lambda__1___closed__16; lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Unhygienic_run___rarg(lean_object*); +lean_object* l_Lean_Elab_Command_elabSyntax___closed__25; extern lean_object* l_Lean_Parser_Command_def___elambda__1___closed__1; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__81; lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Syntax_optional___elambda__1___closed__1; extern lean_object* l_Lean_Elab_Term_mkConst___closed__4; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__46; -lean_object* l___private_Init_Lean_Elab_Command_11__getVarDecls(lean_object*); extern lean_object* l_Lean_Parser_unquotedSymbolFn___rarg___closed__1; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__43; +extern lean_object* l_Lean_Parser_mkParserOfConstantUnsafe___closed__4; lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__mkParserSeq___spec__1___closed__3; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__15; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__56; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__66; lean_object* l_Nat_repr(lean_object*); -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__96; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__72; extern lean_object* l_Lean_Parser_Command_attrInstance___elambda__1___closed__2; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__23; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__88; extern lean_object* l_Lean_Elab_Term_expandCDot_x3f___closed__3; lean_object* l_Lean_Elab_Command_elabMacro___lambda__1___closed__20; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__30; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__55; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__37; lean_object* l___private_Init_Lean_Elab_Command_1__ioErrorToMessage(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabMacro___lambda__1___closed__10; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__76; lean_object* l_Lean_Elab_Command_adaptExpander(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__18; extern lean_object* l_Lean_Parser_mkParserAttributeImpl___closed__1; lean_object* lean_name_mk_string(lean_object*, lean_object*); extern lean_object* l_Lean_choiceKind; lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__mkParserSeq___spec__1___closed__7; extern lean_object* l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; lean_object* l_Lean_Elab_Term_throwError___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__66; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__56; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__33; lean_object* l_Lean_Elab_Command_elabSyntax___closed__22; extern lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__2; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__77; lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__mkParserSeq___spec__1___closed__1; lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__41; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__13; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__91; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__78; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__22; lean_object* l_Lean_Elab_Command_throwError___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabMacro___lambda__1___closed__11; lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__mkParserSeq___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__104; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__93; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__121; +lean_object* l___private_Init_Lean_Elab_Command_6__mkTermContext(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabSyntax___closed__28; extern lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__6; extern lean_object* l_Lean_Parser_Term_match__syntax___elambda__1___closed__1; -extern lean_object* l_Lean_Options_empty; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__89; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__47; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax___closed__5; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabSyntax___closed__3; uint8_t l_coeDecidableEq(uint8_t); lean_object* l_Lean_Elab_Command_elabSyntax___closed__14; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__35; lean_object* l_Lean_Elab_Command_elabMacro___lambda__1___closed__19; extern lean_object* l_Lean_Parser_Syntax_char___elambda__1___closed__1; extern lean_object* l_Lean_Elab_Term_expandCDot_x3f___closed__2; extern lean_object* l_Lean_Parser_Command_attributes___elambda__1___closed__5; lean_object* l_Lean_Elab_Command_elabSyntax___closed__18; -lean_object* l___private_Init_Lean_Elab_Command_9__mkTermContext(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabCommand___main(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax___closed__15; extern lean_object* l_Lean_Parser_Syntax_cat___elambda__1___closed__2; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__86; extern lean_object* l_Lean_Parser_Command_attributes___elambda__1___closed__2; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__36; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__25; lean_object* l_Lean_Elab_Command_elabSyntax___closed__3; extern lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__1; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__83; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__52; +lean_object* l___private_Init_Lean_Elab_Syntax_4__markAsTrailingParser___rarg(lean_object*); +lean_object* l___private_Init_Lean_Elab_Syntax_7__elabKind(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabSyntax(lean_object*); lean_object* l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__34; extern lean_object* l_Lean_Parser_Command_declModifiers___elambda__1___closed__2; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__16; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__86; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__117; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__77; +extern lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__2; lean_object* l_Lean_Elab_Command_elabMacro(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__85; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__65; extern lean_object* l_Lean_nullKind___closed__2; extern lean_object* l_Lean_Parser_Term_str___elambda__1___closed__1; lean_object* l_Lean_Elab_Command_elabMacro___lambda__1___closed__12; extern lean_object* l_Lean_Unhygienic_MonadQuotation___closed__1; extern lean_object* l___private_Init_Lean_Elab_Quotation_4__quoteOption___rarg___lambda__2___closed__8; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__70; extern lean_object* l_Lean_Parser_Syntax_lookahead___elambda__1___closed__1; extern lean_object* l_Lean_Parser_Syntax_sepBy1___elambda__1___closed__2; -lean_object* l_Lean_Elab_Term_toParserDescr___main(lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix___closed__3; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__108; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__7; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__71; lean_object* l___private_Init_Lean_Elab_Command_2__getState(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Syntax_2__mkParserSeq___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_registerParserCategory(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__33; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__63; lean_object* l_Lean_Elab_Command_elabSyntax___closed__9; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__22; extern lean_object* l_Lean_Parser_Term_str___elambda__1___closed__2; extern lean_object* l_Lean_Syntax_inhabited; +lean_object* l_Lean_Elab_Term_toParserDescrAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabMacro___lambda__1___closed__26; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__93; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__54; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__84; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__102; extern lean_object* l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; lean_object* l_Lean_Elab_Command_elabSyntax___closed__4; +lean_object* l_Lean_Elab_Command_elabReserve(lean_object*, lean_object*); lean_object* l_Lean_Name_appendAfter(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__15; +lean_object* l_Lean_Elab_Command_elabSyntax___closed__27; extern lean_object* l_Lean_Parser_Syntax_lookahead___elambda__1___closed__2; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__45; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__90; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__76; lean_object* l_Lean_Elab_Command_elabSyntax___closed__17; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__18; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabMacro(lean_object*); -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__40; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__67; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__3; extern lean_object* l_Lean_Parser_Syntax_sepBy1___elambda__1___closed__1; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__78; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__91; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabMacro___closed__2; uint8_t l_Lean_Parser_isParserCategory(lean_object*, lean_object*); -extern uint8_t l___private_Init_Lean_Elab_Term_7__hasCDot___main___closed__1; lean_object* l_Lean_Elab_Command_getCurrMacroScope(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Syntax_7__elabKind___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Elab_Quotation_13__letBindRhss___main___closed__7; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__103; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabMacro___closed__1; extern lean_object* l_Lean_Parser_Syntax_optional___elambda__1___closed__2; +lean_object* l___private_Init_Lean_Elab_Syntax_4__markAsTrailingParser___boxed(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Command_reserve___elambda__1___closed__2; lean_object* l_Lean_Elab_Command_elabSyntax___closed__8; lean_object* l_Lean_Syntax_getArgs(lean_object*); +lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve___closed__3; lean_object* l_Lean_Syntax_getKind(lean_object*); -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__51; extern lean_object* l_Lean_Parser_Term_match__syntax___elambda__1___closed__2; extern lean_object* l_Lean_Parser_Syntax_atom___elambda__1___closed__2; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__48; lean_object* l_Lean_Elab_Command_elabSyntax___closed__1; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__21; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__111; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__97; +lean_object* l___private_Init_Lean_Elab_Syntax_5__withAnyIfNotFirst___rarg(uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabDeclareSyntaxCat(lean_object*); -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__38; extern lean_object* l_Lean_Parser_Term_app___elambda__1___closed__2; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__39; lean_object* l_Lean_Parser_mkFreshKind(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_elabSyntax___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__64; +lean_object* l_Lean_Elab_Command_elabSyntax___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabMacro___lambda__1___closed__21; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__2; lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__mkParserSeq___spec__1___closed__5; lean_object* l_Lean_Elab_Command_elabSyntax___closed__2; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__62; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__19; -lean_object* l_Lean_Elab_Term_toParserDescr(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabReserve___rarg(lean_object*); +lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix(lean_object*); +lean_object* l_Lean_Elab_Term_toParserDescr(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Syntax_str___elambda__1___closed__1; +lean_object* l_Lean_Elab_Command_elabNotation(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__74; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__60; lean_object* l_Lean_mkStxStrLit(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__87; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__110; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__80; +lean_object* l___private_Init_Lean_Elab_Syntax_6__withNoPushLeading___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix___closed__2; lean_object* l_Lean_Elab_Command_elabSyntax(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabMacro___lambda__1___closed__13; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__69; lean_object* l_Lean_Elab_Command_elabSyntax___closed__21; extern lean_object* l_Lean_Elab_Command_declareBuiltinCommandElab___closed__3; lean_object* l_Lean_Elab_Command_elabMacro___lambda__1___closed__23; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__4; uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* l_Lean_Elab_Command_getEnv(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__11; +lean_object* l___private_Init_Lean_Elab_Syntax_4__markAsTrailingParser___rarg___closed__1; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__27; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__17; +lean_object* l_Lean_Elab_Command_elabSyntax___closed__23; +lean_object* l___private_Init_Lean_Elab_Syntax_3__getMode___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_mkOptionalNode___closed__1; lean_object* l_Lean_Elab_Command_elabSyntax___closed__13; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__68; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__57; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__122; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__94; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__8; lean_object* l_Lean_Elab_Command_elabMacro___lambda__1___closed__6; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__25; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__65; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__109; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__62; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__54; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__119; extern lean_object* l_Lean_Parser_Command_macro___elambda__1___closed__1; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__9; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__29; +lean_object* l___private_Init_Lean_Elab_Syntax_5__withAnyIfNotFirst(lean_object*); lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__84; lean_object* l_Lean_Elab_Command_setEnv(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__27; +extern lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +lean_object* l_Lean_Elab_Command_elabReserve___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_Syntax_getKind___closed__3; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__52; lean_object* l_Lean_Elab_Command_elabMacro___lambda__1___closed__4; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabDeclareSyntaxCat___closed__3; lean_object* l_Lean_Elab_Command_elabMacro___lambda__1___closed__27; lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__mkParserSeq___spec__1___closed__9; extern lean_object* l_Lean_Parser_Command_syntaxCat___elambda__1___closed__2; lean_object* l_Lean_mkStxLit(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__50; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabMacro___lambda__1___closed__9; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__6; extern lean_object* l_Lean_Parser_Command_optDeclSig___elambda__1___closed__2; lean_object* l_Lean_Elab_Command_elabMacro___closed__1; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__29; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__99; extern lean_object* l_Lean_Parser_Term_typeSpec___elambda__1___closed__2; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__64; -lean_object* l___private_Init_Lean_Elab_Syntax_3__elabKind___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__11; extern lean_object* l_Lean_Meta_DiscrTree_Trie_format___main___rarg___closed__1; lean_object* l_Lean_Elab_Command_elabMacro___lambda__1___closed__8; -lean_object* l_Lean_Syntax_formatStxAux___main(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabMixfix(lean_object*, lean_object*); +lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation___closed__1; lean_object* l_Lean_Elab_Command_elabMacro___lambda__1___closed__17; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__1; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__106; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__24; lean_object* l_Lean_Elab_Command_elabMacro___lambda__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__21; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__38; extern lean_object* l_Lean_Parser_Command_macro___elambda__1___closed__2; lean_object* l_Lean_Elab_Command_elabSyntax___closed__12; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__97; extern lean_object* l_Lean_Elab_mkMacroAttribute___closed__2; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__88; lean_object* l_Lean_Elab_Command_elabMacro___lambda__1___closed__1; extern lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__2; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__90; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__102; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__2; +lean_object* l_Lean_Elab_Command_elabSyntax___closed__26; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__107; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__72; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__96; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__13; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__41; extern lean_object* l_Lean_Parser_mkParserOfConstantUnsafe___closed__3; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__74; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__47; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__23; extern lean_object* l_Lean_Elab_mkMacroAttribute___closed__1; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__60; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__89; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__44; extern lean_object* l_Lean_Parser_Command_syntax___elambda__1___closed__1; +lean_object* l___private_Init_Lean_Elab_Command_7__mkTermState(lean_object*); +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__35; +extern uint8_t l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; extern lean_object* l_Lean_Parser_Term_orelse___elambda__1___closed__1; lean_object* l_Lean_Elab_Command_elabMacro___lambda__1___closed__2; lean_object* lean_name_mk_numeral(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Syntax_3__elabKind(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__69; lean_object* l_Lean_Elab_Command_elabDeclareSyntaxCat(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Syntax_try___elambda__1___closed__2; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__92; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__70; +lean_object* l___private_Init_Lean_Elab_Quotation_4__quoteOption___at_Lean_Elab_Term_toParserDescrAux___main___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabMacro___lambda__1___closed__15; extern lean_object* l_Lean_Parser_Term_char___elambda__1___closed__1; -lean_object* l_Lean_Elab_Term_toParserDescr___main___closed__44; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__113; lean_object* l___private_Init_Lean_Elab_Command_3__setState(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabMacro___lambda__1___closed__18; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__31; lean_object* l_Lean_Elab_Command_elabMacro___lambda__1___closed__5; extern lean_object* l___private_Init_Lean_Elab_Quotation_4__quoteOption___rarg___closed__3; +lean_object* l___private_Init_Lean_Elab_Quotation_4__quoteOption___at_Lean_Elab_Term_toParserDescrAux___main___spec__1(lean_object*); lean_object* l_Lean_Elab_Command_elabMacro___lambda__1___closed__28; lean_object* l_Lean_Elab_Command_elabMacro___lambda__1___closed__14; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__59; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__82; extern lean_object* l_Lean_Parser_Command_declId___elambda__1___closed__2; -lean_object* l___private_Init_Lean_Elab_Command_10__mkTermState(lean_object*); lean_object* l_Lean_Elab_Command_logTrace(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Syntax_1__getOptNum(lean_object* x_1) { _start: @@ -529,7 +593,7 @@ lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); x_22 = l_Array_empty___closed__1; x_23 = lean_array_push(x_22, x_21); -x_24 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_24 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_25 = lean_array_push(x_23, x_24); x_26 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_27 = lean_alloc_ctor(1, 2, 0); @@ -615,7 +679,156 @@ lean_dec(x_1); return x_4; } } -lean_object* l___private_Init_Lean_Elab_Quotation_4__quoteOption___at_Lean_Elab_Term_toParserDescr___main___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Elab_Syntax_3__getMode(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_box(x_2); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_1); +lean_ctor_set(x_6, 1, x_5); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_4); +return x_7; +} +} +lean_object* l___private_Init_Lean_Elab_Syntax_3__getMode___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; lean_object* x_6; +x_5 = lean_unbox(x_2); +lean_dec(x_2); +x_6 = l___private_Init_Lean_Elab_Syntax_3__getMode(x_1, x_5, x_3, x_4); +lean_dec(x_3); +return x_6; +} +} +lean_object* _init_l___private_Init_Lean_Elab_Syntax_4__markAsTrailingParser___rarg___closed__1() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; +x_1 = lean_box(0); +x_2 = 1; +x_3 = lean_box(x_2); +x_4 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_3); +return x_4; +} +} +lean_object* l___private_Init_Lean_Elab_Syntax_4__markAsTrailingParser___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_Init_Lean_Elab_Syntax_4__markAsTrailingParser___rarg___closed__1; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +lean_object* l___private_Init_Lean_Elab_Syntax_4__markAsTrailingParser(lean_object* x_1, uint8_t x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Syntax_4__markAsTrailingParser___rarg), 1, 0); +return x_4; +} +} +lean_object* l___private_Init_Lean_Elab_Syntax_4__markAsTrailingParser___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = lean_unbox(x_2); +lean_dec(x_2); +x_5 = l___private_Init_Lean_Elab_Syntax_4__markAsTrailingParser(x_1, x_4, x_3); +lean_dec(x_3); +lean_dec(x_1); +return x_5; +} +} +lean_object* l___private_Init_Lean_Elab_Syntax_5__withAnyIfNotFirst___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +if (x_1 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_dec(x_3); +x_7 = lean_box(0); +x_8 = lean_box(x_4); +x_9 = lean_apply_4(x_2, x_7, x_8, x_5, x_6); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_box(x_4); +x_11 = lean_apply_4(x_2, x_3, x_10, x_5, x_6); +return x_11; +} +} +} +lean_object* l___private_Init_Lean_Elab_Syntax_5__withAnyIfNotFirst(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Syntax_5__withAnyIfNotFirst___rarg___boxed), 6, 0); +return x_2; +} +} +lean_object* l___private_Init_Lean_Elab_Syntax_5__withAnyIfNotFirst___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) { +_start: +{ +uint8_t x_7; uint8_t x_8; lean_object* x_9; +x_7 = lean_unbox(x_1); +lean_dec(x_1); +x_8 = lean_unbox(x_4); +lean_dec(x_4); +x_9 = l___private_Init_Lean_Elab_Syntax_5__withAnyIfNotFirst___rarg(x_7, x_2, x_3, x_8, x_5, x_6); +return x_9; +} +} +lean_object* l___private_Init_Lean_Elab_Syntax_6__withNoPushLeading___rarg(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_2) == 2) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_2); +x_6 = lean_box(1); +x_7 = lean_box(x_3); +x_8 = lean_apply_4(x_1, x_6, x_7, x_4, x_5); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_box(x_3); +x_10 = lean_apply_4(x_1, x_2, x_9, x_4, x_5); +return x_10; +} +} +} +lean_object* l___private_Init_Lean_Elab_Syntax_6__withNoPushLeading(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Syntax_6__withNoPushLeading___rarg___boxed), 5, 0); +return x_2; +} +} +lean_object* l___private_Init_Lean_Elab_Syntax_6__withNoPushLeading___rarg___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___private_Init_Lean_Elab_Syntax_6__withNoPushLeading___rarg(x_1, x_2, x_6, x_4, x_5); +return x_7; +} +} +lean_object* l___private_Init_Lean_Elab_Quotation_4__quoteOption___at_Lean_Elab_Term_toParserDescrAux___main___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; 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; @@ -631,7 +844,7 @@ lean_ctor_set(x_10, 2, x_7); lean_ctor_set(x_10, 3, x_9); x_11 = l_Array_empty___closed__1; x_12 = lean_array_push(x_11, x_10); -x_13 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_13 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_14 = lean_array_push(x_12, x_13); x_15 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_16 = lean_alloc_ctor(1, 2, 0); @@ -658,7 +871,7 @@ lean_ctor_set(x_28, 1, x_4); return x_28; } } -lean_object* l___private_Init_Lean_Elab_Quotation_4__quoteOption___at_Lean_Elab_Term_toParserDescr___main___spec__1(lean_object* x_1) { +lean_object* l___private_Init_Lean_Elab_Quotation_4__quoteOption___at_Lean_Elab_Term_toParserDescrAux___main___spec__1(lean_object* x_1) { _start: { if (lean_obj_tag(x_1) == 0) @@ -673,7 +886,7 @@ lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_obj x_3 = lean_ctor_get(x_1, 0); lean_inc(x_3); lean_dec(x_1); -x_4 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_4__quoteOption___at_Lean_Elab_Term_toParserDescr___main___spec__1___lambda__1___boxed), 4, 1); +x_4 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_4__quoteOption___at_Lean_Elab_Term_toParserDescrAux___main___spec__1___lambda__1___boxed), 4, 1); lean_closure_set(x_4, 0, x_3); x_5 = l_Lean_Unhygienic_MonadQuotation___closed__1; x_6 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_1__quoteName___main___spec__1___rarg), 4, 2); @@ -684,112 +897,167 @@ return x_7; } } } -lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_toParserDescr___main___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_toParserDescrAux___main___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_5; uint8_t x_6; -x_5 = lean_array_get_size(x_2); -x_6 = lean_nat_dec_lt(x_1, x_5); -lean_dec(x_5); -if (x_6 == 0) +lean_object* x_7; uint8_t x_8; +x_7 = lean_array_get_size(x_2); +x_8 = lean_nat_dec_lt(x_1, x_7); +lean_dec(x_7); +if (x_8 == 0) { -lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_7 = l_Array_empty___closed__1; -x_8 = x_2; -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_8); -lean_ctor_set(x_9, 1, x_4); -return x_9; +x_9 = l_Array_empty___closed__1; +x_10 = x_2; +x_11 = lean_box(x_4); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_6); +return x_13; } else { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_10 = lean_array_fget(x_2, x_1); -x_11 = lean_box(0); -x_12 = x_11; -x_13 = lean_array_fset(x_2, x_1, x_12); -lean_inc(x_3); -lean_inc(x_10); -x_14 = l_Lean_Elab_Term_toParserDescr___main(x_10, x_3, x_4); -if (lean_obj_tag(x_14) == 0) +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_14 = lean_array_fget(x_2, x_1); +x_15 = lean_box(0); +x_16 = x_15; +x_17 = lean_array_fset(x_2, x_1, x_16); +x_18 = lean_unsigned_to_nat(0u); +x_19 = lean_nat_dec_eq(x_1, x_18); +if (x_19 == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); +lean_object* x_20; lean_object* x_21; +x_20 = lean_box(0); +lean_inc(x_5); +lean_inc(x_14); +x_21 = l_Lean_Elab_Term_toParserDescrAux___main(x_14, x_20, x_4, x_5, x_6); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_ctor_get(x_22, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +x_26 = lean_unsigned_to_nat(1u); +x_27 = lean_nat_add(x_1, x_26); +x_28 = x_24; lean_dec(x_14); -x_17 = lean_unsigned_to_nat(1u); -x_18 = lean_nat_add(x_1, x_17); -x_19 = x_15; -lean_dec(x_10); -x_20 = lean_array_fset(x_13, x_1, x_19); +x_29 = lean_array_fset(x_17, x_1, x_28); lean_dec(x_1); -x_1 = x_18; -x_2 = x_20; -x_4 = x_16; +x_30 = lean_unbox(x_25); +lean_dec(x_25); +x_1 = x_27; +x_2 = x_29; +x_4 = x_30; +x_6 = x_23; goto _start; } else { -uint8_t x_22; -lean_dec(x_13); -lean_dec(x_10); +uint8_t x_32; +lean_dec(x_17); +lean_dec(x_14); +lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_22 = !lean_is_exclusive(x_14); -if (x_22 == 0) +x_32 = !lean_is_exclusive(x_21); +if (x_32 == 0) { -return x_14; +return x_21; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_14, 0); -x_24 = lean_ctor_get(x_14, 1); -lean_inc(x_24); -lean_inc(x_23); +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_21, 0); +x_34 = lean_ctor_get(x_21, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_21); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; +} +} +} +else +{ +lean_object* x_36; +lean_inc(x_5); +lean_inc(x_3); +lean_inc(x_14); +x_36 = l_Lean_Elab_Term_toParserDescrAux___main(x_14, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_36) == 0) +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_ctor_get(x_37, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_37, 1); +lean_inc(x_40); +lean_dec(x_37); +x_41 = lean_unsigned_to_nat(1u); +x_42 = lean_nat_add(x_1, x_41); +x_43 = x_39; lean_dec(x_14); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -return x_25; +x_44 = lean_array_fset(x_17, x_1, x_43); +lean_dec(x_1); +x_45 = lean_unbox(x_40); +lean_dec(x_40); +x_1 = x_42; +x_2 = x_44; +x_4 = x_45; +x_6 = x_38; +goto _start; } -} -} -} -} -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__1() { -_start: +else { -lean_object* x_1; -x_1 = lean_mk_string("ERROR "); -return x_1; -} -} -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__2() { -_start: +uint8_t x_47; +lean_dec(x_17); +lean_dec(x_14); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_47 = !lean_is_exclusive(x_36); +if (x_47 == 0) { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescr___main___closed__1; -x_2 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; +return x_36; } -} -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__3() { -_start: +else { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescr___main___closed__2; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_36, 0); +x_49 = lean_ctor_get(x_36, 1); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_36); +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +return x_50; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__4() { +} +} +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__1() { _start: { lean_object* x_1; @@ -797,22 +1065,22 @@ x_1 = lean_mk_string("ParserDescr.orelse"); return x_1; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__5() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescr___main___closed__4; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__6() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescr___main___closed__4; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescr___main___closed__5; +x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__2; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -820,7 +1088,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__7() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -830,7 +1098,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__8() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -840,31 +1108,31 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__9() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescr___main___closed__8; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__5; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__10() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescr___main___closed__9; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__6; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__11() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__8() { _start: { lean_object* x_1; @@ -872,22 +1140,22 @@ x_1 = lean_mk_string("ParserDescr.many1"); return x_1; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__12() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescr___main___closed__11; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__8; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__13() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescr___main___closed__11; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__8; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescr___main___closed__12; +x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__9; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -895,7 +1163,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__14() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -905,7 +1173,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__15() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -915,31 +1183,31 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__16() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescr___main___closed__15; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__12; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__17() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescr___main___closed__16; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__13; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__18() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__15() { _start: { lean_object* x_1; @@ -947,22 +1215,22 @@ x_1 = lean_mk_string("ParserDescr.many"); return x_1; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__19() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__16() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescr___main___closed__18; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__15; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__20() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescr___main___closed__18; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__15; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescr___main___closed__19; +x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__16; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -970,7 +1238,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__21() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -980,7 +1248,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__22() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -990,31 +1258,31 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__23() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__20() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescr___main___closed__22; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__19; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__24() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescr___main___closed__23; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__20; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__25() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__22() { _start: { lean_object* x_1; @@ -1022,22 +1290,22 @@ x_1 = lean_mk_string("ParserDescr.sepBy1"); return x_1; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__26() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__23() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescr___main___closed__25; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__22; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__27() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__24() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescr___main___closed__25; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__22; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescr___main___closed__26; +x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__23; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1045,7 +1313,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__28() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__25() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1055,7 +1323,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__29() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__26() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1065,31 +1333,31 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__30() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__27() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescr___main___closed__29; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__26; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__31() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__28() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescr___main___closed__30; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__27; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__32() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__29() { _start: { lean_object* x_1; @@ -1097,22 +1365,22 @@ x_1 = lean_mk_string("ParserDescr.sepBy"); return x_1; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__33() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__30() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescr___main___closed__32; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__29; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__34() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__31() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescr___main___closed__32; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__29; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescr___main___closed__33; +x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__30; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1120,7 +1388,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__35() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__32() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1130,7 +1398,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__36() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__33() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1140,31 +1408,31 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__37() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__34() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescr___main___closed__36; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__33; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__38() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__35() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescr___main___closed__37; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__34; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__39() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__36() { _start: { lean_object* x_1; @@ -1172,22 +1440,22 @@ x_1 = lean_mk_string("ParserDescr.optional"); return x_1; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__40() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__37() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescr___main___closed__39; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__36; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__41() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__38() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescr___main___closed__39; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__36; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescr___main___closed__40; +x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__37; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1195,7 +1463,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__42() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__39() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1205,7 +1473,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__43() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__40() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1215,31 +1483,31 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__44() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__41() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescr___main___closed__43; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__40; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__45() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__42() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescr___main___closed__44; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__41; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__46() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__43() { _start: { lean_object* x_1; @@ -1247,22 +1515,22 @@ x_1 = lean_mk_string("ParserDescr.lookahead"); return x_1; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__47() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__44() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescr___main___closed__46; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__43; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__48() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__45() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescr___main___closed__46; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__43; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescr___main___closed__47; +x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__44; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1270,7 +1538,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__49() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__46() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1280,7 +1548,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__50() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__47() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1290,31 +1558,31 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__51() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__48() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescr___main___closed__50; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__47; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__52() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__49() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescr___main___closed__51; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__48; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__53() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__50() { _start: { lean_object* x_1; @@ -1322,22 +1590,22 @@ x_1 = lean_mk_string("ParserDescr.try"); return x_1; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__54() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__51() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescr___main___closed__53; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__50; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__55() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__52() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescr___main___closed__53; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__50; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescr___main___closed__54; +x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__51; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1345,7 +1613,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__56() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__53() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1355,7 +1623,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__57() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__54() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1365,31 +1633,114 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__58() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__55() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescr___main___closed__57; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__54; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__59() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__56() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescr___main___closed__58; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__55; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__60() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__57() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("ParserDescr.pushLeading"); +return x_1; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__58() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__57; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__59() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__57; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__58; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__60() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("pushLeading"); +return x_1; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__61() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__mkParserSeq___spec__1___closed__4; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__60; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__62() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__mkParserSeq___spec__1___closed__6; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__60; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__63() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__62; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__64() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__63; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__65() { _start: { lean_object* x_1; @@ -1397,22 +1748,22 @@ x_1 = lean_mk_string("ParserDescr.ident"); return x_1; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__61() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__66() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescr___main___closed__60; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__65; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__62() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__67() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescr___main___closed__60; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__65; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescr___main___closed__61; +x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__66; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1420,7 +1771,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__63() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__68() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1430,7 +1781,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__64() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__69() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1440,31 +1791,31 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__65() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__70() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescr___main___closed__64; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__69; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__66() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__71() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescr___main___closed__65; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__70; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__67() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__72() { _start: { lean_object* x_1; @@ -1472,22 +1823,22 @@ x_1 = lean_mk_string("ParserDescr.char"); return x_1; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__68() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__73() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescr___main___closed__67; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__72; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__69() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__74() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescr___main___closed__67; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__72; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescr___main___closed__68; +x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__73; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1495,7 +1846,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__70() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__75() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1505,7 +1856,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__71() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__76() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1515,31 +1866,31 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__72() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__77() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescr___main___closed__71; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__76; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__73() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__78() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescr___main___closed__72; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__77; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__74() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__79() { _start: { lean_object* x_1; @@ -1547,22 +1898,22 @@ x_1 = lean_mk_string("ParserDescr.str"); return x_1; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__75() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__80() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescr___main___closed__74; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__79; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__76() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__81() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescr___main___closed__74; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__79; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescr___main___closed__75; +x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__80; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1570,7 +1921,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__77() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__82() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1580,7 +1931,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__78() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__83() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1590,31 +1941,31 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__79() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__84() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescr___main___closed__78; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__83; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__80() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__85() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescr___main___closed__79; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__84; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__81() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__86() { _start: { lean_object* x_1; @@ -1622,22 +1973,22 @@ x_1 = lean_mk_string("ParserDescr.num"); return x_1; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__82() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__87() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescr___main___closed__81; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__86; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__83() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__88() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescr___main___closed__81; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__86; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescr___main___closed__82; +x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__87; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1645,7 +1996,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__84() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__89() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1655,7 +2006,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__85() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__90() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1665,31 +2016,31 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__86() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__91() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescr___main___closed__85; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__90; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__87() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__92() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescr___main___closed__86; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__91; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__88() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__93() { _start: { lean_object* x_1; @@ -1697,22 +2048,22 @@ x_1 = lean_mk_string("ParserDescr.symbol"); return x_1; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__89() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__94() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescr___main___closed__88; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__93; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__90() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__95() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescr___main___closed__88; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__93; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescr___main___closed__89; +x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__94; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1720,7 +2071,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__91() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__96() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1730,7 +2081,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__92() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__97() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1740,31 +2091,31 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__93() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__98() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescr___main___closed__92; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__97; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__94() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__99() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescr___main___closed__93; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__98; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__95() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__100() { _start: { lean_object* x_1; @@ -1772,22 +2123,22 @@ x_1 = lean_mk_string("ParserDescr.parser"); return x_1; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__96() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__101() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescr___main___closed__95; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__100; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__97() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__102() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescr___main___closed__95; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__100; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescr___main___closed__96; +x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__101; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1795,7 +2146,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__98() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__103() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1805,7 +2156,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__99() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__104() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1815,31 +2166,163 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__100() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__105() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescr___main___closed__99; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__104; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__101() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__106() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescr___main___closed__100; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__105; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__102() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__107() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("invalid occurrence of '"); +return x_1; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__108() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__107; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__109() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__108; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__110() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("', atom or literal expected"); +return x_1; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__111() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__110; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__112() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__111; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__113() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_unicodeSymbolFn___rarg___closed__1; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__114() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__113; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__115() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("', atom, or literal expected"); +return x_1; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__116() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__115; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__117() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__116; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__118() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("invalid occurrence of ':' modifier in head"); +return x_1; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__119() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__118; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__120() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__119; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__121() { _start: { lean_object* x_1; @@ -1847,1852 +2330,3557 @@ x_1 = lean_mk_string("unknown category '"); return x_1; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__103() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__122() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescr___main___closed__102; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__121; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescr___main___closed__104() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__123() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescr___main___closed__103; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__122; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Elab_Term_toParserDescr___main(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Elab_Term_toParserDescrAux___main(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_4; lean_object* x_5; uint8_t x_6; +lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_inc(x_1); -x_4 = l_Lean_Syntax_getKind(x_1); -x_5 = l_Lean_nullKind; -x_6 = lean_name_eq(x_4, x_5); -if (x_6 == 0) -{ -lean_object* x_7; uint8_t x_8; -x_7 = l_Lean_choiceKind; -x_8 = lean_name_eq(x_4, x_7); +x_6 = l_Lean_Syntax_getKind(x_1); +x_7 = l_Lean_nullKind; +x_8 = lean_name_eq(x_6, x_7); if (x_8 == 0) { lean_object* x_9; uint8_t x_10; -x_9 = l_Lean_Parser_Syntax_paren___elambda__1___closed__3; -x_10 = lean_name_eq(x_4, x_9); +x_9 = l_Lean_choiceKind; +x_10 = lean_name_eq(x_6, x_9); if (x_10 == 0) { -lean_object* x_11; uint8_t x_12; -x_11 = l_Lean_Parser_Syntax_cat___elambda__1___closed__2; -x_12 = lean_name_eq(x_4, x_11); -if (x_12 == 0) +lean_object* x_11; lean_object* x_12; lean_object* x_111; lean_object* x_112; lean_object* x_178; lean_object* x_179; lean_object* x_245; lean_object* x_246; lean_object* x_345; lean_object* x_346; lean_object* x_445; lean_object* x_446; lean_object* x_512; lean_object* x_513; lean_object* x_579; lean_object* x_580; lean_object* x_646; lean_object* x_647; lean_object* x_680; uint8_t x_681; +x_680 = l_Lean_Parser_Syntax_paren___elambda__1___closed__3; +x_681 = lean_name_eq(x_6, x_680); +if (x_681 == 0) { -lean_object* x_13; uint8_t x_14; -x_13 = l_Lean_Parser_Syntax_atom___elambda__1___closed__2; -x_14 = lean_name_eq(x_4, x_13); -if (x_14 == 0) +lean_object* x_682; uint8_t x_683; +x_682 = l_Lean_Parser_Syntax_cat___elambda__1___closed__2; +x_683 = lean_name_eq(x_6, x_682); +if (x_683 == 0) { -lean_object* x_15; uint8_t x_16; -x_15 = l_Lean_Parser_Syntax_num___elambda__1___closed__1; -x_16 = lean_name_eq(x_4, x_15); -if (x_16 == 0) +lean_object* x_684; uint8_t x_685; +x_684 = l_Lean_Parser_Syntax_atom___elambda__1___closed__2; +x_685 = lean_name_eq(x_6, x_684); +if (x_685 == 0) { -lean_object* x_17; uint8_t x_18; -x_17 = l_Lean_Parser_Syntax_str___elambda__1___closed__1; -x_18 = lean_name_eq(x_4, x_17); -if (x_18 == 0) +lean_object* x_686; uint8_t x_687; +x_686 = l_Lean_Parser_Syntax_num___elambda__1___closed__1; +x_687 = lean_name_eq(x_6, x_686); +if (x_687 == 0) { -lean_object* x_19; uint8_t x_20; -x_19 = l_Lean_Parser_Syntax_char___elambda__1___closed__1; -x_20 = lean_name_eq(x_4, x_19); -if (x_20 == 0) +lean_object* x_688; uint8_t x_689; +x_688 = l_Lean_Parser_Syntax_str___elambda__1___closed__1; +x_689 = lean_name_eq(x_6, x_688); +if (x_689 == 0) { -lean_object* x_21; uint8_t x_22; -x_21 = l_Lean_Parser_Syntax_ident___elambda__1___closed__1; -x_22 = lean_name_eq(x_4, x_21); -if (x_22 == 0) +lean_object* x_690; uint8_t x_691; +x_690 = l_Lean_Parser_Syntax_char___elambda__1___closed__1; +x_691 = lean_name_eq(x_6, x_690); +if (x_691 == 0) { -lean_object* x_23; uint8_t x_24; -x_23 = l_Lean_Parser_Syntax_try___elambda__1___closed__2; -x_24 = lean_name_eq(x_4, x_23); -if (x_24 == 0) +lean_object* x_692; uint8_t x_693; +x_692 = l_Lean_Parser_Syntax_ident___elambda__1___closed__1; +x_693 = lean_name_eq(x_6, x_692); +if (x_693 == 0) { -lean_object* x_25; uint8_t x_26; -x_25 = l_Lean_Parser_Syntax_lookahead___elambda__1___closed__2; -x_26 = lean_name_eq(x_4, x_25); -if (x_26 == 0) +lean_object* x_694; uint8_t x_695; +x_694 = l_Lean_Parser_Syntax_try___elambda__1___closed__2; +x_695 = lean_name_eq(x_6, x_694); +if (x_695 == 0) { -lean_object* x_27; uint8_t x_28; -x_27 = l_Lean_Parser_Syntax_optional___elambda__1___closed__2; -x_28 = lean_name_eq(x_4, x_27); -if (x_28 == 0) +lean_object* x_696; uint8_t x_697; +x_696 = l_Lean_Parser_Syntax_lookahead___elambda__1___closed__2; +x_697 = lean_name_eq(x_6, x_696); +if (x_697 == 0) { -lean_object* x_29; uint8_t x_30; -x_29 = l_Lean_Parser_Syntax_sepBy___elambda__1___closed__2; -x_30 = lean_name_eq(x_4, x_29); -if (x_30 == 0) +lean_object* x_698; uint8_t x_699; +x_698 = l_Lean_Parser_Syntax_optional___elambda__1___closed__2; +x_699 = lean_name_eq(x_6, x_698); +if (x_699 == 0) { -lean_object* x_31; uint8_t x_32; -x_31 = l_Lean_Parser_Syntax_sepBy1___elambda__1___closed__2; -x_32 = lean_name_eq(x_4, x_31); -if (x_32 == 0) +lean_object* x_700; uint8_t x_701; +x_700 = l_Lean_Parser_Syntax_sepBy___elambda__1___closed__2; +x_701 = lean_name_eq(x_6, x_700); +if (x_701 == 0) { -lean_object* x_33; uint8_t x_34; -x_33 = l_Lean_Parser_Syntax_many___elambda__1___closed__2; -x_34 = lean_name_eq(x_4, x_33); -if (x_34 == 0) +lean_object* x_702; uint8_t x_703; +x_702 = l_Lean_Parser_Syntax_sepBy1___elambda__1___closed__2; +x_703 = lean_name_eq(x_6, x_702); +if (x_703 == 0) { -lean_object* x_35; uint8_t x_36; -x_35 = l_Lean_Parser_Syntax_many1___elambda__1___closed__2; -x_36 = lean_name_eq(x_4, x_35); -if (x_36 == 0) +lean_object* x_704; uint8_t x_705; +x_704 = l_Lean_Parser_Syntax_many___elambda__1___closed__2; +x_705 = lean_name_eq(x_6, x_704); +if (x_705 == 0) { -lean_object* x_37; uint8_t x_38; -x_37 = l_Lean_Parser_Syntax_orelse___elambda__1___closed__1; -x_38 = lean_name_eq(x_4, x_37); +lean_object* x_706; uint8_t x_707; +x_706 = l_Lean_Parser_Syntax_many1___elambda__1___closed__2; +x_707 = lean_name_eq(x_6, x_706); +if (x_707 == 0) +{ +lean_object* x_708; uint8_t x_709; +x_708 = l_Lean_Parser_Syntax_orelse___elambda__1___closed__1; +x_709 = lean_name_eq(x_6, x_708); +lean_dec(x_6); +if (x_709 == 0) +{ +lean_object* x_710; uint8_t x_711; lean_dec(x_4); -if (x_38 == 0) +lean_dec(x_2); +lean_dec(x_1); +x_710 = l_Lean_Elab_Term_throwUnsupportedSyntax___rarg(x_5); +x_711 = !lean_is_exclusive(x_710); +if (x_711 == 0) { -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_39 = lean_box(0); -x_40 = lean_unsigned_to_nat(0u); -lean_inc(x_1); -x_41 = l_Lean_Syntax_formatStxAux___main(x_39, x_40, x_1); -x_42 = l_Lean_Options_empty; -x_43 = l_Lean_Format_pretty(x_41, x_42); -x_44 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_44, 0, x_43); -x_45 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_45, 0, x_44); -x_46 = l_Lean_Elab_Term_toParserDescr___main___closed__3; -x_47 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_45); -x_48 = l_Lean_Elab_Term_throwError___rarg(x_1, x_47, x_2, x_3); -return x_48; +return x_710; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_unsigned_to_nat(0u); -x_50 = l_Lean_Syntax_getArg(x_1, x_49); +lean_object* x_712; lean_object* x_713; lean_object* x_714; +x_712 = lean_ctor_get(x_710, 0); +x_713 = lean_ctor_get(x_710, 1); +lean_inc(x_713); +lean_inc(x_712); +lean_dec(x_710); +x_714 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_714, 0, x_712); +lean_ctor_set(x_714, 1, x_713); +return x_714; +} +} +else +{ +lean_object* x_715; lean_object* x_716; +x_715 = lean_unsigned_to_nat(0u); +x_716 = l_Lean_Syntax_getArg(x_1, x_715); +if (lean_obj_tag(x_2) == 2) +{ +lean_object* x_717; lean_object* x_718; +x_717 = lean_box(1); +lean_inc(x_4); +x_718 = l_Lean_Elab_Term_toParserDescrAux___main(x_716, x_717, x_3, x_4, x_5); +if (lean_obj_tag(x_718) == 0) +{ +lean_object* x_719; lean_object* x_720; +x_719 = lean_ctor_get(x_718, 0); +lean_inc(x_719); +x_720 = lean_ctor_get(x_718, 1); +lean_inc(x_720); +lean_dec(x_718); +x_11 = x_719; +x_12 = x_720; +goto block_110; +} +else +{ +uint8_t x_721; +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_721 = !lean_is_exclusive(x_718); +if (x_721 == 0) +{ +return x_718; +} +else +{ +lean_object* x_722; lean_object* x_723; lean_object* x_724; +x_722 = lean_ctor_get(x_718, 0); +x_723 = lean_ctor_get(x_718, 1); +lean_inc(x_723); +lean_inc(x_722); +lean_dec(x_718); +x_724 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_724, 0, x_722); +lean_ctor_set(x_724, 1, x_723); +return x_724; +} +} +} +else +{ +lean_object* x_725; +lean_inc(x_4); lean_inc(x_2); -x_51 = l_Lean_Elab_Term_toParserDescr___main(x_50, x_2, x_3); -if (lean_obj_tag(x_51) == 0) +x_725 = l_Lean_Elab_Term_toParserDescrAux___main(x_716, x_2, x_3, x_4, x_5); +if (lean_obj_tag(x_725) == 0) { -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_52 = lean_ctor_get(x_51, 0); -lean_inc(x_52); -x_53 = lean_ctor_get(x_51, 1); -lean_inc(x_53); -lean_dec(x_51); -x_54 = lean_unsigned_to_nat(2u); -x_55 = l_Lean_Syntax_getArg(x_1, x_54); -lean_dec(x_1); -lean_inc(x_2); -x_56 = l_Lean_Elab_Term_toParserDescr___main(x_55, x_2, x_53); -if (lean_obj_tag(x_56) == 0) -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; -x_57 = lean_ctor_get(x_56, 0); -lean_inc(x_57); -x_58 = lean_ctor_get(x_56, 1); -lean_inc(x_58); -lean_dec(x_56); -x_59 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_58); -lean_dec(x_2); -x_60 = !lean_is_exclusive(x_59); -if (x_60 == 0) -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_61 = lean_ctor_get(x_59, 0); -x_62 = lean_box(0); -x_63 = l_Lean_Elab_Term_toParserDescr___main___closed__7; -x_64 = lean_name_mk_numeral(x_63, x_61); -x_65 = l_Lean_Elab_Term_toParserDescr___main___closed__6; -x_66 = l_Lean_Elab_Term_toParserDescr___main___closed__10; -x_67 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_67, 0, x_62); -lean_ctor_set(x_67, 1, x_65); -lean_ctor_set(x_67, 2, x_64); -lean_ctor_set(x_67, 3, x_66); -x_68 = l_Array_empty___closed__1; -x_69 = lean_array_push(x_68, x_67); -x_70 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; -x_71 = lean_array_push(x_69, x_70); -x_72 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_73 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_71); -x_74 = lean_array_push(x_68, x_73); -x_75 = lean_array_push(x_74, x_52); -x_76 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_77, 1, x_75); -x_78 = lean_array_push(x_68, x_77); -x_79 = lean_array_push(x_78, x_57); -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_76); -lean_ctor_set(x_80, 1, x_79); -lean_ctor_set(x_59, 0, x_80); -return x_59; +lean_object* x_726; lean_object* x_727; +x_726 = lean_ctor_get(x_725, 0); +lean_inc(x_726); +x_727 = lean_ctor_get(x_725, 1); +lean_inc(x_727); +lean_dec(x_725); +x_11 = x_726; +x_12 = x_727; +goto block_110; } else { -lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_81 = lean_ctor_get(x_59, 0); -x_82 = lean_ctor_get(x_59, 1); -lean_inc(x_82); -lean_inc(x_81); -lean_dec(x_59); -x_83 = lean_box(0); -x_84 = l_Lean_Elab_Term_toParserDescr___main___closed__7; -x_85 = lean_name_mk_numeral(x_84, x_81); -x_86 = l_Lean_Elab_Term_toParserDescr___main___closed__6; -x_87 = l_Lean_Elab_Term_toParserDescr___main___closed__10; -x_88 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_88, 0, x_83); -lean_ctor_set(x_88, 1, x_86); -lean_ctor_set(x_88, 2, x_85); -lean_ctor_set(x_88, 3, x_87); -x_89 = l_Array_empty___closed__1; -x_90 = lean_array_push(x_89, x_88); -x_91 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; -x_92 = lean_array_push(x_90, x_91); -x_93 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_94 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_94, 0, x_93); -lean_ctor_set(x_94, 1, x_92); -x_95 = lean_array_push(x_89, x_94); -x_96 = lean_array_push(x_95, x_52); -x_97 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_98 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_98, 0, x_97); -lean_ctor_set(x_98, 1, x_96); -x_99 = lean_array_push(x_89, x_98); -x_100 = lean_array_push(x_99, x_57); -x_101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_101, 0, x_97); -lean_ctor_set(x_101, 1, x_100); -x_102 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_82); -return x_102; -} -} -else -{ -uint8_t x_103; -lean_dec(x_52); -lean_dec(x_2); -x_103 = !lean_is_exclusive(x_56); -if (x_103 == 0) -{ -return x_56; -} -else -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_104 = lean_ctor_get(x_56, 0); -x_105 = lean_ctor_get(x_56, 1); -lean_inc(x_105); -lean_inc(x_104); -lean_dec(x_56); -x_106 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_106, 0, x_104); -lean_ctor_set(x_106, 1, x_105); -return x_106; -} -} -} -else -{ -uint8_t x_107; -lean_dec(x_2); -lean_dec(x_1); -x_107 = !lean_is_exclusive(x_51); -if (x_107 == 0) -{ -return x_51; -} -else -{ -lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_108 = lean_ctor_get(x_51, 0); -x_109 = lean_ctor_get(x_51, 1); -lean_inc(x_109); -lean_inc(x_108); -lean_dec(x_51); -x_110 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_110, 0, x_108); -lean_ctor_set(x_110, 1, x_109); -return x_110; -} -} -} -} -else -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; +uint8_t x_728; lean_dec(x_4); -x_111 = lean_unsigned_to_nat(0u); -x_112 = l_Lean_Syntax_getArg(x_1, x_111); +lean_dec(x_2); lean_dec(x_1); -lean_inc(x_2); -x_113 = l_Lean_Elab_Term_toParserDescr___main(x_112, x_2, x_3); -if (lean_obj_tag(x_113) == 0) +x_728 = !lean_is_exclusive(x_725); +if (x_728 == 0) { -lean_object* x_114; lean_object* x_115; lean_object* x_116; uint8_t x_117; -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_113, 1); -lean_inc(x_115); -lean_dec(x_113); -x_116 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_115); +return x_725; +} +else +{ +lean_object* x_729; lean_object* x_730; lean_object* x_731; +x_729 = lean_ctor_get(x_725, 0); +x_730 = lean_ctor_get(x_725, 1); +lean_inc(x_730); +lean_inc(x_729); +lean_dec(x_725); +x_731 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_731, 0, x_729); +lean_ctor_set(x_731, 1, x_730); +return x_731; +} +} +} +} +} +else +{ +lean_object* x_732; lean_object* x_733; +lean_dec(x_6); +x_732 = lean_unsigned_to_nat(0u); +x_733 = l_Lean_Syntax_getArg(x_1, x_732); +lean_dec(x_1); +if (lean_obj_tag(x_2) == 2) +{ +lean_object* x_734; lean_object* x_735; lean_dec(x_2); -x_117 = !lean_is_exclusive(x_116); -if (x_117 == 0) +x_734 = lean_box(1); +lean_inc(x_4); +x_735 = l_Lean_Elab_Term_toParserDescrAux___main(x_733, x_734, x_3, x_4, x_5); +if (lean_obj_tag(x_735) == 0) { -lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; -x_118 = lean_ctor_get(x_116, 0); -x_119 = lean_box(0); -x_120 = l_Lean_Elab_Term_toParserDescr___main___closed__14; -x_121 = lean_name_mk_numeral(x_120, x_118); -x_122 = l_Lean_Elab_Term_toParserDescr___main___closed__13; -x_123 = l_Lean_Elab_Term_toParserDescr___main___closed__17; -x_124 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_124, 0, x_119); -lean_ctor_set(x_124, 1, x_122); -lean_ctor_set(x_124, 2, x_121); -lean_ctor_set(x_124, 3, x_123); -x_125 = l_Array_empty___closed__1; -x_126 = lean_array_push(x_125, x_124); -x_127 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; -x_128 = lean_array_push(x_126, x_127); -x_129 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_130 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_130, 0, x_129); -lean_ctor_set(x_130, 1, x_128); -x_131 = lean_array_push(x_125, x_130); -x_132 = lean_array_push(x_131, x_114); -x_133 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_134 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_134, 0, x_133); -lean_ctor_set(x_134, 1, x_132); -lean_ctor_set(x_116, 0, x_134); -return x_116; +lean_object* x_736; lean_object* x_737; +x_736 = lean_ctor_get(x_735, 0); +lean_inc(x_736); +x_737 = lean_ctor_get(x_735, 1); +lean_inc(x_737); +lean_dec(x_735); +x_111 = x_736; +x_112 = x_737; +goto block_177; } else { -lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; -x_135 = lean_ctor_get(x_116, 0); -x_136 = lean_ctor_get(x_116, 1); -lean_inc(x_136); -lean_inc(x_135); -lean_dec(x_116); -x_137 = lean_box(0); -x_138 = l_Lean_Elab_Term_toParserDescr___main___closed__14; -x_139 = lean_name_mk_numeral(x_138, x_135); -x_140 = l_Lean_Elab_Term_toParserDescr___main___closed__13; -x_141 = l_Lean_Elab_Term_toParserDescr___main___closed__17; -x_142 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_142, 0, x_137); -lean_ctor_set(x_142, 1, x_140); -lean_ctor_set(x_142, 2, x_139); -lean_ctor_set(x_142, 3, x_141); -x_143 = l_Array_empty___closed__1; -x_144 = lean_array_push(x_143, x_142); -x_145 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; -x_146 = lean_array_push(x_144, x_145); -x_147 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_148 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_148, 0, x_147); -lean_ctor_set(x_148, 1, x_146); -x_149 = lean_array_push(x_143, x_148); -x_150 = lean_array_push(x_149, x_114); -x_151 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_152 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_152, 0, x_151); -lean_ctor_set(x_152, 1, x_150); -x_153 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_153, 0, x_152); -lean_ctor_set(x_153, 1, x_136); -return x_153; -} -} -else -{ -uint8_t x_154; -lean_dec(x_2); -x_154 = !lean_is_exclusive(x_113); -if (x_154 == 0) -{ -return x_113; -} -else -{ -lean_object* x_155; lean_object* x_156; lean_object* x_157; -x_155 = lean_ctor_get(x_113, 0); -x_156 = lean_ctor_get(x_113, 1); -lean_inc(x_156); -lean_inc(x_155); -lean_dec(x_113); -x_157 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_157, 0, x_155); -lean_ctor_set(x_157, 1, x_156); -return x_157; -} -} -} -} -else -{ -lean_object* x_158; lean_object* x_159; lean_object* x_160; +uint8_t x_738; lean_dec(x_4); -x_158 = lean_unsigned_to_nat(0u); -x_159 = l_Lean_Syntax_getArg(x_1, x_158); -lean_dec(x_1); -lean_inc(x_2); -x_160 = l_Lean_Elab_Term_toParserDescr___main(x_159, x_2, x_3); -if (lean_obj_tag(x_160) == 0) +x_738 = !lean_is_exclusive(x_735); +if (x_738 == 0) { -lean_object* x_161; lean_object* x_162; lean_object* x_163; uint8_t x_164; -x_161 = lean_ctor_get(x_160, 0); -lean_inc(x_161); -x_162 = lean_ctor_get(x_160, 1); -lean_inc(x_162); -lean_dec(x_160); -x_163 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_162); -lean_dec(x_2); -x_164 = !lean_is_exclusive(x_163); -if (x_164 == 0) -{ -lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; -x_165 = lean_ctor_get(x_163, 0); -x_166 = lean_box(0); -x_167 = l_Lean_Elab_Term_toParserDescr___main___closed__21; -x_168 = lean_name_mk_numeral(x_167, x_165); -x_169 = l_Lean_Elab_Term_toParserDescr___main___closed__20; -x_170 = l_Lean_Elab_Term_toParserDescr___main___closed__24; -x_171 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_171, 0, x_166); -lean_ctor_set(x_171, 1, x_169); -lean_ctor_set(x_171, 2, x_168); -lean_ctor_set(x_171, 3, x_170); -x_172 = l_Array_empty___closed__1; -x_173 = lean_array_push(x_172, x_171); -x_174 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; -x_175 = lean_array_push(x_173, x_174); -x_176 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_177 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_177, 0, x_176); -lean_ctor_set(x_177, 1, x_175); -x_178 = lean_array_push(x_172, x_177); -x_179 = lean_array_push(x_178, x_161); -x_180 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_181 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_181, 0, x_180); -lean_ctor_set(x_181, 1, x_179); -lean_ctor_set(x_163, 0, x_181); -return x_163; +return x_735; } else { -lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; -x_182 = lean_ctor_get(x_163, 0); -x_183 = lean_ctor_get(x_163, 1); -lean_inc(x_183); -lean_inc(x_182); -lean_dec(x_163); -x_184 = lean_box(0); -x_185 = l_Lean_Elab_Term_toParserDescr___main___closed__21; -x_186 = lean_name_mk_numeral(x_185, x_182); -x_187 = l_Lean_Elab_Term_toParserDescr___main___closed__20; -x_188 = l_Lean_Elab_Term_toParserDescr___main___closed__24; -x_189 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_189, 0, x_184); -lean_ctor_set(x_189, 1, x_187); -lean_ctor_set(x_189, 2, x_186); -lean_ctor_set(x_189, 3, x_188); -x_190 = l_Array_empty___closed__1; -x_191 = lean_array_push(x_190, x_189); -x_192 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; -x_193 = lean_array_push(x_191, x_192); -x_194 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_195 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_195, 0, x_194); -lean_ctor_set(x_195, 1, x_193); -x_196 = lean_array_push(x_190, x_195); -x_197 = lean_array_push(x_196, x_161); -x_198 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_199 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_199, 0, x_198); -lean_ctor_set(x_199, 1, x_197); -x_200 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_200, 0, x_199); -lean_ctor_set(x_200, 1, x_183); -return x_200; -} -} -else -{ -uint8_t x_201; -lean_dec(x_2); -x_201 = !lean_is_exclusive(x_160); -if (x_201 == 0) -{ -return x_160; -} -else -{ -lean_object* x_202; lean_object* x_203; lean_object* x_204; -x_202 = lean_ctor_get(x_160, 0); -x_203 = lean_ctor_get(x_160, 1); -lean_inc(x_203); -lean_inc(x_202); -lean_dec(x_160); -x_204 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_204, 0, x_202); -lean_ctor_set(x_204, 1, x_203); -return x_204; -} -} -} -} -else -{ -lean_object* x_205; lean_object* x_206; lean_object* x_207; -lean_dec(x_4); -x_205 = lean_unsigned_to_nat(1u); -x_206 = l_Lean_Syntax_getArg(x_1, x_205); -lean_inc(x_2); -x_207 = l_Lean_Elab_Term_toParserDescr___main(x_206, x_2, x_3); -if (lean_obj_tag(x_207) == 0) -{ -lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; -x_208 = lean_ctor_get(x_207, 0); -lean_inc(x_208); -x_209 = lean_ctor_get(x_207, 1); -lean_inc(x_209); -lean_dec(x_207); -x_210 = lean_unsigned_to_nat(2u); -x_211 = l_Lean_Syntax_getArg(x_1, x_210); -lean_dec(x_1); -lean_inc(x_2); -x_212 = l_Lean_Elab_Term_toParserDescr___main(x_211, x_2, x_209); -if (lean_obj_tag(x_212) == 0) -{ -lean_object* x_213; lean_object* x_214; lean_object* x_215; uint8_t x_216; -x_213 = lean_ctor_get(x_212, 0); -lean_inc(x_213); -x_214 = lean_ctor_get(x_212, 1); -lean_inc(x_214); -lean_dec(x_212); -x_215 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_214); -lean_dec(x_2); -x_216 = !lean_is_exclusive(x_215); -if (x_216 == 0) -{ -lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; -x_217 = lean_ctor_get(x_215, 0); -x_218 = lean_box(0); -x_219 = l_Lean_Elab_Term_toParserDescr___main___closed__28; -x_220 = lean_name_mk_numeral(x_219, x_217); -x_221 = l_Lean_Elab_Term_toParserDescr___main___closed__27; -x_222 = l_Lean_Elab_Term_toParserDescr___main___closed__31; -x_223 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_223, 0, x_218); -lean_ctor_set(x_223, 1, x_221); -lean_ctor_set(x_223, 2, x_220); -lean_ctor_set(x_223, 3, x_222); -x_224 = l_Array_empty___closed__1; -x_225 = lean_array_push(x_224, x_223); -x_226 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; -x_227 = lean_array_push(x_225, x_226); -x_228 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_229 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_229, 0, x_228); -lean_ctor_set(x_229, 1, x_227); -x_230 = lean_array_push(x_224, x_229); -x_231 = lean_array_push(x_230, x_208); -x_232 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_233 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_233, 0, x_232); -lean_ctor_set(x_233, 1, x_231); -x_234 = lean_array_push(x_224, x_233); -x_235 = lean_array_push(x_234, x_213); -x_236 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_236, 0, x_232); -lean_ctor_set(x_236, 1, x_235); -lean_ctor_set(x_215, 0, x_236); -return x_215; -} -else -{ -lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; -x_237 = lean_ctor_get(x_215, 0); -x_238 = lean_ctor_get(x_215, 1); -lean_inc(x_238); -lean_inc(x_237); -lean_dec(x_215); -x_239 = lean_box(0); -x_240 = l_Lean_Elab_Term_toParserDescr___main___closed__28; -x_241 = lean_name_mk_numeral(x_240, x_237); -x_242 = l_Lean_Elab_Term_toParserDescr___main___closed__27; -x_243 = l_Lean_Elab_Term_toParserDescr___main___closed__31; -x_244 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_244, 0, x_239); -lean_ctor_set(x_244, 1, x_242); -lean_ctor_set(x_244, 2, x_241); -lean_ctor_set(x_244, 3, x_243); -x_245 = l_Array_empty___closed__1; -x_246 = lean_array_push(x_245, x_244); -x_247 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; -x_248 = lean_array_push(x_246, x_247); -x_249 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_250 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_250, 0, x_249); -lean_ctor_set(x_250, 1, x_248); -x_251 = lean_array_push(x_245, x_250); -x_252 = lean_array_push(x_251, x_208); -x_253 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_254 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_254, 0, x_253); -lean_ctor_set(x_254, 1, x_252); -x_255 = lean_array_push(x_245, x_254); -x_256 = lean_array_push(x_255, x_213); -x_257 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_257, 0, x_253); -lean_ctor_set(x_257, 1, x_256); -x_258 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_258, 0, x_257); -lean_ctor_set(x_258, 1, x_238); -return x_258; -} -} -else -{ -uint8_t x_259; -lean_dec(x_208); -lean_dec(x_2); -x_259 = !lean_is_exclusive(x_212); -if (x_259 == 0) -{ -return x_212; -} -else -{ -lean_object* x_260; lean_object* x_261; lean_object* x_262; -x_260 = lean_ctor_get(x_212, 0); -x_261 = lean_ctor_get(x_212, 1); -lean_inc(x_261); -lean_inc(x_260); -lean_dec(x_212); -x_262 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_262, 0, x_260); -lean_ctor_set(x_262, 1, x_261); -return x_262; -} -} -} -else -{ -uint8_t x_263; -lean_dec(x_2); -lean_dec(x_1); -x_263 = !lean_is_exclusive(x_207); -if (x_263 == 0) -{ -return x_207; -} -else -{ -lean_object* x_264; lean_object* x_265; lean_object* x_266; -x_264 = lean_ctor_get(x_207, 0); -x_265 = lean_ctor_get(x_207, 1); -lean_inc(x_265); -lean_inc(x_264); -lean_dec(x_207); -x_266 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_266, 0, x_264); -lean_ctor_set(x_266, 1, x_265); -return x_266; -} -} -} -} -else -{ -lean_object* x_267; lean_object* x_268; lean_object* x_269; -lean_dec(x_4); -x_267 = lean_unsigned_to_nat(1u); -x_268 = l_Lean_Syntax_getArg(x_1, x_267); -lean_inc(x_2); -x_269 = l_Lean_Elab_Term_toParserDescr___main(x_268, x_2, x_3); -if (lean_obj_tag(x_269) == 0) -{ -lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; -x_270 = lean_ctor_get(x_269, 0); -lean_inc(x_270); -x_271 = lean_ctor_get(x_269, 1); -lean_inc(x_271); -lean_dec(x_269); -x_272 = lean_unsigned_to_nat(2u); -x_273 = l_Lean_Syntax_getArg(x_1, x_272); -lean_dec(x_1); -lean_inc(x_2); -x_274 = l_Lean_Elab_Term_toParserDescr___main(x_273, x_2, x_271); -if (lean_obj_tag(x_274) == 0) -{ -lean_object* x_275; lean_object* x_276; lean_object* x_277; uint8_t x_278; -x_275 = lean_ctor_get(x_274, 0); -lean_inc(x_275); -x_276 = lean_ctor_get(x_274, 1); -lean_inc(x_276); -lean_dec(x_274); -x_277 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_276); -lean_dec(x_2); -x_278 = !lean_is_exclusive(x_277); -if (x_278 == 0) -{ -lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; -x_279 = lean_ctor_get(x_277, 0); -x_280 = lean_box(0); -x_281 = l_Lean_Elab_Term_toParserDescr___main___closed__35; -x_282 = lean_name_mk_numeral(x_281, x_279); -x_283 = l_Lean_Elab_Term_toParserDescr___main___closed__34; -x_284 = l_Lean_Elab_Term_toParserDescr___main___closed__38; -x_285 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_285, 0, x_280); -lean_ctor_set(x_285, 1, x_283); -lean_ctor_set(x_285, 2, x_282); -lean_ctor_set(x_285, 3, x_284); -x_286 = l_Array_empty___closed__1; -x_287 = lean_array_push(x_286, x_285); -x_288 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; -x_289 = lean_array_push(x_287, x_288); -x_290 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_291 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_291, 0, x_290); -lean_ctor_set(x_291, 1, x_289); -x_292 = lean_array_push(x_286, x_291); -x_293 = lean_array_push(x_292, x_270); -x_294 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_295 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_295, 0, x_294); -lean_ctor_set(x_295, 1, x_293); -x_296 = lean_array_push(x_286, x_295); -x_297 = lean_array_push(x_296, x_275); -x_298 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_298, 0, x_294); -lean_ctor_set(x_298, 1, x_297); -lean_ctor_set(x_277, 0, x_298); -return x_277; -} -else -{ -lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; -x_299 = lean_ctor_get(x_277, 0); -x_300 = lean_ctor_get(x_277, 1); -lean_inc(x_300); -lean_inc(x_299); -lean_dec(x_277); -x_301 = lean_box(0); -x_302 = l_Lean_Elab_Term_toParserDescr___main___closed__35; -x_303 = lean_name_mk_numeral(x_302, x_299); -x_304 = l_Lean_Elab_Term_toParserDescr___main___closed__34; -x_305 = l_Lean_Elab_Term_toParserDescr___main___closed__38; -x_306 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_306, 0, x_301); -lean_ctor_set(x_306, 1, x_304); -lean_ctor_set(x_306, 2, x_303); -lean_ctor_set(x_306, 3, x_305); -x_307 = l_Array_empty___closed__1; -x_308 = lean_array_push(x_307, x_306); -x_309 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; -x_310 = lean_array_push(x_308, x_309); -x_311 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_312 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_312, 0, x_311); -lean_ctor_set(x_312, 1, x_310); -x_313 = lean_array_push(x_307, x_312); -x_314 = lean_array_push(x_313, x_270); -x_315 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_316 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_316, 0, x_315); -lean_ctor_set(x_316, 1, x_314); -x_317 = lean_array_push(x_307, x_316); -x_318 = lean_array_push(x_317, x_275); -x_319 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_319, 0, x_315); -lean_ctor_set(x_319, 1, x_318); -x_320 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_320, 0, x_319); -lean_ctor_set(x_320, 1, x_300); -return x_320; -} -} -else -{ -uint8_t x_321; -lean_dec(x_270); -lean_dec(x_2); -x_321 = !lean_is_exclusive(x_274); -if (x_321 == 0) -{ -return x_274; -} -else -{ -lean_object* x_322; lean_object* x_323; lean_object* x_324; -x_322 = lean_ctor_get(x_274, 0); -x_323 = lean_ctor_get(x_274, 1); -lean_inc(x_323); -lean_inc(x_322); -lean_dec(x_274); -x_324 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_324, 0, x_322); -lean_ctor_set(x_324, 1, x_323); -return x_324; -} -} -} -else -{ -uint8_t x_325; -lean_dec(x_2); -lean_dec(x_1); -x_325 = !lean_is_exclusive(x_269); -if (x_325 == 0) -{ -return x_269; -} -else -{ -lean_object* x_326; lean_object* x_327; lean_object* x_328; -x_326 = lean_ctor_get(x_269, 0); -x_327 = lean_ctor_get(x_269, 1); -lean_inc(x_327); -lean_inc(x_326); -lean_dec(x_269); -x_328 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_328, 0, x_326); -lean_ctor_set(x_328, 1, x_327); -return x_328; -} -} -} -} -else -{ -lean_object* x_329; lean_object* x_330; lean_object* x_331; -lean_dec(x_4); -x_329 = lean_unsigned_to_nat(1u); -x_330 = l_Lean_Syntax_getArg(x_1, x_329); -lean_dec(x_1); -lean_inc(x_2); -x_331 = l_Lean_Elab_Term_toParserDescr___main(x_330, x_2, x_3); -if (lean_obj_tag(x_331) == 0) -{ -lean_object* x_332; lean_object* x_333; lean_object* x_334; uint8_t x_335; -x_332 = lean_ctor_get(x_331, 0); -lean_inc(x_332); -x_333 = lean_ctor_get(x_331, 1); -lean_inc(x_333); -lean_dec(x_331); -x_334 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_333); -lean_dec(x_2); -x_335 = !lean_is_exclusive(x_334); -if (x_335 == 0) -{ -lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; -x_336 = lean_ctor_get(x_334, 0); -x_337 = lean_box(0); -x_338 = l_Lean_Elab_Term_toParserDescr___main___closed__42; -x_339 = lean_name_mk_numeral(x_338, x_336); -x_340 = l_Lean_Elab_Term_toParserDescr___main___closed__41; -x_341 = l_Lean_Elab_Term_toParserDescr___main___closed__45; -x_342 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_342, 0, x_337); -lean_ctor_set(x_342, 1, x_340); -lean_ctor_set(x_342, 2, x_339); -lean_ctor_set(x_342, 3, x_341); -x_343 = l_Array_empty___closed__1; -x_344 = lean_array_push(x_343, x_342); -x_345 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; -x_346 = lean_array_push(x_344, x_345); -x_347 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_348 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_348, 0, x_347); -lean_ctor_set(x_348, 1, x_346); -x_349 = lean_array_push(x_343, x_348); -x_350 = lean_array_push(x_349, x_332); -x_351 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_352 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_352, 0, x_351); -lean_ctor_set(x_352, 1, x_350); -lean_ctor_set(x_334, 0, x_352); -return x_334; -} -else -{ -lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; -x_353 = lean_ctor_get(x_334, 0); -x_354 = lean_ctor_get(x_334, 1); -lean_inc(x_354); -lean_inc(x_353); -lean_dec(x_334); -x_355 = lean_box(0); -x_356 = l_Lean_Elab_Term_toParserDescr___main___closed__42; -x_357 = lean_name_mk_numeral(x_356, x_353); -x_358 = l_Lean_Elab_Term_toParserDescr___main___closed__41; -x_359 = l_Lean_Elab_Term_toParserDescr___main___closed__45; -x_360 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_360, 0, x_355); -lean_ctor_set(x_360, 1, x_358); -lean_ctor_set(x_360, 2, x_357); -lean_ctor_set(x_360, 3, x_359); -x_361 = l_Array_empty___closed__1; -x_362 = lean_array_push(x_361, x_360); -x_363 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; -x_364 = lean_array_push(x_362, x_363); -x_365 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_366 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_366, 0, x_365); -lean_ctor_set(x_366, 1, x_364); -x_367 = lean_array_push(x_361, x_366); -x_368 = lean_array_push(x_367, x_332); -x_369 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_370 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_370, 0, x_369); -lean_ctor_set(x_370, 1, x_368); -x_371 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_371, 0, x_370); -lean_ctor_set(x_371, 1, x_354); -return x_371; -} -} -else -{ -uint8_t x_372; -lean_dec(x_2); -x_372 = !lean_is_exclusive(x_331); -if (x_372 == 0) -{ -return x_331; -} -else -{ -lean_object* x_373; lean_object* x_374; lean_object* x_375; -x_373 = lean_ctor_get(x_331, 0); -x_374 = lean_ctor_get(x_331, 1); -lean_inc(x_374); -lean_inc(x_373); -lean_dec(x_331); -x_375 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_375, 0, x_373); -lean_ctor_set(x_375, 1, x_374); -return x_375; -} -} -} -} -else -{ -lean_object* x_376; lean_object* x_377; lean_object* x_378; -lean_dec(x_4); -x_376 = lean_unsigned_to_nat(1u); -x_377 = l_Lean_Syntax_getArg(x_1, x_376); -lean_dec(x_1); -lean_inc(x_2); -x_378 = l_Lean_Elab_Term_toParserDescr___main(x_377, x_2, x_3); -if (lean_obj_tag(x_378) == 0) -{ -lean_object* x_379; lean_object* x_380; lean_object* x_381; uint8_t x_382; -x_379 = lean_ctor_get(x_378, 0); -lean_inc(x_379); -x_380 = lean_ctor_get(x_378, 1); -lean_inc(x_380); -lean_dec(x_378); -x_381 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_380); -lean_dec(x_2); -x_382 = !lean_is_exclusive(x_381); -if (x_382 == 0) -{ -lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; -x_383 = lean_ctor_get(x_381, 0); -x_384 = lean_box(0); -x_385 = l_Lean_Elab_Term_toParserDescr___main___closed__49; -x_386 = lean_name_mk_numeral(x_385, x_383); -x_387 = l_Lean_Elab_Term_toParserDescr___main___closed__48; -x_388 = l_Lean_Elab_Term_toParserDescr___main___closed__52; -x_389 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_389, 0, x_384); -lean_ctor_set(x_389, 1, x_387); -lean_ctor_set(x_389, 2, x_386); -lean_ctor_set(x_389, 3, x_388); -x_390 = l_Array_empty___closed__1; -x_391 = lean_array_push(x_390, x_389); -x_392 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; -x_393 = lean_array_push(x_391, x_392); -x_394 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_395 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_395, 0, x_394); -lean_ctor_set(x_395, 1, x_393); -x_396 = lean_array_push(x_390, x_395); -x_397 = lean_array_push(x_396, x_379); -x_398 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_399 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_399, 0, x_398); -lean_ctor_set(x_399, 1, x_397); -lean_ctor_set(x_381, 0, x_399); -return x_381; -} -else -{ -lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; -x_400 = lean_ctor_get(x_381, 0); -x_401 = lean_ctor_get(x_381, 1); -lean_inc(x_401); -lean_inc(x_400); -lean_dec(x_381); -x_402 = lean_box(0); -x_403 = l_Lean_Elab_Term_toParserDescr___main___closed__49; -x_404 = lean_name_mk_numeral(x_403, x_400); -x_405 = l_Lean_Elab_Term_toParserDescr___main___closed__48; -x_406 = l_Lean_Elab_Term_toParserDescr___main___closed__52; -x_407 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_407, 0, x_402); -lean_ctor_set(x_407, 1, x_405); -lean_ctor_set(x_407, 2, x_404); -lean_ctor_set(x_407, 3, x_406); -x_408 = l_Array_empty___closed__1; -x_409 = lean_array_push(x_408, x_407); -x_410 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; -x_411 = lean_array_push(x_409, x_410); -x_412 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_413 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_413, 0, x_412); -lean_ctor_set(x_413, 1, x_411); -x_414 = lean_array_push(x_408, x_413); -x_415 = lean_array_push(x_414, x_379); -x_416 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_417 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_417, 0, x_416); -lean_ctor_set(x_417, 1, x_415); -x_418 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_418, 0, x_417); -lean_ctor_set(x_418, 1, x_401); -return x_418; -} -} -else -{ -uint8_t x_419; -lean_dec(x_2); -x_419 = !lean_is_exclusive(x_378); -if (x_419 == 0) -{ -return x_378; -} -else -{ -lean_object* x_420; lean_object* x_421; lean_object* x_422; -x_420 = lean_ctor_get(x_378, 0); -x_421 = lean_ctor_get(x_378, 1); -lean_inc(x_421); -lean_inc(x_420); -lean_dec(x_378); -x_422 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_422, 0, x_420); -lean_ctor_set(x_422, 1, x_421); -return x_422; -} -} -} -} -else -{ -lean_object* x_423; lean_object* x_424; lean_object* x_425; -lean_dec(x_4); -x_423 = lean_unsigned_to_nat(1u); -x_424 = l_Lean_Syntax_getArg(x_1, x_423); -lean_dec(x_1); -lean_inc(x_2); -x_425 = l_Lean_Elab_Term_toParserDescr___main(x_424, x_2, x_3); -if (lean_obj_tag(x_425) == 0) -{ -lean_object* x_426; lean_object* x_427; lean_object* x_428; uint8_t x_429; -x_426 = lean_ctor_get(x_425, 0); -lean_inc(x_426); -x_427 = lean_ctor_get(x_425, 1); -lean_inc(x_427); -lean_dec(x_425); -x_428 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_427); -lean_dec(x_2); -x_429 = !lean_is_exclusive(x_428); -if (x_429 == 0) -{ -lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; -x_430 = lean_ctor_get(x_428, 0); -x_431 = lean_box(0); -x_432 = l_Lean_Elab_Term_toParserDescr___main___closed__56; -x_433 = lean_name_mk_numeral(x_432, x_430); -x_434 = l_Lean_Elab_Term_toParserDescr___main___closed__55; -x_435 = l_Lean_Elab_Term_toParserDescr___main___closed__59; -x_436 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_436, 0, x_431); -lean_ctor_set(x_436, 1, x_434); -lean_ctor_set(x_436, 2, x_433); -lean_ctor_set(x_436, 3, x_435); -x_437 = l_Array_empty___closed__1; -x_438 = lean_array_push(x_437, x_436); -x_439 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; -x_440 = lean_array_push(x_438, x_439); -x_441 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_442 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_442, 0, x_441); -lean_ctor_set(x_442, 1, x_440); -x_443 = lean_array_push(x_437, x_442); -x_444 = lean_array_push(x_443, x_426); -x_445 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_446 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_446, 0, x_445); -lean_ctor_set(x_446, 1, x_444); -lean_ctor_set(x_428, 0, x_446); -return x_428; -} -else -{ -lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; -x_447 = lean_ctor_get(x_428, 0); -x_448 = lean_ctor_get(x_428, 1); -lean_inc(x_448); -lean_inc(x_447); -lean_dec(x_428); -x_449 = lean_box(0); -x_450 = l_Lean_Elab_Term_toParserDescr___main___closed__56; -x_451 = lean_name_mk_numeral(x_450, x_447); -x_452 = l_Lean_Elab_Term_toParserDescr___main___closed__55; -x_453 = l_Lean_Elab_Term_toParserDescr___main___closed__59; -x_454 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_454, 0, x_449); -lean_ctor_set(x_454, 1, x_452); -lean_ctor_set(x_454, 2, x_451); -lean_ctor_set(x_454, 3, x_453); -x_455 = l_Array_empty___closed__1; -x_456 = lean_array_push(x_455, x_454); -x_457 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; -x_458 = lean_array_push(x_456, x_457); -x_459 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_460 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_460, 0, x_459); -lean_ctor_set(x_460, 1, x_458); -x_461 = lean_array_push(x_455, x_460); -x_462 = lean_array_push(x_461, x_426); -x_463 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_464 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_464, 0, x_463); -lean_ctor_set(x_464, 1, x_462); -x_465 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_465, 0, x_464); -lean_ctor_set(x_465, 1, x_448); -return x_465; -} -} -else -{ -uint8_t x_466; -lean_dec(x_2); -x_466 = !lean_is_exclusive(x_425); -if (x_466 == 0) -{ -return x_425; -} -else -{ -lean_object* x_467; lean_object* x_468; lean_object* x_469; -x_467 = lean_ctor_get(x_425, 0); -x_468 = lean_ctor_get(x_425, 1); -lean_inc(x_468); -lean_inc(x_467); -lean_dec(x_425); -x_469 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_469, 0, x_467); -lean_ctor_set(x_469, 1, x_468); -return x_469; -} -} -} -} -else -{ -lean_object* x_470; uint8_t x_471; -lean_dec(x_4); -lean_dec(x_1); -x_470 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3); -lean_dec(x_2); -x_471 = !lean_is_exclusive(x_470); -if (x_471 == 0) -{ -lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; -x_472 = lean_ctor_get(x_470, 0); -x_473 = lean_box(0); -x_474 = l_Lean_Elab_Term_toParserDescr___main___closed__63; -x_475 = lean_name_mk_numeral(x_474, x_472); -x_476 = l_Lean_Elab_Term_toParserDescr___main___closed__62; -x_477 = l_Lean_Elab_Term_toParserDescr___main___closed__66; -x_478 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_478, 0, x_473); -lean_ctor_set(x_478, 1, x_476); -lean_ctor_set(x_478, 2, x_475); -lean_ctor_set(x_478, 3, x_477); -x_479 = l_Array_empty___closed__1; -x_480 = lean_array_push(x_479, x_478); -x_481 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; -x_482 = lean_array_push(x_480, x_481); -x_483 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_484 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_484, 0, x_483); -lean_ctor_set(x_484, 1, x_482); -lean_ctor_set(x_470, 0, x_484); -return x_470; -} -else -{ -lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; -x_485 = lean_ctor_get(x_470, 0); -x_486 = lean_ctor_get(x_470, 1); -lean_inc(x_486); -lean_inc(x_485); -lean_dec(x_470); -x_487 = lean_box(0); -x_488 = l_Lean_Elab_Term_toParserDescr___main___closed__63; -x_489 = lean_name_mk_numeral(x_488, x_485); -x_490 = l_Lean_Elab_Term_toParserDescr___main___closed__62; -x_491 = l_Lean_Elab_Term_toParserDescr___main___closed__66; -x_492 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_492, 0, x_487); -lean_ctor_set(x_492, 1, x_490); -lean_ctor_set(x_492, 2, x_489); -lean_ctor_set(x_492, 3, x_491); -x_493 = l_Array_empty___closed__1; -x_494 = lean_array_push(x_493, x_492); -x_495 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; -x_496 = lean_array_push(x_494, x_495); -x_497 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_498 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_498, 0, x_497); -lean_ctor_set(x_498, 1, x_496); -x_499 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_499, 0, x_498); -lean_ctor_set(x_499, 1, x_486); -return x_499; -} -} -} -else -{ -lean_object* x_500; uint8_t x_501; -lean_dec(x_4); -lean_dec(x_1); -x_500 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3); -lean_dec(x_2); -x_501 = !lean_is_exclusive(x_500); -if (x_501 == 0) -{ -lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; -x_502 = lean_ctor_get(x_500, 0); -x_503 = lean_box(0); -x_504 = l_Lean_Elab_Term_toParserDescr___main___closed__70; -x_505 = lean_name_mk_numeral(x_504, x_502); -x_506 = l_Lean_Elab_Term_toParserDescr___main___closed__69; -x_507 = l_Lean_Elab_Term_toParserDescr___main___closed__73; -x_508 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_508, 0, x_503); -lean_ctor_set(x_508, 1, x_506); -lean_ctor_set(x_508, 2, x_505); -lean_ctor_set(x_508, 3, x_507); -x_509 = l_Array_empty___closed__1; -x_510 = lean_array_push(x_509, x_508); -x_511 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; -x_512 = lean_array_push(x_510, x_511); -x_513 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_514 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_514, 0, x_513); -lean_ctor_set(x_514, 1, x_512); -lean_ctor_set(x_500, 0, x_514); -return x_500; -} -else -{ -lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; -x_515 = lean_ctor_get(x_500, 0); -x_516 = lean_ctor_get(x_500, 1); -lean_inc(x_516); -lean_inc(x_515); -lean_dec(x_500); -x_517 = lean_box(0); -x_518 = l_Lean_Elab_Term_toParserDescr___main___closed__70; -x_519 = lean_name_mk_numeral(x_518, x_515); -x_520 = l_Lean_Elab_Term_toParserDescr___main___closed__69; -x_521 = l_Lean_Elab_Term_toParserDescr___main___closed__73; -x_522 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_522, 0, x_517); -lean_ctor_set(x_522, 1, x_520); -lean_ctor_set(x_522, 2, x_519); -lean_ctor_set(x_522, 3, x_521); -x_523 = l_Array_empty___closed__1; -x_524 = lean_array_push(x_523, x_522); -x_525 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; -x_526 = lean_array_push(x_524, x_525); -x_527 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_528 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_528, 0, x_527); -lean_ctor_set(x_528, 1, x_526); -x_529 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_529, 0, x_528); -lean_ctor_set(x_529, 1, x_516); -return x_529; -} -} -} -else -{ -lean_object* x_530; uint8_t x_531; -lean_dec(x_4); -lean_dec(x_1); -x_530 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3); -lean_dec(x_2); -x_531 = !lean_is_exclusive(x_530); -if (x_531 == 0) -{ -lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; -x_532 = lean_ctor_get(x_530, 0); -x_533 = lean_box(0); -x_534 = l_Lean_Elab_Term_toParserDescr___main___closed__77; -x_535 = lean_name_mk_numeral(x_534, x_532); -x_536 = l_Lean_Elab_Term_toParserDescr___main___closed__76; -x_537 = l_Lean_Elab_Term_toParserDescr___main___closed__80; -x_538 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_538, 0, x_533); -lean_ctor_set(x_538, 1, x_536); -lean_ctor_set(x_538, 2, x_535); -lean_ctor_set(x_538, 3, x_537); -x_539 = l_Array_empty___closed__1; -x_540 = lean_array_push(x_539, x_538); -x_541 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; -x_542 = lean_array_push(x_540, x_541); -x_543 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_544 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_544, 0, x_543); -lean_ctor_set(x_544, 1, x_542); -lean_ctor_set(x_530, 0, x_544); -return x_530; -} -else -{ -lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; -x_545 = lean_ctor_get(x_530, 0); -x_546 = lean_ctor_get(x_530, 1); -lean_inc(x_546); -lean_inc(x_545); -lean_dec(x_530); -x_547 = lean_box(0); -x_548 = l_Lean_Elab_Term_toParserDescr___main___closed__77; -x_549 = lean_name_mk_numeral(x_548, x_545); -x_550 = l_Lean_Elab_Term_toParserDescr___main___closed__76; -x_551 = l_Lean_Elab_Term_toParserDescr___main___closed__80; -x_552 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_552, 0, x_547); -lean_ctor_set(x_552, 1, x_550); -lean_ctor_set(x_552, 2, x_549); -lean_ctor_set(x_552, 3, x_551); -x_553 = l_Array_empty___closed__1; -x_554 = lean_array_push(x_553, x_552); -x_555 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; -x_556 = lean_array_push(x_554, x_555); -x_557 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_558 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_558, 0, x_557); -lean_ctor_set(x_558, 1, x_556); -x_559 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_559, 0, x_558); -lean_ctor_set(x_559, 1, x_546); -return x_559; -} -} -} -else -{ -lean_object* x_560; uint8_t x_561; -lean_dec(x_4); -lean_dec(x_1); -x_560 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3); -lean_dec(x_2); -x_561 = !lean_is_exclusive(x_560); -if (x_561 == 0) -{ -lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; -x_562 = lean_ctor_get(x_560, 0); -x_563 = lean_box(0); -x_564 = l_Lean_Elab_Term_toParserDescr___main___closed__84; -x_565 = lean_name_mk_numeral(x_564, x_562); -x_566 = l_Lean_Elab_Term_toParserDescr___main___closed__83; -x_567 = l_Lean_Elab_Term_toParserDescr___main___closed__87; -x_568 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_568, 0, x_563); -lean_ctor_set(x_568, 1, x_566); -lean_ctor_set(x_568, 2, x_565); -lean_ctor_set(x_568, 3, x_567); -x_569 = l_Array_empty___closed__1; -x_570 = lean_array_push(x_569, x_568); -x_571 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; -x_572 = lean_array_push(x_570, x_571); -x_573 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_574 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_574, 0, x_573); -lean_ctor_set(x_574, 1, x_572); -lean_ctor_set(x_560, 0, x_574); -return x_560; -} -else -{ -lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; -x_575 = lean_ctor_get(x_560, 0); -x_576 = lean_ctor_get(x_560, 1); -lean_inc(x_576); -lean_inc(x_575); -lean_dec(x_560); -x_577 = lean_box(0); -x_578 = l_Lean_Elab_Term_toParserDescr___main___closed__84; -x_579 = lean_name_mk_numeral(x_578, x_575); -x_580 = l_Lean_Elab_Term_toParserDescr___main___closed__83; -x_581 = l_Lean_Elab_Term_toParserDescr___main___closed__87; -x_582 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_582, 0, x_577); -lean_ctor_set(x_582, 1, x_580); -lean_ctor_set(x_582, 2, x_579); -lean_ctor_set(x_582, 3, x_581); -x_583 = l_Array_empty___closed__1; -x_584 = lean_array_push(x_583, x_582); -x_585 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; -x_586 = lean_array_push(x_584, x_585); -x_587 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_588 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_588, 0, x_587); -lean_ctor_set(x_588, 1, x_586); -x_589 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_589, 0, x_588); -lean_ctor_set(x_589, 1, x_576); -return x_589; -} -} -} -else -{ -lean_object* x_590; lean_object* x_591; lean_object* x_592; -lean_dec(x_4); -x_590 = lean_unsigned_to_nat(0u); -x_591 = l_Lean_Syntax_getArg(x_1, x_590); -x_592 = l_Lean_Syntax_isStrLit_x3f(x_591); -lean_dec(x_591); -if (lean_obj_tag(x_592) == 0) -{ -lean_object* x_593; -lean_dec(x_2); -lean_dec(x_1); -x_593 = l_Lean_Elab_Term_throwUnsupportedSyntax___rarg(x_3); -return x_593; -} -else -{ -lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; uint8_t x_599; -x_594 = lean_ctor_get(x_592, 0); -lean_inc(x_594); -lean_dec(x_592); -x_595 = lean_unsigned_to_nat(1u); -x_596 = l_Lean_Syntax_getArg(x_1, x_595); -lean_dec(x_1); -x_597 = l___private_Init_Lean_Elab_Syntax_1__getOptNum(x_596); -lean_dec(x_596); -x_598 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3); -lean_dec(x_2); -x_599 = !lean_is_exclusive(x_598); -if (x_599 == 0) -{ -lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; -x_600 = lean_ctor_get(x_598, 0); -x_601 = lean_box(0); -x_602 = l_Lean_Elab_Term_toParserDescr___main___closed__91; -x_603 = lean_name_mk_numeral(x_602, x_600); -x_604 = l_Lean_Elab_Term_toParserDescr___main___closed__90; -x_605 = l_Lean_Elab_Term_toParserDescr___main___closed__94; -x_606 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_606, 0, x_601); -lean_ctor_set(x_606, 1, x_604); -lean_ctor_set(x_606, 2, x_603); -lean_ctor_set(x_606, 3, x_605); -x_607 = l_Array_empty___closed__1; -x_608 = lean_array_push(x_607, x_606); -x_609 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; -x_610 = lean_array_push(x_608, x_609); -x_611 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_612 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_612, 0, x_611); -lean_ctor_set(x_612, 1, x_610); -x_613 = lean_array_push(x_607, x_612); -x_614 = l_Lean_mkStxStrLit(x_594, x_601); -x_615 = l_Lean_mkOptionalNode___closed__1; -x_616 = lean_array_push(x_615, x_614); -x_617 = l_Lean_Parser_Term_str___elambda__1___closed__2; -x_618 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_618, 0, x_617); -lean_ctor_set(x_618, 1, x_616); -x_619 = lean_array_push(x_613, x_618); -x_620 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_621 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_621, 0, x_620); -lean_ctor_set(x_621, 1, x_619); -x_622 = lean_array_push(x_607, x_621); -x_623 = l___private_Init_Lean_Elab_Quotation_4__quoteOption___at_Lean_Elab_Term_toParserDescr___main___spec__1(x_597); -x_624 = lean_array_push(x_622, x_623); -x_625 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_625, 0, x_620); -lean_ctor_set(x_625, 1, x_624); -lean_ctor_set(x_598, 0, x_625); -return x_598; -} -else -{ -lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; -x_626 = lean_ctor_get(x_598, 0); -x_627 = lean_ctor_get(x_598, 1); -lean_inc(x_627); -lean_inc(x_626); -lean_dec(x_598); -x_628 = lean_box(0); -x_629 = l_Lean_Elab_Term_toParserDescr___main___closed__91; -x_630 = lean_name_mk_numeral(x_629, x_626); -x_631 = l_Lean_Elab_Term_toParserDescr___main___closed__90; -x_632 = l_Lean_Elab_Term_toParserDescr___main___closed__94; -x_633 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_633, 0, x_628); -lean_ctor_set(x_633, 1, x_631); -lean_ctor_set(x_633, 2, x_630); -lean_ctor_set(x_633, 3, x_632); -x_634 = l_Array_empty___closed__1; -x_635 = lean_array_push(x_634, x_633); -x_636 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; -x_637 = lean_array_push(x_635, x_636); -x_638 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_639 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_639, 0, x_638); -lean_ctor_set(x_639, 1, x_637); -x_640 = lean_array_push(x_634, x_639); -x_641 = l_Lean_mkStxStrLit(x_594, x_628); -x_642 = l_Lean_mkOptionalNode___closed__1; -x_643 = lean_array_push(x_642, x_641); -x_644 = l_Lean_Parser_Term_str___elambda__1___closed__2; -x_645 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_645, 0, x_644); -lean_ctor_set(x_645, 1, x_643); -x_646 = lean_array_push(x_640, x_645); -x_647 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_648 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_648, 0, x_647); -lean_ctor_set(x_648, 1, x_646); -x_649 = lean_array_push(x_634, x_648); -x_650 = l___private_Init_Lean_Elab_Quotation_4__quoteOption___at_Lean_Elab_Term_toParserDescr___main___spec__1(x_597); -x_651 = lean_array_push(x_649, x_650); -x_652 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_652, 0, x_647); -lean_ctor_set(x_652, 1, x_651); -x_653 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_653, 0, x_652); -lean_ctor_set(x_653, 1, x_627); -return x_653; -} -} -} -} -else -{ -lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_736; lean_object* x_737; lean_object* x_738; -lean_dec(x_4); -x_654 = lean_unsigned_to_nat(0u); -x_655 = l_Lean_Syntax_getIdAt(x_1, x_654); -x_736 = lean_unsigned_to_nat(1u); -x_737 = l_Lean_Syntax_getArg(x_1, x_736); -x_738 = l___private_Init_Lean_Elab_Syntax_1__getOptNum(x_737); -lean_dec(x_737); -if (lean_obj_tag(x_738) == 0) -{ -x_656 = x_654; -goto block_735; -} -else -{ -lean_object* x_739; -x_739 = lean_ctor_get(x_738, 0); +lean_object* x_739; lean_object* x_740; lean_object* x_741; +x_739 = lean_ctor_get(x_735, 0); +x_740 = lean_ctor_get(x_735, 1); +lean_inc(x_740); lean_inc(x_739); -lean_dec(x_738); -x_656 = x_739; -goto block_735; -} -block_735: -{ -lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; uint8_t x_722; -x_657 = l_Lean_Elab_Term_getEnv___rarg(x_3); -x_658 = lean_ctor_get(x_657, 0); -lean_inc(x_658); -x_659 = lean_ctor_get(x_657, 1); -lean_inc(x_659); -lean_dec(x_657); -x_722 = l_Lean_Parser_isParserCategory(x_658, x_655); -lean_dec(x_658); -if (x_722 == 0) -{ -lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; uint8_t x_731; -lean_dec(x_656); -x_723 = lean_unsigned_to_nat(3u); -x_724 = l_Lean_Syntax_getArg(x_1, x_723); -lean_dec(x_1); -x_725 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_725, 0, x_655); -x_726 = l_Lean_Elab_Term_toParserDescr___main___closed__104; -x_727 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_727, 0, x_726); -lean_ctor_set(x_727, 1, x_725); -x_728 = l_Lean_Elab_Term_mkConst___closed__4; -x_729 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_729, 0, x_727); -lean_ctor_set(x_729, 1, x_728); -x_730 = l_Lean_Elab_Term_throwError___rarg(x_724, x_729, x_2, x_659); -x_731 = !lean_is_exclusive(x_730); -if (x_731 == 0) -{ -return x_730; -} -else -{ -lean_object* x_732; lean_object* x_733; lean_object* x_734; -x_732 = lean_ctor_get(x_730, 0); -x_733 = lean_ctor_get(x_730, 1); -lean_inc(x_733); -lean_inc(x_732); -lean_dec(x_730); -x_734 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_734, 0, x_732); -lean_ctor_set(x_734, 1, x_733); -return x_734; -} -} -else -{ -lean_dec(x_1); -x_660 = x_659; -goto block_721; -} -block_721: -{ -lean_object* x_661; uint8_t x_662; -x_661 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_660); -lean_dec(x_2); -x_662 = !lean_is_exclusive(x_661); -if (x_662 == 0) -{ -lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; -x_663 = lean_ctor_get(x_661, 0); -x_664 = lean_box(0); -x_665 = l_Lean_Elab_Term_toParserDescr___main___closed__98; -x_666 = lean_name_mk_numeral(x_665, x_663); -x_667 = l_Lean_Elab_Term_toParserDescr___main___closed__97; -x_668 = l_Lean_Elab_Term_toParserDescr___main___closed__101; -x_669 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_669, 0, x_664); -lean_ctor_set(x_669, 1, x_667); -lean_ctor_set(x_669, 2, x_666); -lean_ctor_set(x_669, 3, x_668); -x_670 = l_Array_empty___closed__1; -x_671 = lean_array_push(x_670, x_669); -x_672 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; -x_673 = lean_array_push(x_671, x_672); -x_674 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_675 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_675, 0, x_674); -lean_ctor_set(x_675, 1, x_673); -x_676 = lean_array_push(x_670, x_675); -x_677 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_655); -x_678 = lean_array_push(x_676, x_677); -x_679 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_680 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_680, 0, x_679); -lean_ctor_set(x_680, 1, x_678); -x_681 = lean_array_push(x_670, x_680); -x_682 = l_Nat_repr(x_656); -x_683 = l_Lean_numLitKind; -x_684 = l_Lean_mkStxLit(x_683, x_682, x_664); -x_685 = l_Lean_mkOptionalNode___closed__1; -x_686 = lean_array_push(x_685, x_684); -x_687 = l_Lean_Parser_Term_num___elambda__1___closed__1; -x_688 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_688, 0, x_687); -lean_ctor_set(x_688, 1, x_686); -x_689 = lean_array_push(x_681, x_688); -x_690 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_690, 0, x_679); -lean_ctor_set(x_690, 1, x_689); -lean_ctor_set(x_661, 0, x_690); -return x_661; -} -else -{ -lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; -x_691 = lean_ctor_get(x_661, 0); -x_692 = lean_ctor_get(x_661, 1); -lean_inc(x_692); -lean_inc(x_691); -lean_dec(x_661); -x_693 = lean_box(0); -x_694 = l_Lean_Elab_Term_toParserDescr___main___closed__98; -x_695 = lean_name_mk_numeral(x_694, x_691); -x_696 = l_Lean_Elab_Term_toParserDescr___main___closed__97; -x_697 = l_Lean_Elab_Term_toParserDescr___main___closed__101; -x_698 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_698, 0, x_693); -lean_ctor_set(x_698, 1, x_696); -lean_ctor_set(x_698, 2, x_695); -lean_ctor_set(x_698, 3, x_697); -x_699 = l_Array_empty___closed__1; -x_700 = lean_array_push(x_699, x_698); -x_701 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; -x_702 = lean_array_push(x_700, x_701); -x_703 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_704 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_704, 0, x_703); -lean_ctor_set(x_704, 1, x_702); -x_705 = lean_array_push(x_699, x_704); -x_706 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_655); -x_707 = lean_array_push(x_705, x_706); -x_708 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_709 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_709, 0, x_708); -lean_ctor_set(x_709, 1, x_707); -x_710 = lean_array_push(x_699, x_709); -x_711 = l_Nat_repr(x_656); -x_712 = l_Lean_numLitKind; -x_713 = l_Lean_mkStxLit(x_712, x_711, x_693); -x_714 = l_Lean_mkOptionalNode___closed__1; -x_715 = lean_array_push(x_714, x_713); -x_716 = l_Lean_Parser_Term_num___elambda__1___closed__1; -x_717 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_717, 0, x_716); -lean_ctor_set(x_717, 1, x_715); -x_718 = lean_array_push(x_710, x_717); -x_719 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_719, 0, x_708); -lean_ctor_set(x_719, 1, x_718); -x_720 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_720, 0, x_719); -lean_ctor_set(x_720, 1, x_692); -return x_720; -} -} +lean_dec(x_735); +x_741 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_741, 0, x_739); +lean_ctor_set(x_741, 1, x_740); +return x_741; } } } else { -lean_object* x_740; lean_object* x_741; -lean_dec(x_4); -x_740 = lean_unsigned_to_nat(1u); -x_741 = l_Lean_Syntax_getArg(x_1, x_740); -lean_dec(x_1); -x_1 = x_741; -goto _start; -} -} -else +lean_object* x_742; +lean_inc(x_4); +x_742 = l_Lean_Elab_Term_toParserDescrAux___main(x_733, x_2, x_3, x_4, x_5); +if (lean_obj_tag(x_742) == 0) { lean_object* x_743; lean_object* x_744; -lean_dec(x_4); -x_743 = lean_unsigned_to_nat(0u); -x_744 = l_Lean_Syntax_getArg(x_1, x_743); -lean_dec(x_1); -x_1 = x_744; -goto _start; +x_743 = lean_ctor_get(x_742, 0); +lean_inc(x_743); +x_744 = lean_ctor_get(x_742, 1); +lean_inc(x_744); +lean_dec(x_742); +x_111 = x_743; +x_112 = x_744; +goto block_177; } +else +{ +uint8_t x_745; +lean_dec(x_4); +x_745 = !lean_is_exclusive(x_742); +if (x_745 == 0) +{ +return x_742; } else { lean_object* x_746; lean_object* x_747; lean_object* x_748; -lean_dec(x_4); -x_746 = l_Lean_Syntax_getArgs(x_1); -lean_dec(x_1); -x_747 = lean_unsigned_to_nat(0u); -lean_inc(x_2); -x_748 = l_Array_umapMAux___main___at_Lean_Elab_Term_toParserDescr___main___spec__2(x_747, x_746, x_2, x_3); -if (lean_obj_tag(x_748) == 0) -{ -lean_object* x_749; lean_object* x_750; lean_object* x_751; -x_749 = lean_ctor_get(x_748, 0); -lean_inc(x_749); -x_750 = lean_ctor_get(x_748, 1); -lean_inc(x_750); -lean_dec(x_748); -x_751 = l___private_Init_Lean_Elab_Syntax_2__mkParserSeq(x_749, x_2, x_750); -lean_dec(x_2); -lean_dec(x_749); -return x_751; -} -else -{ -uint8_t x_752; -lean_dec(x_2); -x_752 = !lean_is_exclusive(x_748); -if (x_752 == 0) -{ +x_746 = lean_ctor_get(x_742, 0); +x_747 = lean_ctor_get(x_742, 1); +lean_inc(x_747); +lean_inc(x_746); +lean_dec(x_742); +x_748 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_748, 0, x_746); +lean_ctor_set(x_748, 1, x_747); return x_748; } +} +} +} +} else { -lean_object* x_753; lean_object* x_754; lean_object* x_755; -x_753 = lean_ctor_get(x_748, 0); -x_754 = lean_ctor_get(x_748, 1); -lean_inc(x_754); +lean_object* x_749; lean_object* x_750; +lean_dec(x_6); +x_749 = lean_unsigned_to_nat(0u); +x_750 = l_Lean_Syntax_getArg(x_1, x_749); +lean_dec(x_1); +if (lean_obj_tag(x_2) == 2) +{ +lean_object* x_751; lean_object* x_752; +lean_dec(x_2); +x_751 = lean_box(1); +lean_inc(x_4); +x_752 = l_Lean_Elab_Term_toParserDescrAux___main(x_750, x_751, x_3, x_4, x_5); +if (lean_obj_tag(x_752) == 0) +{ +lean_object* x_753; lean_object* x_754; +x_753 = lean_ctor_get(x_752, 0); lean_inc(x_753); -lean_dec(x_748); -x_755 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_755, 0, x_753); -lean_ctor_set(x_755, 1, x_754); -return x_755; +x_754 = lean_ctor_get(x_752, 1); +lean_inc(x_754); +lean_dec(x_752); +x_178 = x_753; +x_179 = x_754; +goto block_244; +} +else +{ +uint8_t x_755; +lean_dec(x_4); +x_755 = !lean_is_exclusive(x_752); +if (x_755 == 0) +{ +return x_752; +} +else +{ +lean_object* x_756; lean_object* x_757; lean_object* x_758; +x_756 = lean_ctor_get(x_752, 0); +x_757 = lean_ctor_get(x_752, 1); +lean_inc(x_757); +lean_inc(x_756); +lean_dec(x_752); +x_758 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_758, 0, x_756); +lean_ctor_set(x_758, 1, x_757); +return x_758; +} +} +} +else +{ +lean_object* x_759; +lean_inc(x_4); +x_759 = l_Lean_Elab_Term_toParserDescrAux___main(x_750, x_2, x_3, x_4, x_5); +if (lean_obj_tag(x_759) == 0) +{ +lean_object* x_760; lean_object* x_761; +x_760 = lean_ctor_get(x_759, 0); +lean_inc(x_760); +x_761 = lean_ctor_get(x_759, 1); +lean_inc(x_761); +lean_dec(x_759); +x_178 = x_760; +x_179 = x_761; +goto block_244; +} +else +{ +uint8_t x_762; +lean_dec(x_4); +x_762 = !lean_is_exclusive(x_759); +if (x_762 == 0) +{ +return x_759; +} +else +{ +lean_object* x_763; lean_object* x_764; lean_object* x_765; +x_763 = lean_ctor_get(x_759, 0); +x_764 = lean_ctor_get(x_759, 1); +lean_inc(x_764); +lean_inc(x_763); +lean_dec(x_759); +x_765 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_765, 0, x_763); +lean_ctor_set(x_765, 1, x_764); +return x_765; } } } } } -lean_object* l___private_Init_Lean_Elab_Quotation_4__quoteOption___at_Lean_Elab_Term_toParserDescr___main___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +else +{ +lean_object* x_766; lean_object* x_767; +lean_dec(x_6); +x_766 = lean_unsigned_to_nat(1u); +x_767 = l_Lean_Syntax_getArg(x_1, x_766); +if (lean_obj_tag(x_2) == 2) +{ +lean_object* x_768; lean_object* x_769; +x_768 = lean_box(1); +lean_inc(x_4); +x_769 = l_Lean_Elab_Term_toParserDescrAux___main(x_767, x_768, x_3, x_4, x_5); +if (lean_obj_tag(x_769) == 0) +{ +lean_object* x_770; lean_object* x_771; +x_770 = lean_ctor_get(x_769, 0); +lean_inc(x_770); +x_771 = lean_ctor_get(x_769, 1); +lean_inc(x_771); +lean_dec(x_769); +x_245 = x_770; +x_246 = x_771; +goto block_344; +} +else +{ +uint8_t x_772; +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_772 = !lean_is_exclusive(x_769); +if (x_772 == 0) +{ +return x_769; +} +else +{ +lean_object* x_773; lean_object* x_774; lean_object* x_775; +x_773 = lean_ctor_get(x_769, 0); +x_774 = lean_ctor_get(x_769, 1); +lean_inc(x_774); +lean_inc(x_773); +lean_dec(x_769); +x_775 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_775, 0, x_773); +lean_ctor_set(x_775, 1, x_774); +return x_775; +} +} +} +else +{ +lean_object* x_776; +lean_inc(x_4); +lean_inc(x_2); +x_776 = l_Lean_Elab_Term_toParserDescrAux___main(x_767, x_2, x_3, x_4, x_5); +if (lean_obj_tag(x_776) == 0) +{ +lean_object* x_777; lean_object* x_778; +x_777 = lean_ctor_get(x_776, 0); +lean_inc(x_777); +x_778 = lean_ctor_get(x_776, 1); +lean_inc(x_778); +lean_dec(x_776); +x_245 = x_777; +x_246 = x_778; +goto block_344; +} +else +{ +uint8_t x_779; +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_779 = !lean_is_exclusive(x_776); +if (x_779 == 0) +{ +return x_776; +} +else +{ +lean_object* x_780; lean_object* x_781; lean_object* x_782; +x_780 = lean_ctor_get(x_776, 0); +x_781 = lean_ctor_get(x_776, 1); +lean_inc(x_781); +lean_inc(x_780); +lean_dec(x_776); +x_782 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_782, 0, x_780); +lean_ctor_set(x_782, 1, x_781); +return x_782; +} +} +} +} +} +else +{ +lean_object* x_783; lean_object* x_784; +lean_dec(x_6); +x_783 = lean_unsigned_to_nat(1u); +x_784 = l_Lean_Syntax_getArg(x_1, x_783); +if (lean_obj_tag(x_2) == 2) +{ +lean_object* x_785; lean_object* x_786; +x_785 = lean_box(1); +lean_inc(x_4); +x_786 = l_Lean_Elab_Term_toParserDescrAux___main(x_784, x_785, x_3, x_4, x_5); +if (lean_obj_tag(x_786) == 0) +{ +lean_object* x_787; lean_object* x_788; +x_787 = lean_ctor_get(x_786, 0); +lean_inc(x_787); +x_788 = lean_ctor_get(x_786, 1); +lean_inc(x_788); +lean_dec(x_786); +x_345 = x_787; +x_346 = x_788; +goto block_444; +} +else +{ +uint8_t x_789; +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_789 = !lean_is_exclusive(x_786); +if (x_789 == 0) +{ +return x_786; +} +else +{ +lean_object* x_790; lean_object* x_791; lean_object* x_792; +x_790 = lean_ctor_get(x_786, 0); +x_791 = lean_ctor_get(x_786, 1); +lean_inc(x_791); +lean_inc(x_790); +lean_dec(x_786); +x_792 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_792, 0, x_790); +lean_ctor_set(x_792, 1, x_791); +return x_792; +} +} +} +else +{ +lean_object* x_793; +lean_inc(x_4); +lean_inc(x_2); +x_793 = l_Lean_Elab_Term_toParserDescrAux___main(x_784, x_2, x_3, x_4, x_5); +if (lean_obj_tag(x_793) == 0) +{ +lean_object* x_794; lean_object* x_795; +x_794 = lean_ctor_get(x_793, 0); +lean_inc(x_794); +x_795 = lean_ctor_get(x_793, 1); +lean_inc(x_795); +lean_dec(x_793); +x_345 = x_794; +x_346 = x_795; +goto block_444; +} +else +{ +uint8_t x_796; +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_796 = !lean_is_exclusive(x_793); +if (x_796 == 0) +{ +return x_793; +} +else +{ +lean_object* x_797; lean_object* x_798; lean_object* x_799; +x_797 = lean_ctor_get(x_793, 0); +x_798 = lean_ctor_get(x_793, 1); +lean_inc(x_798); +lean_inc(x_797); +lean_dec(x_793); +x_799 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_799, 0, x_797); +lean_ctor_set(x_799, 1, x_798); +return x_799; +} +} +} +} +} +else +{ +lean_object* x_800; lean_object* x_801; +lean_dec(x_6); +x_800 = lean_unsigned_to_nat(1u); +x_801 = l_Lean_Syntax_getArg(x_1, x_800); +lean_dec(x_1); +if (lean_obj_tag(x_2) == 2) +{ +lean_object* x_802; lean_object* x_803; +lean_dec(x_2); +x_802 = lean_box(1); +lean_inc(x_4); +x_803 = l_Lean_Elab_Term_toParserDescrAux___main(x_801, x_802, x_3, x_4, x_5); +if (lean_obj_tag(x_803) == 0) +{ +lean_object* x_804; lean_object* x_805; +x_804 = lean_ctor_get(x_803, 0); +lean_inc(x_804); +x_805 = lean_ctor_get(x_803, 1); +lean_inc(x_805); +lean_dec(x_803); +x_445 = x_804; +x_446 = x_805; +goto block_511; +} +else +{ +uint8_t x_806; +lean_dec(x_4); +x_806 = !lean_is_exclusive(x_803); +if (x_806 == 0) +{ +return x_803; +} +else +{ +lean_object* x_807; lean_object* x_808; lean_object* x_809; +x_807 = lean_ctor_get(x_803, 0); +x_808 = lean_ctor_get(x_803, 1); +lean_inc(x_808); +lean_inc(x_807); +lean_dec(x_803); +x_809 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_809, 0, x_807); +lean_ctor_set(x_809, 1, x_808); +return x_809; +} +} +} +else +{ +lean_object* x_810; +lean_inc(x_4); +x_810 = l_Lean_Elab_Term_toParserDescrAux___main(x_801, x_2, x_3, x_4, x_5); +if (lean_obj_tag(x_810) == 0) +{ +lean_object* x_811; lean_object* x_812; +x_811 = lean_ctor_get(x_810, 0); +lean_inc(x_811); +x_812 = lean_ctor_get(x_810, 1); +lean_inc(x_812); +lean_dec(x_810); +x_445 = x_811; +x_446 = x_812; +goto block_511; +} +else +{ +uint8_t x_813; +lean_dec(x_4); +x_813 = !lean_is_exclusive(x_810); +if (x_813 == 0) +{ +return x_810; +} +else +{ +lean_object* x_814; lean_object* x_815; lean_object* x_816; +x_814 = lean_ctor_get(x_810, 0); +x_815 = lean_ctor_get(x_810, 1); +lean_inc(x_815); +lean_inc(x_814); +lean_dec(x_810); +x_816 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_816, 0, x_814); +lean_ctor_set(x_816, 1, x_815); +return x_816; +} +} +} +} +} +else +{ +lean_object* x_817; lean_object* x_818; +lean_dec(x_6); +x_817 = lean_unsigned_to_nat(1u); +x_818 = l_Lean_Syntax_getArg(x_1, x_817); +lean_dec(x_1); +if (lean_obj_tag(x_2) == 2) +{ +lean_object* x_819; lean_object* x_820; +lean_dec(x_2); +x_819 = lean_box(1); +lean_inc(x_4); +x_820 = l_Lean_Elab_Term_toParserDescrAux___main(x_818, x_819, x_3, x_4, x_5); +if (lean_obj_tag(x_820) == 0) +{ +lean_object* x_821; lean_object* x_822; +x_821 = lean_ctor_get(x_820, 0); +lean_inc(x_821); +x_822 = lean_ctor_get(x_820, 1); +lean_inc(x_822); +lean_dec(x_820); +x_512 = x_821; +x_513 = x_822; +goto block_578; +} +else +{ +uint8_t x_823; +lean_dec(x_4); +x_823 = !lean_is_exclusive(x_820); +if (x_823 == 0) +{ +return x_820; +} +else +{ +lean_object* x_824; lean_object* x_825; lean_object* x_826; +x_824 = lean_ctor_get(x_820, 0); +x_825 = lean_ctor_get(x_820, 1); +lean_inc(x_825); +lean_inc(x_824); +lean_dec(x_820); +x_826 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_826, 0, x_824); +lean_ctor_set(x_826, 1, x_825); +return x_826; +} +} +} +else +{ +lean_object* x_827; +lean_inc(x_4); +x_827 = l_Lean_Elab_Term_toParserDescrAux___main(x_818, x_2, x_3, x_4, x_5); +if (lean_obj_tag(x_827) == 0) +{ +lean_object* x_828; lean_object* x_829; +x_828 = lean_ctor_get(x_827, 0); +lean_inc(x_828); +x_829 = lean_ctor_get(x_827, 1); +lean_inc(x_829); +lean_dec(x_827); +x_512 = x_828; +x_513 = x_829; +goto block_578; +} +else +{ +uint8_t x_830; +lean_dec(x_4); +x_830 = !lean_is_exclusive(x_827); +if (x_830 == 0) +{ +return x_827; +} +else +{ +lean_object* x_831; lean_object* x_832; lean_object* x_833; +x_831 = lean_ctor_get(x_827, 0); +x_832 = lean_ctor_get(x_827, 1); +lean_inc(x_832); +lean_inc(x_831); +lean_dec(x_827); +x_833 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_833, 0, x_831); +lean_ctor_set(x_833, 1, x_832); +return x_833; +} +} +} +} +} +else +{ +lean_object* x_834; lean_object* x_835; +lean_dec(x_6); +x_834 = lean_unsigned_to_nat(1u); +x_835 = l_Lean_Syntax_getArg(x_1, x_834); +lean_dec(x_1); +if (lean_obj_tag(x_2) == 2) +{ +lean_object* x_836; lean_object* x_837; +lean_dec(x_2); +x_836 = lean_box(1); +lean_inc(x_4); +x_837 = l_Lean_Elab_Term_toParserDescrAux___main(x_835, x_836, x_3, x_4, x_5); +if (lean_obj_tag(x_837) == 0) +{ +lean_object* x_838; lean_object* x_839; +x_838 = lean_ctor_get(x_837, 0); +lean_inc(x_838); +x_839 = lean_ctor_get(x_837, 1); +lean_inc(x_839); +lean_dec(x_837); +x_579 = x_838; +x_580 = x_839; +goto block_645; +} +else +{ +uint8_t x_840; +lean_dec(x_4); +x_840 = !lean_is_exclusive(x_837); +if (x_840 == 0) +{ +return x_837; +} +else +{ +lean_object* x_841; lean_object* x_842; lean_object* x_843; +x_841 = lean_ctor_get(x_837, 0); +x_842 = lean_ctor_get(x_837, 1); +lean_inc(x_842); +lean_inc(x_841); +lean_dec(x_837); +x_843 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_843, 0, x_841); +lean_ctor_set(x_843, 1, x_842); +return x_843; +} +} +} +else +{ +lean_object* x_844; +lean_inc(x_4); +x_844 = l_Lean_Elab_Term_toParserDescrAux___main(x_835, x_2, x_3, x_4, x_5); +if (lean_obj_tag(x_844) == 0) +{ +lean_object* x_845; lean_object* x_846; +x_845 = lean_ctor_get(x_844, 0); +lean_inc(x_845); +x_846 = lean_ctor_get(x_844, 1); +lean_inc(x_846); +lean_dec(x_844); +x_579 = x_845; +x_580 = x_846; +goto block_645; +} +else +{ +uint8_t x_847; +lean_dec(x_4); +x_847 = !lean_is_exclusive(x_844); +if (x_847 == 0) +{ +return x_844; +} +else +{ +lean_object* x_848; lean_object* x_849; lean_object* x_850; +x_848 = lean_ctor_get(x_844, 0); +x_849 = lean_ctor_get(x_844, 1); +lean_inc(x_849); +lean_inc(x_848); +lean_dec(x_844); +x_850 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_850, 0, x_848); +lean_ctor_set(x_850, 1, x_849); +return x_850; +} +} +} +} +} +else +{ +lean_object* x_851; uint8_t x_852; +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_851 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5); +lean_dec(x_4); +x_852 = !lean_is_exclusive(x_851); +if (x_852 == 0) +{ +lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; +x_853 = lean_ctor_get(x_851, 0); +x_854 = lean_box(0); +x_855 = l_Lean_Elab_Term_toParserDescrAux___main___closed__68; +x_856 = lean_name_mk_numeral(x_855, x_853); +x_857 = l_Lean_Elab_Term_toParserDescrAux___main___closed__67; +x_858 = l_Lean_Elab_Term_toParserDescrAux___main___closed__71; +x_859 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_859, 0, x_854); +lean_ctor_set(x_859, 1, x_857); +lean_ctor_set(x_859, 2, x_856); +lean_ctor_set(x_859, 3, x_858); +x_860 = l_Array_empty___closed__1; +x_861 = lean_array_push(x_860, x_859); +x_862 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_863 = lean_array_push(x_861, x_862); +x_864 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_865 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_865, 0, x_864); +lean_ctor_set(x_865, 1, x_863); +x_866 = lean_box(x_3); +x_867 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_867, 0, x_865); +lean_ctor_set(x_867, 1, x_866); +lean_ctor_set(x_851, 0, x_867); +return x_851; +} +else +{ +lean_object* x_868; lean_object* x_869; lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; +x_868 = lean_ctor_get(x_851, 0); +x_869 = lean_ctor_get(x_851, 1); +lean_inc(x_869); +lean_inc(x_868); +lean_dec(x_851); +x_870 = lean_box(0); +x_871 = l_Lean_Elab_Term_toParserDescrAux___main___closed__68; +x_872 = lean_name_mk_numeral(x_871, x_868); +x_873 = l_Lean_Elab_Term_toParserDescrAux___main___closed__67; +x_874 = l_Lean_Elab_Term_toParserDescrAux___main___closed__71; +x_875 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_875, 0, x_870); +lean_ctor_set(x_875, 1, x_873); +lean_ctor_set(x_875, 2, x_872); +lean_ctor_set(x_875, 3, x_874); +x_876 = l_Array_empty___closed__1; +x_877 = lean_array_push(x_876, x_875); +x_878 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_879 = lean_array_push(x_877, x_878); +x_880 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_881 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_881, 0, x_880); +lean_ctor_set(x_881, 1, x_879); +x_882 = lean_box(x_3); +x_883 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_883, 0, x_881); +lean_ctor_set(x_883, 1, x_882); +x_884 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_884, 0, x_883); +lean_ctor_set(x_884, 1, x_869); +return x_884; +} +} +} +else +{ +lean_object* x_885; uint8_t x_886; +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_885 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5); +lean_dec(x_4); +x_886 = !lean_is_exclusive(x_885); +if (x_886 == 0) +{ +lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; +x_887 = lean_ctor_get(x_885, 0); +x_888 = lean_box(0); +x_889 = l_Lean_Elab_Term_toParserDescrAux___main___closed__75; +x_890 = lean_name_mk_numeral(x_889, x_887); +x_891 = l_Lean_Elab_Term_toParserDescrAux___main___closed__74; +x_892 = l_Lean_Elab_Term_toParserDescrAux___main___closed__78; +x_893 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_893, 0, x_888); +lean_ctor_set(x_893, 1, x_891); +lean_ctor_set(x_893, 2, x_890); +lean_ctor_set(x_893, 3, x_892); +x_894 = l_Array_empty___closed__1; +x_895 = lean_array_push(x_894, x_893); +x_896 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_897 = lean_array_push(x_895, x_896); +x_898 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_899 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_899, 0, x_898); +lean_ctor_set(x_899, 1, x_897); +x_900 = lean_box(x_3); +x_901 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_901, 0, x_899); +lean_ctor_set(x_901, 1, x_900); +lean_ctor_set(x_885, 0, x_901); +return x_885; +} +else +{ +lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; +x_902 = lean_ctor_get(x_885, 0); +x_903 = lean_ctor_get(x_885, 1); +lean_inc(x_903); +lean_inc(x_902); +lean_dec(x_885); +x_904 = lean_box(0); +x_905 = l_Lean_Elab_Term_toParserDescrAux___main___closed__75; +x_906 = lean_name_mk_numeral(x_905, x_902); +x_907 = l_Lean_Elab_Term_toParserDescrAux___main___closed__74; +x_908 = l_Lean_Elab_Term_toParserDescrAux___main___closed__78; +x_909 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_909, 0, x_904); +lean_ctor_set(x_909, 1, x_907); +lean_ctor_set(x_909, 2, x_906); +lean_ctor_set(x_909, 3, x_908); +x_910 = l_Array_empty___closed__1; +x_911 = lean_array_push(x_910, x_909); +x_912 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_913 = lean_array_push(x_911, x_912); +x_914 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_915 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_915, 0, x_914); +lean_ctor_set(x_915, 1, x_913); +x_916 = lean_box(x_3); +x_917 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_917, 0, x_915); +lean_ctor_set(x_917, 1, x_916); +x_918 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_918, 0, x_917); +lean_ctor_set(x_918, 1, x_903); +return x_918; +} +} +} +else +{ +lean_object* x_919; uint8_t x_920; +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_919 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5); +lean_dec(x_4); +x_920 = !lean_is_exclusive(x_919); +if (x_920 == 0) +{ +lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; lean_object* x_933; lean_object* x_934; lean_object* x_935; +x_921 = lean_ctor_get(x_919, 0); +x_922 = lean_box(0); +x_923 = l_Lean_Elab_Term_toParserDescrAux___main___closed__82; +x_924 = lean_name_mk_numeral(x_923, x_921); +x_925 = l_Lean_Elab_Term_toParserDescrAux___main___closed__81; +x_926 = l_Lean_Elab_Term_toParserDescrAux___main___closed__85; +x_927 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_927, 0, x_922); +lean_ctor_set(x_927, 1, x_925); +lean_ctor_set(x_927, 2, x_924); +lean_ctor_set(x_927, 3, x_926); +x_928 = l_Array_empty___closed__1; +x_929 = lean_array_push(x_928, x_927); +x_930 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_931 = lean_array_push(x_929, x_930); +x_932 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_933 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_933, 0, x_932); +lean_ctor_set(x_933, 1, x_931); +x_934 = lean_box(x_3); +x_935 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_935, 0, x_933); +lean_ctor_set(x_935, 1, x_934); +lean_ctor_set(x_919, 0, x_935); +return x_919; +} +else +{ +lean_object* x_936; lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_940; lean_object* x_941; lean_object* x_942; lean_object* x_943; lean_object* x_944; lean_object* x_945; lean_object* x_946; lean_object* x_947; lean_object* x_948; lean_object* x_949; lean_object* x_950; lean_object* x_951; lean_object* x_952; +x_936 = lean_ctor_get(x_919, 0); +x_937 = lean_ctor_get(x_919, 1); +lean_inc(x_937); +lean_inc(x_936); +lean_dec(x_919); +x_938 = lean_box(0); +x_939 = l_Lean_Elab_Term_toParserDescrAux___main___closed__82; +x_940 = lean_name_mk_numeral(x_939, x_936); +x_941 = l_Lean_Elab_Term_toParserDescrAux___main___closed__81; +x_942 = l_Lean_Elab_Term_toParserDescrAux___main___closed__85; +x_943 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_943, 0, x_938); +lean_ctor_set(x_943, 1, x_941); +lean_ctor_set(x_943, 2, x_940); +lean_ctor_set(x_943, 3, x_942); +x_944 = l_Array_empty___closed__1; +x_945 = lean_array_push(x_944, x_943); +x_946 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_947 = lean_array_push(x_945, x_946); +x_948 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_949 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_949, 0, x_948); +lean_ctor_set(x_949, 1, x_947); +x_950 = lean_box(x_3); +x_951 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_951, 0, x_949); +lean_ctor_set(x_951, 1, x_950); +x_952 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_952, 0, x_951); +lean_ctor_set(x_952, 1, x_937); +return x_952; +} +} +} +else +{ +lean_object* x_953; uint8_t x_954; +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_953 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5); +lean_dec(x_4); +x_954 = !lean_is_exclusive(x_953); +if (x_954 == 0) +{ +lean_object* x_955; lean_object* x_956; lean_object* x_957; lean_object* x_958; lean_object* x_959; lean_object* x_960; lean_object* x_961; lean_object* x_962; lean_object* x_963; lean_object* x_964; lean_object* x_965; lean_object* x_966; lean_object* x_967; lean_object* x_968; lean_object* x_969; +x_955 = lean_ctor_get(x_953, 0); +x_956 = lean_box(0); +x_957 = l_Lean_Elab_Term_toParserDescrAux___main___closed__89; +x_958 = lean_name_mk_numeral(x_957, x_955); +x_959 = l_Lean_Elab_Term_toParserDescrAux___main___closed__88; +x_960 = l_Lean_Elab_Term_toParserDescrAux___main___closed__92; +x_961 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_961, 0, x_956); +lean_ctor_set(x_961, 1, x_959); +lean_ctor_set(x_961, 2, x_958); +lean_ctor_set(x_961, 3, x_960); +x_962 = l_Array_empty___closed__1; +x_963 = lean_array_push(x_962, x_961); +x_964 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_965 = lean_array_push(x_963, x_964); +x_966 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_967 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_967, 0, x_966); +lean_ctor_set(x_967, 1, x_965); +x_968 = lean_box(x_3); +x_969 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_969, 0, x_967); +lean_ctor_set(x_969, 1, x_968); +lean_ctor_set(x_953, 0, x_969); +return x_953; +} +else +{ +lean_object* x_970; lean_object* x_971; lean_object* x_972; lean_object* x_973; lean_object* x_974; lean_object* x_975; lean_object* x_976; lean_object* x_977; lean_object* x_978; lean_object* x_979; lean_object* x_980; lean_object* x_981; lean_object* x_982; lean_object* x_983; lean_object* x_984; lean_object* x_985; lean_object* x_986; +x_970 = lean_ctor_get(x_953, 0); +x_971 = lean_ctor_get(x_953, 1); +lean_inc(x_971); +lean_inc(x_970); +lean_dec(x_953); +x_972 = lean_box(0); +x_973 = l_Lean_Elab_Term_toParserDescrAux___main___closed__89; +x_974 = lean_name_mk_numeral(x_973, x_970); +x_975 = l_Lean_Elab_Term_toParserDescrAux___main___closed__88; +x_976 = l_Lean_Elab_Term_toParserDescrAux___main___closed__92; +x_977 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_977, 0, x_972); +lean_ctor_set(x_977, 1, x_975); +lean_ctor_set(x_977, 2, x_974); +lean_ctor_set(x_977, 3, x_976); +x_978 = l_Array_empty___closed__1; +x_979 = lean_array_push(x_978, x_977); +x_980 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_981 = lean_array_push(x_979, x_980); +x_982 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_983 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_983, 0, x_982); +lean_ctor_set(x_983, 1, x_981); +x_984 = lean_box(x_3); +x_985 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_985, 0, x_983); +lean_ctor_set(x_985, 1, x_984); +x_986 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_986, 0, x_985); +lean_ctor_set(x_986, 1, x_971); +return x_986; +} +} +} +else +{ +lean_object* x_987; lean_object* x_988; lean_object* x_989; +lean_dec(x_6); +lean_dec(x_2); +x_987 = lean_unsigned_to_nat(0u); +x_988 = l_Lean_Syntax_getArg(x_1, x_987); +x_989 = l_Lean_Syntax_isStrLit_x3f(x_988); +lean_dec(x_988); +if (lean_obj_tag(x_989) == 0) +{ +lean_object* x_990; uint8_t x_991; +lean_dec(x_4); +lean_dec(x_1); +x_990 = l_Lean_Elab_Term_throwUnsupportedSyntax___rarg(x_5); +x_991 = !lean_is_exclusive(x_990); +if (x_991 == 0) +{ +return x_990; +} +else +{ +lean_object* x_992; lean_object* x_993; lean_object* x_994; +x_992 = lean_ctor_get(x_990, 0); +x_993 = lean_ctor_get(x_990, 1); +lean_inc(x_993); +lean_inc(x_992); +lean_dec(x_990); +x_994 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_994, 0, x_992); +lean_ctor_set(x_994, 1, x_993); +return x_994; +} +} +else +{ +lean_object* x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; uint8_t x_1000; +x_995 = lean_ctor_get(x_989, 0); +lean_inc(x_995); +lean_dec(x_989); +x_996 = lean_unsigned_to_nat(1u); +x_997 = l_Lean_Syntax_getArg(x_1, x_996); +lean_dec(x_1); +x_998 = l___private_Init_Lean_Elab_Syntax_1__getOptNum(x_997); +lean_dec(x_997); +x_999 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5); +lean_dec(x_4); +x_1000 = !lean_is_exclusive(x_999); +if (x_1000 == 0) +{ +lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; +x_1001 = lean_ctor_get(x_999, 0); +x_1002 = lean_box(0); +x_1003 = l_Lean_Elab_Term_toParserDescrAux___main___closed__96; +x_1004 = lean_name_mk_numeral(x_1003, x_1001); +x_1005 = l_Lean_Elab_Term_toParserDescrAux___main___closed__95; +x_1006 = l_Lean_Elab_Term_toParserDescrAux___main___closed__99; +x_1007 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1007, 0, x_1002); +lean_ctor_set(x_1007, 1, x_1005); +lean_ctor_set(x_1007, 2, x_1004); +lean_ctor_set(x_1007, 3, x_1006); +x_1008 = l_Array_empty___closed__1; +x_1009 = lean_array_push(x_1008, x_1007); +x_1010 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1011 = lean_array_push(x_1009, x_1010); +x_1012 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_1013 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1013, 0, x_1012); +lean_ctor_set(x_1013, 1, x_1011); +x_1014 = lean_array_push(x_1008, x_1013); +x_1015 = l_Lean_mkStxStrLit(x_995, x_1002); +x_1016 = l_Lean_mkOptionalNode___closed__1; +x_1017 = lean_array_push(x_1016, x_1015); +x_1018 = l_Lean_Parser_Term_str___elambda__1___closed__2; +x_1019 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1019, 0, x_1018); +lean_ctor_set(x_1019, 1, x_1017); +x_1020 = lean_array_push(x_1014, x_1019); +x_1021 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_1022 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1022, 0, x_1021); +lean_ctor_set(x_1022, 1, x_1020); +x_1023 = lean_array_push(x_1008, x_1022); +x_1024 = l___private_Init_Lean_Elab_Quotation_4__quoteOption___at_Lean_Elab_Term_toParserDescrAux___main___spec__1(x_998); +x_1025 = lean_array_push(x_1023, x_1024); +x_1026 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1026, 0, x_1021); +lean_ctor_set(x_1026, 1, x_1025); +x_1027 = lean_box(x_3); +x_1028 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1028, 0, x_1026); +lean_ctor_set(x_1028, 1, x_1027); +lean_ctor_set(x_999, 0, x_1028); +return x_999; +} +else +{ +lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; lean_object* x_1041; lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; lean_object* x_1058; +x_1029 = lean_ctor_get(x_999, 0); +x_1030 = lean_ctor_get(x_999, 1); +lean_inc(x_1030); +lean_inc(x_1029); +lean_dec(x_999); +x_1031 = lean_box(0); +x_1032 = l_Lean_Elab_Term_toParserDescrAux___main___closed__96; +x_1033 = lean_name_mk_numeral(x_1032, x_1029); +x_1034 = l_Lean_Elab_Term_toParserDescrAux___main___closed__95; +x_1035 = l_Lean_Elab_Term_toParserDescrAux___main___closed__99; +x_1036 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1036, 0, x_1031); +lean_ctor_set(x_1036, 1, x_1034); +lean_ctor_set(x_1036, 2, x_1033); +lean_ctor_set(x_1036, 3, x_1035); +x_1037 = l_Array_empty___closed__1; +x_1038 = lean_array_push(x_1037, x_1036); +x_1039 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1040 = lean_array_push(x_1038, x_1039); +x_1041 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_1042 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1042, 0, x_1041); +lean_ctor_set(x_1042, 1, x_1040); +x_1043 = lean_array_push(x_1037, x_1042); +x_1044 = l_Lean_mkStxStrLit(x_995, x_1031); +x_1045 = l_Lean_mkOptionalNode___closed__1; +x_1046 = lean_array_push(x_1045, x_1044); +x_1047 = l_Lean_Parser_Term_str___elambda__1___closed__2; +x_1048 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1048, 0, x_1047); +lean_ctor_set(x_1048, 1, x_1046); +x_1049 = lean_array_push(x_1043, x_1048); +x_1050 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_1051 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1051, 0, x_1050); +lean_ctor_set(x_1051, 1, x_1049); +x_1052 = lean_array_push(x_1037, x_1051); +x_1053 = l___private_Init_Lean_Elab_Quotation_4__quoteOption___at_Lean_Elab_Term_toParserDescrAux___main___spec__1(x_998); +x_1054 = lean_array_push(x_1052, x_1053); +x_1055 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1055, 0, x_1050); +lean_ctor_set(x_1055, 1, x_1054); +x_1056 = lean_box(x_3); +x_1057 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1057, 0, x_1055); +lean_ctor_set(x_1057, 1, x_1056); +x_1058 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1058, 0, x_1057); +lean_ctor_set(x_1058, 1, x_1030); +return x_1058; +} +} +} +} +else +{ +lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; uint8_t x_1192; +lean_dec(x_6); +x_1059 = lean_unsigned_to_nat(0u); +x_1060 = l_Lean_Syntax_getIdAt(x_1, x_1059); +x_1061 = lean_unsigned_to_nat(1u); +x_1062 = l_Lean_Syntax_getArg(x_1, x_1061); +x_1063 = l___private_Init_Lean_Elab_Syntax_1__getOptNum(x_1062); +x_1064 = l_Lean_Elab_Term_getEnv___rarg(x_5); +x_1065 = lean_ctor_get(x_1064, 0); +lean_inc(x_1065); +x_1066 = lean_ctor_get(x_1064, 1); +lean_inc(x_1066); +lean_dec(x_1064); +x_1192 = l_Lean_Parser_isParserCategory(x_1065, x_1060); +lean_dec(x_1065); +if (x_1192 == 0) +{ +lean_object* x_1193; lean_object* x_1194; lean_object* x_1195; lean_object* x_1196; lean_object* x_1197; lean_object* x_1198; lean_object* x_1199; lean_object* x_1200; uint8_t x_1201; +lean_dec(x_1063); +lean_dec(x_1062); +lean_dec(x_2); +x_1193 = lean_unsigned_to_nat(3u); +x_1194 = l_Lean_Syntax_getArg(x_1, x_1193); +lean_dec(x_1); +x_1195 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_1195, 0, x_1060); +x_1196 = l_Lean_Elab_Term_toParserDescrAux___main___closed__123; +x_1197 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_1197, 0, x_1196); +lean_ctor_set(x_1197, 1, x_1195); +x_1198 = l_Lean_Elab_Term_mkConst___closed__4; +x_1199 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_1199, 0, x_1197); +lean_ctor_set(x_1199, 1, x_1198); +x_1200 = l_Lean_Elab_Term_throwError___rarg(x_1194, x_1199, x_4, x_1066); +lean_dec(x_1194); +x_1201 = !lean_is_exclusive(x_1200); +if (x_1201 == 0) +{ +return x_1200; +} +else +{ +lean_object* x_1202; lean_object* x_1203; lean_object* x_1204; +x_1202 = lean_ctor_get(x_1200, 0); +x_1203 = lean_ctor_get(x_1200, 1); +lean_inc(x_1203); +lean_inc(x_1202); +lean_dec(x_1200); +x_1204 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1204, 0, x_1202); +lean_ctor_set(x_1204, 1, x_1203); +return x_1204; +} +} +else +{ +lean_object* x_1205; lean_object* x_1206; lean_object* x_1207; +x_1205 = lean_box(0); +x_1206 = lean_box(x_3); +x_1207 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1207, 0, x_1205); +lean_ctor_set(x_1207, 1, x_1206); +x_1067 = x_1207; +x_1068 = x_1066; +goto block_1191; +} +block_1191: +{ +lean_object* x_1069; uint8_t x_1070; lean_object* x_1071; lean_object* x_1072; lean_object* x_1073; lean_object* x_1074; lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; +x_1069 = lean_ctor_get(x_1067, 1); +lean_inc(x_1069); +lean_dec(x_1067); +x_1070 = lean_unbox(x_1069); +lean_dec(x_1069); +x_1071 = l___private_Init_Lean_Elab_Syntax_3__getMode(x_2, x_1070, x_4, x_1068); +x_1072 = lean_ctor_get(x_1071, 0); +lean_inc(x_1072); +x_1073 = lean_ctor_get(x_1071, 1); +lean_inc(x_1073); +lean_dec(x_1071); +x_1074 = lean_ctor_get(x_1072, 0); +lean_inc(x_1074); +x_1075 = lean_ctor_get(x_1072, 1); +lean_inc(x_1075); +if (lean_is_exclusive(x_1072)) { + lean_ctor_release(x_1072, 0); + lean_ctor_release(x_1072, 1); + x_1076 = x_1072; +} else { + lean_dec_ref(x_1072); + x_1076 = lean_box(0); +} +switch (lean_obj_tag(x_1074)) { +case 0: +{ +lean_dec(x_1062); +lean_dec(x_1); +if (lean_obj_tag(x_1063) == 0) +{ +x_1077 = x_1059; +goto block_1140; +} +else +{ +lean_object* x_1141; +x_1141 = lean_ctor_get(x_1063, 0); +lean_inc(x_1141); +lean_dec(x_1063); +x_1077 = x_1141; +goto block_1140; +} +} +case 1: +{ +lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; lean_object* x_1145; lean_object* x_1146; lean_object* x_1147; lean_object* x_1148; lean_object* x_1149; uint8_t x_1150; +lean_dec(x_1076); +lean_dec(x_1075); +lean_dec(x_1063); +lean_dec(x_1062); +x_1142 = lean_unsigned_to_nat(3u); +x_1143 = l_Lean_Syntax_getArg(x_1, x_1142); +lean_dec(x_1); +x_1144 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_1144, 0, x_1060); +x_1145 = l_Lean_Elab_Term_toParserDescrAux___main___closed__109; +x_1146 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_1146, 0, x_1145); +lean_ctor_set(x_1146, 1, x_1144); +x_1147 = l_Lean_Elab_Term_toParserDescrAux___main___closed__112; +x_1148 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_1148, 0, x_1146); +lean_ctor_set(x_1148, 1, x_1147); +x_1149 = l_Lean_Elab_Term_throwError___rarg(x_1143, x_1148, x_4, x_1073); +lean_dec(x_1143); +x_1150 = !lean_is_exclusive(x_1149); +if (x_1150 == 0) +{ +return x_1149; +} +else +{ +lean_object* x_1151; lean_object* x_1152; lean_object* x_1153; +x_1151 = lean_ctor_get(x_1149, 0); +x_1152 = lean_ctor_get(x_1149, 1); +lean_inc(x_1152); +lean_inc(x_1151); +lean_dec(x_1149); +x_1153 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1153, 0, x_1151); +lean_ctor_set(x_1153, 1, x_1152); +return x_1153; +} +} +default: +{ +lean_object* x_1154; uint8_t x_1155; +lean_dec(x_1076); +lean_dec(x_1075); +x_1154 = lean_ctor_get(x_1074, 0); +lean_inc(x_1154); +lean_dec(x_1074); +x_1155 = lean_name_eq(x_1060, x_1154); +if (x_1155 == 0) +{ +lean_object* x_1156; lean_object* x_1157; lean_object* x_1158; lean_object* x_1159; lean_object* x_1160; lean_object* x_1161; lean_object* x_1162; lean_object* x_1163; lean_object* x_1164; lean_object* x_1165; lean_object* x_1166; lean_object* x_1167; uint8_t x_1168; +lean_dec(x_1063); +lean_dec(x_1062); +x_1156 = lean_unsigned_to_nat(3u); +x_1157 = l_Lean_Syntax_getArg(x_1, x_1156); +lean_dec(x_1); +x_1158 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_1158, 0, x_1060); +x_1159 = l_Lean_Elab_Term_toParserDescrAux___main___closed__109; +x_1160 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_1160, 0, x_1159); +lean_ctor_set(x_1160, 1, x_1158); +x_1161 = l_Lean_Elab_Term_toParserDescrAux___main___closed__114; +x_1162 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_1162, 0, x_1160); +lean_ctor_set(x_1162, 1, x_1161); +x_1163 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_1163, 0, x_1154); +x_1164 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_1164, 0, x_1162); +lean_ctor_set(x_1164, 1, x_1163); +x_1165 = l_Lean_Elab_Term_toParserDescrAux___main___closed__117; +x_1166 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_1166, 0, x_1164); +lean_ctor_set(x_1166, 1, x_1165); +x_1167 = l_Lean_Elab_Term_throwError___rarg(x_1157, x_1166, x_4, x_1073); +lean_dec(x_1157); +x_1168 = !lean_is_exclusive(x_1167); +if (x_1168 == 0) +{ +return x_1167; +} +else +{ +lean_object* x_1169; lean_object* x_1170; lean_object* x_1171; +x_1169 = lean_ctor_get(x_1167, 0); +x_1170 = lean_ctor_get(x_1167, 1); +lean_inc(x_1170); +lean_inc(x_1169); +lean_dec(x_1167); +x_1171 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1171, 0, x_1169); +lean_ctor_set(x_1171, 1, x_1170); +return x_1171; +} +} +else +{ +lean_dec(x_1154); +lean_dec(x_1060); +lean_dec(x_1); +if (lean_obj_tag(x_1063) == 0) +{ +lean_object* x_1172; lean_object* x_1173; lean_object* x_1174; uint8_t x_1175; +lean_dec(x_1062); +x_1172 = l___private_Init_Lean_Elab_Syntax_4__markAsTrailingParser___rarg(x_1073); +x_1173 = lean_ctor_get(x_1172, 0); +lean_inc(x_1173); +x_1174 = lean_ctor_get(x_1172, 1); +lean_inc(x_1174); +lean_dec(x_1172); +x_1175 = !lean_is_exclusive(x_1173); +if (x_1175 == 0) +{ +lean_object* x_1176; lean_object* x_1177; lean_object* x_1178; lean_object* x_1179; +x_1176 = lean_ctor_get(x_1173, 0); +lean_dec(x_1176); +x_1177 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_1174); +lean_dec(x_4); +x_1178 = lean_ctor_get(x_1177, 0); +lean_inc(x_1178); +x_1179 = lean_ctor_get(x_1177, 1); +lean_inc(x_1179); +lean_dec(x_1177); +lean_ctor_set(x_1173, 0, x_1178); +x_646 = x_1173; +x_647 = x_1179; +goto block_679; +} +else +{ +lean_object* x_1180; lean_object* x_1181; lean_object* x_1182; lean_object* x_1183; lean_object* x_1184; +x_1180 = lean_ctor_get(x_1173, 1); +lean_inc(x_1180); +lean_dec(x_1173); +x_1181 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_1174); +lean_dec(x_4); +x_1182 = lean_ctor_get(x_1181, 0); +lean_inc(x_1182); +x_1183 = lean_ctor_get(x_1181, 1); +lean_inc(x_1183); +lean_dec(x_1181); +x_1184 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1184, 0, x_1182); +lean_ctor_set(x_1184, 1, x_1180); +x_646 = x_1184; +x_647 = x_1183; +goto block_679; +} +} +else +{ +lean_object* x_1185; lean_object* x_1186; uint8_t x_1187; +lean_dec(x_1063); +x_1185 = l_Lean_Elab_Term_toParserDescrAux___main___closed__120; +x_1186 = l_Lean_Elab_Term_throwError___rarg(x_1062, x_1185, x_4, x_1073); +lean_dec(x_1062); +x_1187 = !lean_is_exclusive(x_1186); +if (x_1187 == 0) +{ +return x_1186; +} +else +{ +lean_object* x_1188; lean_object* x_1189; lean_object* x_1190; +x_1188 = lean_ctor_get(x_1186, 0); +x_1189 = lean_ctor_get(x_1186, 1); +lean_inc(x_1189); +lean_inc(x_1188); +lean_dec(x_1186); +x_1190 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1190, 0, x_1188); +lean_ctor_set(x_1190, 1, x_1189); +return x_1190; +} +} +} +} +} +block_1140: +{ +lean_object* x_1078; uint8_t x_1079; +x_1078 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_1073); +lean_dec(x_4); +x_1079 = !lean_is_exclusive(x_1078); +if (x_1079 == 0) +{ +lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; lean_object* x_1088; lean_object* x_1089; lean_object* x_1090; lean_object* x_1091; lean_object* x_1092; lean_object* x_1093; lean_object* x_1094; lean_object* x_1095; lean_object* x_1096; lean_object* x_1097; lean_object* x_1098; lean_object* x_1099; lean_object* x_1100; lean_object* x_1101; lean_object* x_1102; lean_object* x_1103; lean_object* x_1104; lean_object* x_1105; lean_object* x_1106; lean_object* x_1107; lean_object* x_1108; +x_1080 = lean_ctor_get(x_1078, 0); +x_1081 = lean_box(0); +x_1082 = l_Lean_Elab_Term_toParserDescrAux___main___closed__103; +x_1083 = lean_name_mk_numeral(x_1082, x_1080); +x_1084 = l_Lean_Elab_Term_toParserDescrAux___main___closed__102; +x_1085 = l_Lean_Elab_Term_toParserDescrAux___main___closed__106; +x_1086 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1086, 0, x_1081); +lean_ctor_set(x_1086, 1, x_1084); +lean_ctor_set(x_1086, 2, x_1083); +lean_ctor_set(x_1086, 3, x_1085); +x_1087 = l_Array_empty___closed__1; +x_1088 = lean_array_push(x_1087, x_1086); +x_1089 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1090 = lean_array_push(x_1088, x_1089); +x_1091 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_1092 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1092, 0, x_1091); +lean_ctor_set(x_1092, 1, x_1090); +x_1093 = lean_array_push(x_1087, x_1092); +x_1094 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_1060); +x_1095 = lean_array_push(x_1093, x_1094); +x_1096 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_1097 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1097, 0, x_1096); +lean_ctor_set(x_1097, 1, x_1095); +x_1098 = lean_array_push(x_1087, x_1097); +x_1099 = l_Nat_repr(x_1077); +x_1100 = l_Lean_numLitKind; +x_1101 = l_Lean_mkStxLit(x_1100, x_1099, x_1081); +x_1102 = l_Lean_mkOptionalNode___closed__1; +x_1103 = lean_array_push(x_1102, x_1101); +x_1104 = l_Lean_Parser_Term_num___elambda__1___closed__1; +x_1105 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1105, 0, x_1104); +lean_ctor_set(x_1105, 1, x_1103); +x_1106 = lean_array_push(x_1098, x_1105); +x_1107 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1107, 0, x_1096); +lean_ctor_set(x_1107, 1, x_1106); +if (lean_is_scalar(x_1076)) { + x_1108 = lean_alloc_ctor(0, 2, 0); +} else { + x_1108 = x_1076; +} +lean_ctor_set(x_1108, 0, x_1107); +lean_ctor_set(x_1108, 1, x_1075); +lean_ctor_set(x_1078, 0, x_1108); +return x_1078; +} +else +{ +lean_object* x_1109; lean_object* x_1110; lean_object* x_1111; lean_object* x_1112; lean_object* x_1113; lean_object* x_1114; lean_object* x_1115; lean_object* x_1116; lean_object* x_1117; lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; lean_object* x_1121; lean_object* x_1122; lean_object* x_1123; lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; lean_object* x_1127; lean_object* x_1128; lean_object* x_1129; lean_object* x_1130; lean_object* x_1131; lean_object* x_1132; lean_object* x_1133; lean_object* x_1134; lean_object* x_1135; lean_object* x_1136; lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; +x_1109 = lean_ctor_get(x_1078, 0); +x_1110 = lean_ctor_get(x_1078, 1); +lean_inc(x_1110); +lean_inc(x_1109); +lean_dec(x_1078); +x_1111 = lean_box(0); +x_1112 = l_Lean_Elab_Term_toParserDescrAux___main___closed__103; +x_1113 = lean_name_mk_numeral(x_1112, x_1109); +x_1114 = l_Lean_Elab_Term_toParserDescrAux___main___closed__102; +x_1115 = l_Lean_Elab_Term_toParserDescrAux___main___closed__106; +x_1116 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1116, 0, x_1111); +lean_ctor_set(x_1116, 1, x_1114); +lean_ctor_set(x_1116, 2, x_1113); +lean_ctor_set(x_1116, 3, x_1115); +x_1117 = l_Array_empty___closed__1; +x_1118 = lean_array_push(x_1117, x_1116); +x_1119 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1120 = lean_array_push(x_1118, x_1119); +x_1121 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_1122 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1122, 0, x_1121); +lean_ctor_set(x_1122, 1, x_1120); +x_1123 = lean_array_push(x_1117, x_1122); +x_1124 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_1060); +x_1125 = lean_array_push(x_1123, x_1124); +x_1126 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_1127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1127, 0, x_1126); +lean_ctor_set(x_1127, 1, x_1125); +x_1128 = lean_array_push(x_1117, x_1127); +x_1129 = l_Nat_repr(x_1077); +x_1130 = l_Lean_numLitKind; +x_1131 = l_Lean_mkStxLit(x_1130, x_1129, x_1111); +x_1132 = l_Lean_mkOptionalNode___closed__1; +x_1133 = lean_array_push(x_1132, x_1131); +x_1134 = l_Lean_Parser_Term_num___elambda__1___closed__1; +x_1135 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1135, 0, x_1134); +lean_ctor_set(x_1135, 1, x_1133); +x_1136 = lean_array_push(x_1128, x_1135); +x_1137 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1137, 0, x_1126); +lean_ctor_set(x_1137, 1, x_1136); +if (lean_is_scalar(x_1076)) { + x_1138 = lean_alloc_ctor(0, 2, 0); +} else { + x_1138 = x_1076; +} +lean_ctor_set(x_1138, 0, x_1137); +lean_ctor_set(x_1138, 1, x_1075); +x_1139 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1139, 0, x_1138); +lean_ctor_set(x_1139, 1, x_1110); +return x_1139; +} +} +} +} +} +else +{ +lean_object* x_1208; lean_object* x_1209; +lean_dec(x_6); +x_1208 = lean_unsigned_to_nat(1u); +x_1209 = l_Lean_Syntax_getArg(x_1, x_1208); +lean_dec(x_1); +x_1 = x_1209; +goto _start; +} +block_110: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_91; lean_object* x_92; +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_11, 1); +lean_inc(x_14); +lean_dec(x_11); +x_91 = lean_unsigned_to_nat(2u); +x_92 = l_Lean_Syntax_getArg(x_1, x_91); +lean_dec(x_1); +if (lean_obj_tag(x_2) == 2) +{ +lean_object* x_93; uint8_t x_94; lean_object* x_95; +lean_dec(x_2); +x_93 = lean_box(1); +x_94 = lean_unbox(x_14); +lean_dec(x_14); +lean_inc(x_4); +x_95 = l_Lean_Elab_Term_toParserDescrAux___main(x_92, x_93, x_94, x_4, x_12); +if (lean_obj_tag(x_95) == 0) +{ +lean_object* x_96; lean_object* x_97; +x_96 = lean_ctor_get(x_95, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_95, 1); +lean_inc(x_97); +lean_dec(x_95); +x_15 = x_96; +x_16 = x_97; +goto block_90; +} +else +{ +uint8_t x_98; +lean_dec(x_13); +lean_dec(x_4); +x_98 = !lean_is_exclusive(x_95); +if (x_98 == 0) +{ +return x_95; +} +else +{ +lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_99 = lean_ctor_get(x_95, 0); +x_100 = lean_ctor_get(x_95, 1); +lean_inc(x_100); +lean_inc(x_99); +lean_dec(x_95); +x_101 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_101, 0, x_99); +lean_ctor_set(x_101, 1, x_100); +return x_101; +} +} +} +else +{ +uint8_t x_102; lean_object* x_103; +x_102 = lean_unbox(x_14); +lean_dec(x_14); +lean_inc(x_4); +x_103 = l_Lean_Elab_Term_toParserDescrAux___main(x_92, x_2, x_102, x_4, x_12); +if (lean_obj_tag(x_103) == 0) +{ +lean_object* x_104; lean_object* x_105; +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_103, 1); +lean_inc(x_105); +lean_dec(x_103); +x_15 = x_104; +x_16 = x_105; +goto block_90; +} +else +{ +uint8_t x_106; +lean_dec(x_13); +lean_dec(x_4); +x_106 = !lean_is_exclusive(x_103); +if (x_106 == 0) +{ +return x_103; +} +else +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; +x_107 = lean_ctor_get(x_103, 0); +x_108 = lean_ctor_get(x_103, 1); +lean_inc(x_108); +lean_inc(x_107); +lean_dec(x_103); +x_109 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_109, 0, x_107); +lean_ctor_set(x_109, 1, x_108); +return x_109; +} +} +} +block_90: +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_15); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_18 = lean_ctor_get(x_15, 0); +x_19 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_16); +lean_dec(x_4); +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; 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_21 = lean_ctor_get(x_19, 0); +x_22 = lean_box(0); +x_23 = l_Lean_Elab_Term_toParserDescrAux___main___closed__4; +x_24 = lean_name_mk_numeral(x_23, x_21); +x_25 = l_Lean_Elab_Term_toParserDescrAux___main___closed__3; +x_26 = l_Lean_Elab_Term_toParserDescrAux___main___closed__7; +x_27 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_27, 0, x_22); +lean_ctor_set(x_27, 1, x_25); +lean_ctor_set(x_27, 2, x_24); +lean_ctor_set(x_27, 3, x_26); +x_28 = l_Array_empty___closed__1; +x_29 = lean_array_push(x_28, x_27); +x_30 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_31 = lean_array_push(x_29, x_30); +x_32 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +x_34 = lean_array_push(x_28, x_33); +x_35 = lean_array_push(x_34, x_13); +x_36 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_35); +x_38 = lean_array_push(x_28, x_37); +x_39 = lean_array_push(x_38, x_18); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_36); +lean_ctor_set(x_40, 1, x_39); +lean_ctor_set(x_15, 0, x_40); +lean_ctor_set(x_19, 0, x_15); +return x_19; +} +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; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_41 = lean_ctor_get(x_19, 0); +x_42 = lean_ctor_get(x_19, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_19); +x_43 = lean_box(0); +x_44 = l_Lean_Elab_Term_toParserDescrAux___main___closed__4; +x_45 = lean_name_mk_numeral(x_44, x_41); +x_46 = l_Lean_Elab_Term_toParserDescrAux___main___closed__3; +x_47 = l_Lean_Elab_Term_toParserDescrAux___main___closed__7; +x_48 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_48, 0, x_43); +lean_ctor_set(x_48, 1, x_46); +lean_ctor_set(x_48, 2, x_45); +lean_ctor_set(x_48, 3, x_47); +x_49 = l_Array_empty___closed__1; +x_50 = lean_array_push(x_49, x_48); +x_51 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_52 = lean_array_push(x_50, x_51); +x_53 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_52); +x_55 = lean_array_push(x_49, x_54); +x_56 = lean_array_push(x_55, x_13); +x_57 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_56); +x_59 = lean_array_push(x_49, x_58); +x_60 = lean_array_push(x_59, x_18); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_57); +lean_ctor_set(x_61, 1, x_60); +lean_ctor_set(x_15, 0, x_61); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_15); +lean_ctor_set(x_62, 1, x_42); +return x_62; +} +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; 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_63 = lean_ctor_get(x_15, 0); +x_64 = lean_ctor_get(x_15, 1); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_15); +x_65 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_16); +lean_dec(x_4); +x_66 = lean_ctor_get(x_65, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_65, 1); +lean_inc(x_67); +if (lean_is_exclusive(x_65)) { + lean_ctor_release(x_65, 0); + lean_ctor_release(x_65, 1); + x_68 = x_65; +} else { + lean_dec_ref(x_65); + x_68 = lean_box(0); +} +x_69 = lean_box(0); +x_70 = l_Lean_Elab_Term_toParserDescrAux___main___closed__4; +x_71 = lean_name_mk_numeral(x_70, x_66); +x_72 = l_Lean_Elab_Term_toParserDescrAux___main___closed__3; +x_73 = l_Lean_Elab_Term_toParserDescrAux___main___closed__7; +x_74 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_74, 0, x_69); +lean_ctor_set(x_74, 1, x_72); +lean_ctor_set(x_74, 2, x_71); +lean_ctor_set(x_74, 3, x_73); +x_75 = l_Array_empty___closed__1; +x_76 = lean_array_push(x_75, x_74); +x_77 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_78 = lean_array_push(x_76, x_77); +x_79 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_78); +x_81 = lean_array_push(x_75, x_80); +x_82 = lean_array_push(x_81, x_13); +x_83 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_84, 1, x_82); +x_85 = lean_array_push(x_75, x_84); +x_86 = lean_array_push(x_85, x_63); +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_83); +lean_ctor_set(x_87, 1, x_86); +x_88 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_88, 0, x_87); +lean_ctor_set(x_88, 1, x_64); +if (lean_is_scalar(x_68)) { + x_89 = lean_alloc_ctor(0, 2, 0); +} else { + x_89 = x_68; +} +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_89, 1, x_67); +return x_89; +} +} +} +block_177: +{ +uint8_t x_113; +x_113 = !lean_is_exclusive(x_111); +if (x_113 == 0) +{ +lean_object* x_114; lean_object* x_115; uint8_t x_116; +x_114 = lean_ctor_get(x_111, 0); +x_115 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_112); +lean_dec(x_4); +x_116 = !lean_is_exclusive(x_115); +if (x_116 == 0) +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; +x_117 = lean_ctor_get(x_115, 0); +x_118 = lean_box(0); +x_119 = l_Lean_Elab_Term_toParserDescrAux___main___closed__11; +x_120 = lean_name_mk_numeral(x_119, x_117); +x_121 = l_Lean_Elab_Term_toParserDescrAux___main___closed__10; +x_122 = l_Lean_Elab_Term_toParserDescrAux___main___closed__14; +x_123 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_123, 0, x_118); +lean_ctor_set(x_123, 1, x_121); +lean_ctor_set(x_123, 2, x_120); +lean_ctor_set(x_123, 3, x_122); +x_124 = l_Array_empty___closed__1; +x_125 = lean_array_push(x_124, x_123); +x_126 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_127 = lean_array_push(x_125, x_126); +x_128 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_127); +x_130 = lean_array_push(x_124, x_129); +x_131 = lean_array_push(x_130, x_114); +x_132 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_133 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_133, 0, x_132); +lean_ctor_set(x_133, 1, x_131); +lean_ctor_set(x_111, 0, x_133); +lean_ctor_set(x_115, 0, x_111); +return x_115; +} +else +{ +lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; +x_134 = lean_ctor_get(x_115, 0); +x_135 = lean_ctor_get(x_115, 1); +lean_inc(x_135); +lean_inc(x_134); +lean_dec(x_115); +x_136 = lean_box(0); +x_137 = l_Lean_Elab_Term_toParserDescrAux___main___closed__11; +x_138 = lean_name_mk_numeral(x_137, x_134); +x_139 = l_Lean_Elab_Term_toParserDescrAux___main___closed__10; +x_140 = l_Lean_Elab_Term_toParserDescrAux___main___closed__14; +x_141 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_141, 0, x_136); +lean_ctor_set(x_141, 1, x_139); +lean_ctor_set(x_141, 2, x_138); +lean_ctor_set(x_141, 3, x_140); +x_142 = l_Array_empty___closed__1; +x_143 = lean_array_push(x_142, x_141); +x_144 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_145 = lean_array_push(x_143, x_144); +x_146 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_147 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_147, 0, x_146); +lean_ctor_set(x_147, 1, x_145); +x_148 = lean_array_push(x_142, x_147); +x_149 = lean_array_push(x_148, x_114); +x_150 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_151 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_151, 0, x_150); +lean_ctor_set(x_151, 1, x_149); +lean_ctor_set(x_111, 0, x_151); +x_152 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_152, 0, x_111); +lean_ctor_set(x_152, 1, x_135); +return x_152; +} +} +else +{ +lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; +x_153 = lean_ctor_get(x_111, 0); +x_154 = lean_ctor_get(x_111, 1); +lean_inc(x_154); +lean_inc(x_153); +lean_dec(x_111); +x_155 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_112); +lean_dec(x_4); +x_156 = lean_ctor_get(x_155, 0); +lean_inc(x_156); +x_157 = lean_ctor_get(x_155, 1); +lean_inc(x_157); +if (lean_is_exclusive(x_155)) { + lean_ctor_release(x_155, 0); + lean_ctor_release(x_155, 1); + x_158 = x_155; +} else { + lean_dec_ref(x_155); + x_158 = lean_box(0); +} +x_159 = lean_box(0); +x_160 = l_Lean_Elab_Term_toParserDescrAux___main___closed__11; +x_161 = lean_name_mk_numeral(x_160, x_156); +x_162 = l_Lean_Elab_Term_toParserDescrAux___main___closed__10; +x_163 = l_Lean_Elab_Term_toParserDescrAux___main___closed__14; +x_164 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_164, 0, x_159); +lean_ctor_set(x_164, 1, x_162); +lean_ctor_set(x_164, 2, x_161); +lean_ctor_set(x_164, 3, x_163); +x_165 = l_Array_empty___closed__1; +x_166 = lean_array_push(x_165, x_164); +x_167 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_168 = lean_array_push(x_166, x_167); +x_169 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_170 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_170, 0, x_169); +lean_ctor_set(x_170, 1, x_168); +x_171 = lean_array_push(x_165, x_170); +x_172 = lean_array_push(x_171, x_153); +x_173 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_174 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_174, 0, x_173); +lean_ctor_set(x_174, 1, x_172); +x_175 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_175, 0, x_174); +lean_ctor_set(x_175, 1, x_154); +if (lean_is_scalar(x_158)) { + x_176 = lean_alloc_ctor(0, 2, 0); +} else { + x_176 = x_158; +} +lean_ctor_set(x_176, 0, x_175); +lean_ctor_set(x_176, 1, x_157); +return x_176; +} +} +block_244: +{ +uint8_t x_180; +x_180 = !lean_is_exclusive(x_178); +if (x_180 == 0) +{ +lean_object* x_181; lean_object* x_182; uint8_t x_183; +x_181 = lean_ctor_get(x_178, 0); +x_182 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_179); +lean_dec(x_4); +x_183 = !lean_is_exclusive(x_182); +if (x_183 == 0) +{ +lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; +x_184 = lean_ctor_get(x_182, 0); +x_185 = lean_box(0); +x_186 = l_Lean_Elab_Term_toParserDescrAux___main___closed__18; +x_187 = lean_name_mk_numeral(x_186, x_184); +x_188 = l_Lean_Elab_Term_toParserDescrAux___main___closed__17; +x_189 = l_Lean_Elab_Term_toParserDescrAux___main___closed__21; +x_190 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_190, 0, x_185); +lean_ctor_set(x_190, 1, x_188); +lean_ctor_set(x_190, 2, x_187); +lean_ctor_set(x_190, 3, x_189); +x_191 = l_Array_empty___closed__1; +x_192 = lean_array_push(x_191, x_190); +x_193 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_194 = lean_array_push(x_192, x_193); +x_195 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_196 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_196, 0, x_195); +lean_ctor_set(x_196, 1, x_194); +x_197 = lean_array_push(x_191, x_196); +x_198 = lean_array_push(x_197, x_181); +x_199 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_200 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_200, 0, x_199); +lean_ctor_set(x_200, 1, x_198); +lean_ctor_set(x_178, 0, x_200); +lean_ctor_set(x_182, 0, x_178); +return x_182; +} +else +{ +lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; +x_201 = lean_ctor_get(x_182, 0); +x_202 = lean_ctor_get(x_182, 1); +lean_inc(x_202); +lean_inc(x_201); +lean_dec(x_182); +x_203 = lean_box(0); +x_204 = l_Lean_Elab_Term_toParserDescrAux___main___closed__18; +x_205 = lean_name_mk_numeral(x_204, x_201); +x_206 = l_Lean_Elab_Term_toParserDescrAux___main___closed__17; +x_207 = l_Lean_Elab_Term_toParserDescrAux___main___closed__21; +x_208 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_208, 0, x_203); +lean_ctor_set(x_208, 1, x_206); +lean_ctor_set(x_208, 2, x_205); +lean_ctor_set(x_208, 3, x_207); +x_209 = l_Array_empty___closed__1; +x_210 = lean_array_push(x_209, x_208); +x_211 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_212 = lean_array_push(x_210, x_211); +x_213 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_214 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_214, 0, x_213); +lean_ctor_set(x_214, 1, x_212); +x_215 = lean_array_push(x_209, x_214); +x_216 = lean_array_push(x_215, x_181); +x_217 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_218 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_218, 0, x_217); +lean_ctor_set(x_218, 1, x_216); +lean_ctor_set(x_178, 0, x_218); +x_219 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_219, 0, x_178); +lean_ctor_set(x_219, 1, x_202); +return x_219; +} +} +else +{ +lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; +x_220 = lean_ctor_get(x_178, 0); +x_221 = lean_ctor_get(x_178, 1); +lean_inc(x_221); +lean_inc(x_220); +lean_dec(x_178); +x_222 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_179); +lean_dec(x_4); +x_223 = lean_ctor_get(x_222, 0); +lean_inc(x_223); +x_224 = lean_ctor_get(x_222, 1); +lean_inc(x_224); +if (lean_is_exclusive(x_222)) { + lean_ctor_release(x_222, 0); + lean_ctor_release(x_222, 1); + x_225 = x_222; +} else { + lean_dec_ref(x_222); + x_225 = lean_box(0); +} +x_226 = lean_box(0); +x_227 = l_Lean_Elab_Term_toParserDescrAux___main___closed__18; +x_228 = lean_name_mk_numeral(x_227, x_223); +x_229 = l_Lean_Elab_Term_toParserDescrAux___main___closed__17; +x_230 = l_Lean_Elab_Term_toParserDescrAux___main___closed__21; +x_231 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_231, 0, x_226); +lean_ctor_set(x_231, 1, x_229); +lean_ctor_set(x_231, 2, x_228); +lean_ctor_set(x_231, 3, x_230); +x_232 = l_Array_empty___closed__1; +x_233 = lean_array_push(x_232, x_231); +x_234 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_235 = lean_array_push(x_233, x_234); +x_236 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_237 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_237, 0, x_236); +lean_ctor_set(x_237, 1, x_235); +x_238 = lean_array_push(x_232, x_237); +x_239 = lean_array_push(x_238, x_220); +x_240 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_241 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_241, 0, x_240); +lean_ctor_set(x_241, 1, x_239); +x_242 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_242, 0, x_241); +lean_ctor_set(x_242, 1, x_221); +if (lean_is_scalar(x_225)) { + x_243 = lean_alloc_ctor(0, 2, 0); +} else { + x_243 = x_225; +} +lean_ctor_set(x_243, 0, x_242); +lean_ctor_set(x_243, 1, x_224); +return x_243; +} +} +block_344: +{ +lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_325; lean_object* x_326; +x_247 = lean_ctor_get(x_245, 0); +lean_inc(x_247); +x_248 = lean_ctor_get(x_245, 1); +lean_inc(x_248); +lean_dec(x_245); +x_325 = lean_unsigned_to_nat(2u); +x_326 = l_Lean_Syntax_getArg(x_1, x_325); +lean_dec(x_1); +if (lean_obj_tag(x_2) == 2) +{ +lean_object* x_327; uint8_t x_328; lean_object* x_329; +lean_dec(x_2); +x_327 = lean_box(1); +x_328 = lean_unbox(x_248); +lean_dec(x_248); +lean_inc(x_4); +x_329 = l_Lean_Elab_Term_toParserDescrAux___main(x_326, x_327, x_328, x_4, x_246); +if (lean_obj_tag(x_329) == 0) +{ +lean_object* x_330; lean_object* x_331; +x_330 = lean_ctor_get(x_329, 0); +lean_inc(x_330); +x_331 = lean_ctor_get(x_329, 1); +lean_inc(x_331); +lean_dec(x_329); +x_249 = x_330; +x_250 = x_331; +goto block_324; +} +else +{ +uint8_t x_332; +lean_dec(x_247); +lean_dec(x_4); +x_332 = !lean_is_exclusive(x_329); +if (x_332 == 0) +{ +return x_329; +} +else +{ +lean_object* x_333; lean_object* x_334; lean_object* x_335; +x_333 = lean_ctor_get(x_329, 0); +x_334 = lean_ctor_get(x_329, 1); +lean_inc(x_334); +lean_inc(x_333); +lean_dec(x_329); +x_335 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_335, 0, x_333); +lean_ctor_set(x_335, 1, x_334); +return x_335; +} +} +} +else +{ +uint8_t x_336; lean_object* x_337; +x_336 = lean_unbox(x_248); +lean_dec(x_248); +lean_inc(x_4); +x_337 = l_Lean_Elab_Term_toParserDescrAux___main(x_326, x_2, x_336, x_4, x_246); +if (lean_obj_tag(x_337) == 0) +{ +lean_object* x_338; lean_object* x_339; +x_338 = lean_ctor_get(x_337, 0); +lean_inc(x_338); +x_339 = lean_ctor_get(x_337, 1); +lean_inc(x_339); +lean_dec(x_337); +x_249 = x_338; +x_250 = x_339; +goto block_324; +} +else +{ +uint8_t x_340; +lean_dec(x_247); +lean_dec(x_4); +x_340 = !lean_is_exclusive(x_337); +if (x_340 == 0) +{ +return x_337; +} +else +{ +lean_object* x_341; lean_object* x_342; lean_object* x_343; +x_341 = lean_ctor_get(x_337, 0); +x_342 = lean_ctor_get(x_337, 1); +lean_inc(x_342); +lean_inc(x_341); +lean_dec(x_337); +x_343 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_343, 0, x_341); +lean_ctor_set(x_343, 1, x_342); +return x_343; +} +} +} +block_324: +{ +uint8_t x_251; +x_251 = !lean_is_exclusive(x_249); +if (x_251 == 0) +{ +lean_object* x_252; lean_object* x_253; uint8_t x_254; +x_252 = lean_ctor_get(x_249, 0); +x_253 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_250); +lean_dec(x_4); +x_254 = !lean_is_exclusive(x_253); +if (x_254 == 0) +{ +lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; +x_255 = lean_ctor_get(x_253, 0); +x_256 = lean_box(0); +x_257 = l_Lean_Elab_Term_toParserDescrAux___main___closed__25; +x_258 = lean_name_mk_numeral(x_257, x_255); +x_259 = l_Lean_Elab_Term_toParserDescrAux___main___closed__24; +x_260 = l_Lean_Elab_Term_toParserDescrAux___main___closed__28; +x_261 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_261, 0, x_256); +lean_ctor_set(x_261, 1, x_259); +lean_ctor_set(x_261, 2, x_258); +lean_ctor_set(x_261, 3, x_260); +x_262 = l_Array_empty___closed__1; +x_263 = lean_array_push(x_262, x_261); +x_264 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_265 = lean_array_push(x_263, x_264); +x_266 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_267 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_267, 0, x_266); +lean_ctor_set(x_267, 1, x_265); +x_268 = lean_array_push(x_262, x_267); +x_269 = lean_array_push(x_268, x_247); +x_270 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_271 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_271, 0, x_270); +lean_ctor_set(x_271, 1, x_269); +x_272 = lean_array_push(x_262, x_271); +x_273 = lean_array_push(x_272, x_252); +x_274 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_274, 0, x_270); +lean_ctor_set(x_274, 1, x_273); +lean_ctor_set(x_249, 0, x_274); +lean_ctor_set(x_253, 0, x_249); +return x_253; +} +else +{ +lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; +x_275 = lean_ctor_get(x_253, 0); +x_276 = lean_ctor_get(x_253, 1); +lean_inc(x_276); +lean_inc(x_275); +lean_dec(x_253); +x_277 = lean_box(0); +x_278 = l_Lean_Elab_Term_toParserDescrAux___main___closed__25; +x_279 = lean_name_mk_numeral(x_278, x_275); +x_280 = l_Lean_Elab_Term_toParserDescrAux___main___closed__24; +x_281 = l_Lean_Elab_Term_toParserDescrAux___main___closed__28; +x_282 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_282, 0, x_277); +lean_ctor_set(x_282, 1, x_280); +lean_ctor_set(x_282, 2, x_279); +lean_ctor_set(x_282, 3, x_281); +x_283 = l_Array_empty___closed__1; +x_284 = lean_array_push(x_283, x_282); +x_285 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_286 = lean_array_push(x_284, x_285); +x_287 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_288 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_288, 0, x_287); +lean_ctor_set(x_288, 1, x_286); +x_289 = lean_array_push(x_283, x_288); +x_290 = lean_array_push(x_289, x_247); +x_291 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_292 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_292, 0, x_291); +lean_ctor_set(x_292, 1, x_290); +x_293 = lean_array_push(x_283, x_292); +x_294 = lean_array_push(x_293, x_252); +x_295 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_295, 0, x_291); +lean_ctor_set(x_295, 1, x_294); +lean_ctor_set(x_249, 0, x_295); +x_296 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_296, 0, x_249); +lean_ctor_set(x_296, 1, x_276); +return x_296; +} +} +else +{ +lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; +x_297 = lean_ctor_get(x_249, 0); +x_298 = lean_ctor_get(x_249, 1); +lean_inc(x_298); +lean_inc(x_297); +lean_dec(x_249); +x_299 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_250); +lean_dec(x_4); +x_300 = lean_ctor_get(x_299, 0); +lean_inc(x_300); +x_301 = lean_ctor_get(x_299, 1); +lean_inc(x_301); +if (lean_is_exclusive(x_299)) { + lean_ctor_release(x_299, 0); + lean_ctor_release(x_299, 1); + x_302 = x_299; +} else { + lean_dec_ref(x_299); + x_302 = lean_box(0); +} +x_303 = lean_box(0); +x_304 = l_Lean_Elab_Term_toParserDescrAux___main___closed__25; +x_305 = lean_name_mk_numeral(x_304, x_300); +x_306 = l_Lean_Elab_Term_toParserDescrAux___main___closed__24; +x_307 = l_Lean_Elab_Term_toParserDescrAux___main___closed__28; +x_308 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_308, 0, x_303); +lean_ctor_set(x_308, 1, x_306); +lean_ctor_set(x_308, 2, x_305); +lean_ctor_set(x_308, 3, x_307); +x_309 = l_Array_empty___closed__1; +x_310 = lean_array_push(x_309, x_308); +x_311 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_312 = lean_array_push(x_310, x_311); +x_313 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_314 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_314, 0, x_313); +lean_ctor_set(x_314, 1, x_312); +x_315 = lean_array_push(x_309, x_314); +x_316 = lean_array_push(x_315, x_247); +x_317 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_318 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_318, 0, x_317); +lean_ctor_set(x_318, 1, x_316); +x_319 = lean_array_push(x_309, x_318); +x_320 = lean_array_push(x_319, x_297); +x_321 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_321, 0, x_317); +lean_ctor_set(x_321, 1, x_320); +x_322 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_322, 0, x_321); +lean_ctor_set(x_322, 1, x_298); +if (lean_is_scalar(x_302)) { + x_323 = lean_alloc_ctor(0, 2, 0); +} else { + x_323 = x_302; +} +lean_ctor_set(x_323, 0, x_322); +lean_ctor_set(x_323, 1, x_301); +return x_323; +} +} +} +block_444: +{ +lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_425; lean_object* x_426; +x_347 = lean_ctor_get(x_345, 0); +lean_inc(x_347); +x_348 = lean_ctor_get(x_345, 1); +lean_inc(x_348); +lean_dec(x_345); +x_425 = lean_unsigned_to_nat(2u); +x_426 = l_Lean_Syntax_getArg(x_1, x_425); +lean_dec(x_1); +if (lean_obj_tag(x_2) == 2) +{ +lean_object* x_427; uint8_t x_428; lean_object* x_429; +lean_dec(x_2); +x_427 = lean_box(1); +x_428 = lean_unbox(x_348); +lean_dec(x_348); +lean_inc(x_4); +x_429 = l_Lean_Elab_Term_toParserDescrAux___main(x_426, x_427, x_428, x_4, x_346); +if (lean_obj_tag(x_429) == 0) +{ +lean_object* x_430; lean_object* x_431; +x_430 = lean_ctor_get(x_429, 0); +lean_inc(x_430); +x_431 = lean_ctor_get(x_429, 1); +lean_inc(x_431); +lean_dec(x_429); +x_349 = x_430; +x_350 = x_431; +goto block_424; +} +else +{ +uint8_t x_432; +lean_dec(x_347); +lean_dec(x_4); +x_432 = !lean_is_exclusive(x_429); +if (x_432 == 0) +{ +return x_429; +} +else +{ +lean_object* x_433; lean_object* x_434; lean_object* x_435; +x_433 = lean_ctor_get(x_429, 0); +x_434 = lean_ctor_get(x_429, 1); +lean_inc(x_434); +lean_inc(x_433); +lean_dec(x_429); +x_435 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_435, 0, x_433); +lean_ctor_set(x_435, 1, x_434); +return x_435; +} +} +} +else +{ +uint8_t x_436; lean_object* x_437; +x_436 = lean_unbox(x_348); +lean_dec(x_348); +lean_inc(x_4); +x_437 = l_Lean_Elab_Term_toParserDescrAux___main(x_426, x_2, x_436, x_4, x_346); +if (lean_obj_tag(x_437) == 0) +{ +lean_object* x_438; lean_object* x_439; +x_438 = lean_ctor_get(x_437, 0); +lean_inc(x_438); +x_439 = lean_ctor_get(x_437, 1); +lean_inc(x_439); +lean_dec(x_437); +x_349 = x_438; +x_350 = x_439; +goto block_424; +} +else +{ +uint8_t x_440; +lean_dec(x_347); +lean_dec(x_4); +x_440 = !lean_is_exclusive(x_437); +if (x_440 == 0) +{ +return x_437; +} +else +{ +lean_object* x_441; lean_object* x_442; lean_object* x_443; +x_441 = lean_ctor_get(x_437, 0); +x_442 = lean_ctor_get(x_437, 1); +lean_inc(x_442); +lean_inc(x_441); +lean_dec(x_437); +x_443 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_443, 0, x_441); +lean_ctor_set(x_443, 1, x_442); +return x_443; +} +} +} +block_424: +{ +uint8_t x_351; +x_351 = !lean_is_exclusive(x_349); +if (x_351 == 0) +{ +lean_object* x_352; lean_object* x_353; uint8_t x_354; +x_352 = lean_ctor_get(x_349, 0); +x_353 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_350); +lean_dec(x_4); +x_354 = !lean_is_exclusive(x_353); +if (x_354 == 0) +{ +lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; +x_355 = lean_ctor_get(x_353, 0); +x_356 = lean_box(0); +x_357 = l_Lean_Elab_Term_toParserDescrAux___main___closed__32; +x_358 = lean_name_mk_numeral(x_357, x_355); +x_359 = l_Lean_Elab_Term_toParserDescrAux___main___closed__31; +x_360 = l_Lean_Elab_Term_toParserDescrAux___main___closed__35; +x_361 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_361, 0, x_356); +lean_ctor_set(x_361, 1, x_359); +lean_ctor_set(x_361, 2, x_358); +lean_ctor_set(x_361, 3, x_360); +x_362 = l_Array_empty___closed__1; +x_363 = lean_array_push(x_362, x_361); +x_364 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_365 = lean_array_push(x_363, x_364); +x_366 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_367 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_367, 0, x_366); +lean_ctor_set(x_367, 1, x_365); +x_368 = lean_array_push(x_362, x_367); +x_369 = lean_array_push(x_368, x_347); +x_370 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_371 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_371, 0, x_370); +lean_ctor_set(x_371, 1, x_369); +x_372 = lean_array_push(x_362, x_371); +x_373 = lean_array_push(x_372, x_352); +x_374 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_374, 0, x_370); +lean_ctor_set(x_374, 1, x_373); +lean_ctor_set(x_349, 0, x_374); +lean_ctor_set(x_353, 0, x_349); +return x_353; +} +else +{ +lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; +x_375 = lean_ctor_get(x_353, 0); +x_376 = lean_ctor_get(x_353, 1); +lean_inc(x_376); +lean_inc(x_375); +lean_dec(x_353); +x_377 = lean_box(0); +x_378 = l_Lean_Elab_Term_toParserDescrAux___main___closed__32; +x_379 = lean_name_mk_numeral(x_378, x_375); +x_380 = l_Lean_Elab_Term_toParserDescrAux___main___closed__31; +x_381 = l_Lean_Elab_Term_toParserDescrAux___main___closed__35; +x_382 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_382, 0, x_377); +lean_ctor_set(x_382, 1, x_380); +lean_ctor_set(x_382, 2, x_379); +lean_ctor_set(x_382, 3, x_381); +x_383 = l_Array_empty___closed__1; +x_384 = lean_array_push(x_383, x_382); +x_385 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_386 = lean_array_push(x_384, x_385); +x_387 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_388 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_388, 0, x_387); +lean_ctor_set(x_388, 1, x_386); +x_389 = lean_array_push(x_383, x_388); +x_390 = lean_array_push(x_389, x_347); +x_391 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_392 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_392, 0, x_391); +lean_ctor_set(x_392, 1, x_390); +x_393 = lean_array_push(x_383, x_392); +x_394 = lean_array_push(x_393, x_352); +x_395 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_395, 0, x_391); +lean_ctor_set(x_395, 1, x_394); +lean_ctor_set(x_349, 0, x_395); +x_396 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_396, 0, x_349); +lean_ctor_set(x_396, 1, x_376); +return x_396; +} +} +else +{ +lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; +x_397 = lean_ctor_get(x_349, 0); +x_398 = lean_ctor_get(x_349, 1); +lean_inc(x_398); +lean_inc(x_397); +lean_dec(x_349); +x_399 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_350); +lean_dec(x_4); +x_400 = lean_ctor_get(x_399, 0); +lean_inc(x_400); +x_401 = lean_ctor_get(x_399, 1); +lean_inc(x_401); +if (lean_is_exclusive(x_399)) { + lean_ctor_release(x_399, 0); + lean_ctor_release(x_399, 1); + x_402 = x_399; +} else { + lean_dec_ref(x_399); + x_402 = lean_box(0); +} +x_403 = lean_box(0); +x_404 = l_Lean_Elab_Term_toParserDescrAux___main___closed__32; +x_405 = lean_name_mk_numeral(x_404, x_400); +x_406 = l_Lean_Elab_Term_toParserDescrAux___main___closed__31; +x_407 = l_Lean_Elab_Term_toParserDescrAux___main___closed__35; +x_408 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_408, 0, x_403); +lean_ctor_set(x_408, 1, x_406); +lean_ctor_set(x_408, 2, x_405); +lean_ctor_set(x_408, 3, x_407); +x_409 = l_Array_empty___closed__1; +x_410 = lean_array_push(x_409, x_408); +x_411 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_412 = lean_array_push(x_410, x_411); +x_413 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_414 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_414, 0, x_413); +lean_ctor_set(x_414, 1, x_412); +x_415 = lean_array_push(x_409, x_414); +x_416 = lean_array_push(x_415, x_347); +x_417 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_418 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_418, 0, x_417); +lean_ctor_set(x_418, 1, x_416); +x_419 = lean_array_push(x_409, x_418); +x_420 = lean_array_push(x_419, x_397); +x_421 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_421, 0, x_417); +lean_ctor_set(x_421, 1, x_420); +x_422 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_422, 0, x_421); +lean_ctor_set(x_422, 1, x_398); +if (lean_is_scalar(x_402)) { + x_423 = lean_alloc_ctor(0, 2, 0); +} else { + x_423 = x_402; +} +lean_ctor_set(x_423, 0, x_422); +lean_ctor_set(x_423, 1, x_401); +return x_423; +} +} +} +block_511: +{ +uint8_t x_447; +x_447 = !lean_is_exclusive(x_445); +if (x_447 == 0) +{ +lean_object* x_448; lean_object* x_449; uint8_t x_450; +x_448 = lean_ctor_get(x_445, 0); +x_449 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_446); +lean_dec(x_4); +x_450 = !lean_is_exclusive(x_449); +if (x_450 == 0) +{ +lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; +x_451 = lean_ctor_get(x_449, 0); +x_452 = lean_box(0); +x_453 = l_Lean_Elab_Term_toParserDescrAux___main___closed__39; +x_454 = lean_name_mk_numeral(x_453, x_451); +x_455 = l_Lean_Elab_Term_toParserDescrAux___main___closed__38; +x_456 = l_Lean_Elab_Term_toParserDescrAux___main___closed__42; +x_457 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_457, 0, x_452); +lean_ctor_set(x_457, 1, x_455); +lean_ctor_set(x_457, 2, x_454); +lean_ctor_set(x_457, 3, x_456); +x_458 = l_Array_empty___closed__1; +x_459 = lean_array_push(x_458, x_457); +x_460 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_461 = lean_array_push(x_459, x_460); +x_462 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_463 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_463, 0, x_462); +lean_ctor_set(x_463, 1, x_461); +x_464 = lean_array_push(x_458, x_463); +x_465 = lean_array_push(x_464, x_448); +x_466 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_467 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_467, 0, x_466); +lean_ctor_set(x_467, 1, x_465); +lean_ctor_set(x_445, 0, x_467); +lean_ctor_set(x_449, 0, x_445); +return x_449; +} +else +{ +lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; +x_468 = lean_ctor_get(x_449, 0); +x_469 = lean_ctor_get(x_449, 1); +lean_inc(x_469); +lean_inc(x_468); +lean_dec(x_449); +x_470 = lean_box(0); +x_471 = l_Lean_Elab_Term_toParserDescrAux___main___closed__39; +x_472 = lean_name_mk_numeral(x_471, x_468); +x_473 = l_Lean_Elab_Term_toParserDescrAux___main___closed__38; +x_474 = l_Lean_Elab_Term_toParserDescrAux___main___closed__42; +x_475 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_475, 0, x_470); +lean_ctor_set(x_475, 1, x_473); +lean_ctor_set(x_475, 2, x_472); +lean_ctor_set(x_475, 3, x_474); +x_476 = l_Array_empty___closed__1; +x_477 = lean_array_push(x_476, x_475); +x_478 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_479 = lean_array_push(x_477, x_478); +x_480 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_481 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_481, 0, x_480); +lean_ctor_set(x_481, 1, x_479); +x_482 = lean_array_push(x_476, x_481); +x_483 = lean_array_push(x_482, x_448); +x_484 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_485 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_485, 0, x_484); +lean_ctor_set(x_485, 1, x_483); +lean_ctor_set(x_445, 0, x_485); +x_486 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_486, 0, x_445); +lean_ctor_set(x_486, 1, x_469); +return x_486; +} +} +else +{ +lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; +x_487 = lean_ctor_get(x_445, 0); +x_488 = lean_ctor_get(x_445, 1); +lean_inc(x_488); +lean_inc(x_487); +lean_dec(x_445); +x_489 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_446); +lean_dec(x_4); +x_490 = lean_ctor_get(x_489, 0); +lean_inc(x_490); +x_491 = lean_ctor_get(x_489, 1); +lean_inc(x_491); +if (lean_is_exclusive(x_489)) { + lean_ctor_release(x_489, 0); + lean_ctor_release(x_489, 1); + x_492 = x_489; +} else { + lean_dec_ref(x_489); + x_492 = lean_box(0); +} +x_493 = lean_box(0); +x_494 = l_Lean_Elab_Term_toParserDescrAux___main___closed__39; +x_495 = lean_name_mk_numeral(x_494, x_490); +x_496 = l_Lean_Elab_Term_toParserDescrAux___main___closed__38; +x_497 = l_Lean_Elab_Term_toParserDescrAux___main___closed__42; +x_498 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_498, 0, x_493); +lean_ctor_set(x_498, 1, x_496); +lean_ctor_set(x_498, 2, x_495); +lean_ctor_set(x_498, 3, x_497); +x_499 = l_Array_empty___closed__1; +x_500 = lean_array_push(x_499, x_498); +x_501 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_502 = lean_array_push(x_500, x_501); +x_503 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_504 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_504, 0, x_503); +lean_ctor_set(x_504, 1, x_502); +x_505 = lean_array_push(x_499, x_504); +x_506 = lean_array_push(x_505, x_487); +x_507 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_508 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_508, 0, x_507); +lean_ctor_set(x_508, 1, x_506); +x_509 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_509, 0, x_508); +lean_ctor_set(x_509, 1, x_488); +if (lean_is_scalar(x_492)) { + x_510 = lean_alloc_ctor(0, 2, 0); +} else { + x_510 = x_492; +} +lean_ctor_set(x_510, 0, x_509); +lean_ctor_set(x_510, 1, x_491); +return x_510; +} +} +block_578: +{ +uint8_t x_514; +x_514 = !lean_is_exclusive(x_512); +if (x_514 == 0) +{ +lean_object* x_515; lean_object* x_516; uint8_t x_517; +x_515 = lean_ctor_get(x_512, 0); +x_516 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_513); +lean_dec(x_4); +x_517 = !lean_is_exclusive(x_516); +if (x_517 == 0) +{ +lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; +x_518 = lean_ctor_get(x_516, 0); +x_519 = lean_box(0); +x_520 = l_Lean_Elab_Term_toParserDescrAux___main___closed__46; +x_521 = lean_name_mk_numeral(x_520, x_518); +x_522 = l_Lean_Elab_Term_toParserDescrAux___main___closed__45; +x_523 = l_Lean_Elab_Term_toParserDescrAux___main___closed__49; +x_524 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_524, 0, x_519); +lean_ctor_set(x_524, 1, x_522); +lean_ctor_set(x_524, 2, x_521); +lean_ctor_set(x_524, 3, x_523); +x_525 = l_Array_empty___closed__1; +x_526 = lean_array_push(x_525, x_524); +x_527 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_528 = lean_array_push(x_526, x_527); +x_529 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_530 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_530, 0, x_529); +lean_ctor_set(x_530, 1, x_528); +x_531 = lean_array_push(x_525, x_530); +x_532 = lean_array_push(x_531, x_515); +x_533 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_534 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_534, 0, x_533); +lean_ctor_set(x_534, 1, x_532); +lean_ctor_set(x_512, 0, x_534); +lean_ctor_set(x_516, 0, x_512); +return x_516; +} +else +{ +lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; +x_535 = lean_ctor_get(x_516, 0); +x_536 = lean_ctor_get(x_516, 1); +lean_inc(x_536); +lean_inc(x_535); +lean_dec(x_516); +x_537 = lean_box(0); +x_538 = l_Lean_Elab_Term_toParserDescrAux___main___closed__46; +x_539 = lean_name_mk_numeral(x_538, x_535); +x_540 = l_Lean_Elab_Term_toParserDescrAux___main___closed__45; +x_541 = l_Lean_Elab_Term_toParserDescrAux___main___closed__49; +x_542 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_542, 0, x_537); +lean_ctor_set(x_542, 1, x_540); +lean_ctor_set(x_542, 2, x_539); +lean_ctor_set(x_542, 3, x_541); +x_543 = l_Array_empty___closed__1; +x_544 = lean_array_push(x_543, x_542); +x_545 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_546 = lean_array_push(x_544, x_545); +x_547 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_548 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_548, 0, x_547); +lean_ctor_set(x_548, 1, x_546); +x_549 = lean_array_push(x_543, x_548); +x_550 = lean_array_push(x_549, x_515); +x_551 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_552 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_552, 0, x_551); +lean_ctor_set(x_552, 1, x_550); +lean_ctor_set(x_512, 0, x_552); +x_553 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_553, 0, x_512); +lean_ctor_set(x_553, 1, x_536); +return x_553; +} +} +else +{ +lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; +x_554 = lean_ctor_get(x_512, 0); +x_555 = lean_ctor_get(x_512, 1); +lean_inc(x_555); +lean_inc(x_554); +lean_dec(x_512); +x_556 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_513); +lean_dec(x_4); +x_557 = lean_ctor_get(x_556, 0); +lean_inc(x_557); +x_558 = lean_ctor_get(x_556, 1); +lean_inc(x_558); +if (lean_is_exclusive(x_556)) { + lean_ctor_release(x_556, 0); + lean_ctor_release(x_556, 1); + x_559 = x_556; +} else { + lean_dec_ref(x_556); + x_559 = lean_box(0); +} +x_560 = lean_box(0); +x_561 = l_Lean_Elab_Term_toParserDescrAux___main___closed__46; +x_562 = lean_name_mk_numeral(x_561, x_557); +x_563 = l_Lean_Elab_Term_toParserDescrAux___main___closed__45; +x_564 = l_Lean_Elab_Term_toParserDescrAux___main___closed__49; +x_565 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_565, 0, x_560); +lean_ctor_set(x_565, 1, x_563); +lean_ctor_set(x_565, 2, x_562); +lean_ctor_set(x_565, 3, x_564); +x_566 = l_Array_empty___closed__1; +x_567 = lean_array_push(x_566, x_565); +x_568 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_569 = lean_array_push(x_567, x_568); +x_570 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_571 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_571, 0, x_570); +lean_ctor_set(x_571, 1, x_569); +x_572 = lean_array_push(x_566, x_571); +x_573 = lean_array_push(x_572, x_554); +x_574 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_575 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_575, 0, x_574); +lean_ctor_set(x_575, 1, x_573); +x_576 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_576, 0, x_575); +lean_ctor_set(x_576, 1, x_555); +if (lean_is_scalar(x_559)) { + x_577 = lean_alloc_ctor(0, 2, 0); +} else { + x_577 = x_559; +} +lean_ctor_set(x_577, 0, x_576); +lean_ctor_set(x_577, 1, x_558); +return x_577; +} +} +block_645: +{ +uint8_t x_581; +x_581 = !lean_is_exclusive(x_579); +if (x_581 == 0) +{ +lean_object* x_582; lean_object* x_583; uint8_t x_584; +x_582 = lean_ctor_get(x_579, 0); +x_583 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_580); +lean_dec(x_4); +x_584 = !lean_is_exclusive(x_583); +if (x_584 == 0) +{ +lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; +x_585 = lean_ctor_get(x_583, 0); +x_586 = lean_box(0); +x_587 = l_Lean_Elab_Term_toParserDescrAux___main___closed__53; +x_588 = lean_name_mk_numeral(x_587, x_585); +x_589 = l_Lean_Elab_Term_toParserDescrAux___main___closed__52; +x_590 = l_Lean_Elab_Term_toParserDescrAux___main___closed__56; +x_591 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_591, 0, x_586); +lean_ctor_set(x_591, 1, x_589); +lean_ctor_set(x_591, 2, x_588); +lean_ctor_set(x_591, 3, x_590); +x_592 = l_Array_empty___closed__1; +x_593 = lean_array_push(x_592, x_591); +x_594 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_595 = lean_array_push(x_593, x_594); +x_596 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_597 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_597, 0, x_596); +lean_ctor_set(x_597, 1, x_595); +x_598 = lean_array_push(x_592, x_597); +x_599 = lean_array_push(x_598, x_582); +x_600 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_601 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_601, 0, x_600); +lean_ctor_set(x_601, 1, x_599); +lean_ctor_set(x_579, 0, x_601); +lean_ctor_set(x_583, 0, x_579); +return x_583; +} +else +{ +lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; +x_602 = lean_ctor_get(x_583, 0); +x_603 = lean_ctor_get(x_583, 1); +lean_inc(x_603); +lean_inc(x_602); +lean_dec(x_583); +x_604 = lean_box(0); +x_605 = l_Lean_Elab_Term_toParserDescrAux___main___closed__53; +x_606 = lean_name_mk_numeral(x_605, x_602); +x_607 = l_Lean_Elab_Term_toParserDescrAux___main___closed__52; +x_608 = l_Lean_Elab_Term_toParserDescrAux___main___closed__56; +x_609 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_609, 0, x_604); +lean_ctor_set(x_609, 1, x_607); +lean_ctor_set(x_609, 2, x_606); +lean_ctor_set(x_609, 3, x_608); +x_610 = l_Array_empty___closed__1; +x_611 = lean_array_push(x_610, x_609); +x_612 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_613 = lean_array_push(x_611, x_612); +x_614 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_615 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_615, 0, x_614); +lean_ctor_set(x_615, 1, x_613); +x_616 = lean_array_push(x_610, x_615); +x_617 = lean_array_push(x_616, x_582); +x_618 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_619 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_619, 0, x_618); +lean_ctor_set(x_619, 1, x_617); +lean_ctor_set(x_579, 0, x_619); +x_620 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_620, 0, x_579); +lean_ctor_set(x_620, 1, x_603); +return x_620; +} +} +else +{ +lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; +x_621 = lean_ctor_get(x_579, 0); +x_622 = lean_ctor_get(x_579, 1); +lean_inc(x_622); +lean_inc(x_621); +lean_dec(x_579); +x_623 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_580); +lean_dec(x_4); +x_624 = lean_ctor_get(x_623, 0); +lean_inc(x_624); +x_625 = lean_ctor_get(x_623, 1); +lean_inc(x_625); +if (lean_is_exclusive(x_623)) { + lean_ctor_release(x_623, 0); + lean_ctor_release(x_623, 1); + x_626 = x_623; +} else { + lean_dec_ref(x_623); + x_626 = lean_box(0); +} +x_627 = lean_box(0); +x_628 = l_Lean_Elab_Term_toParserDescrAux___main___closed__53; +x_629 = lean_name_mk_numeral(x_628, x_624); +x_630 = l_Lean_Elab_Term_toParserDescrAux___main___closed__52; +x_631 = l_Lean_Elab_Term_toParserDescrAux___main___closed__56; +x_632 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_632, 0, x_627); +lean_ctor_set(x_632, 1, x_630); +lean_ctor_set(x_632, 2, x_629); +lean_ctor_set(x_632, 3, x_631); +x_633 = l_Array_empty___closed__1; +x_634 = lean_array_push(x_633, x_632); +x_635 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_636 = lean_array_push(x_634, x_635); +x_637 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_638 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_638, 0, x_637); +lean_ctor_set(x_638, 1, x_636); +x_639 = lean_array_push(x_633, x_638); +x_640 = lean_array_push(x_639, x_621); +x_641 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_642 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_642, 0, x_641); +lean_ctor_set(x_642, 1, x_640); +x_643 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_643, 0, x_642); +lean_ctor_set(x_643, 1, x_622); +if (lean_is_scalar(x_626)) { + x_644 = lean_alloc_ctor(0, 2, 0); +} else { + x_644 = x_626; +} +lean_ctor_set(x_644, 0, x_643); +lean_ctor_set(x_644, 1, x_625); +return x_644; +} +} +block_679: +{ +uint8_t x_648; +x_648 = !lean_is_exclusive(x_646); +if (x_648 == 0) +{ +lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; +x_649 = lean_ctor_get(x_646, 0); +x_650 = lean_box(0); +x_651 = l_Lean_Elab_Term_toParserDescrAux___main___closed__61; +x_652 = lean_name_mk_numeral(x_651, x_649); +x_653 = l_Lean_Elab_Term_toParserDescrAux___main___closed__59; +x_654 = l_Lean_Elab_Term_toParserDescrAux___main___closed__64; +x_655 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_655, 0, x_650); +lean_ctor_set(x_655, 1, x_653); +lean_ctor_set(x_655, 2, x_652); +lean_ctor_set(x_655, 3, x_654); +x_656 = l_Array_empty___closed__1; +x_657 = lean_array_push(x_656, x_655); +x_658 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_659 = lean_array_push(x_657, x_658); +x_660 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_661 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_661, 0, x_660); +lean_ctor_set(x_661, 1, x_659); +lean_ctor_set(x_646, 0, x_661); +x_662 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_662, 0, x_646); +lean_ctor_set(x_662, 1, x_647); +return x_662; +} +else +{ +lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; +x_663 = lean_ctor_get(x_646, 0); +x_664 = lean_ctor_get(x_646, 1); +lean_inc(x_664); +lean_inc(x_663); +lean_dec(x_646); +x_665 = lean_box(0); +x_666 = l_Lean_Elab_Term_toParserDescrAux___main___closed__61; +x_667 = lean_name_mk_numeral(x_666, x_663); +x_668 = l_Lean_Elab_Term_toParserDescrAux___main___closed__59; +x_669 = l_Lean_Elab_Term_toParserDescrAux___main___closed__64; +x_670 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_670, 0, x_665); +lean_ctor_set(x_670, 1, x_668); +lean_ctor_set(x_670, 2, x_667); +lean_ctor_set(x_670, 3, x_669); +x_671 = l_Array_empty___closed__1; +x_672 = lean_array_push(x_671, x_670); +x_673 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_674 = lean_array_push(x_672, x_673); +x_675 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_676 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_676, 0, x_675); +lean_ctor_set(x_676, 1, x_674); +x_677 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_677, 0, x_676); +lean_ctor_set(x_677, 1, x_664); +x_678 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_678, 0, x_677); +lean_ctor_set(x_678, 1, x_647); +return x_678; +} +} +} +else +{ +lean_object* x_1211; lean_object* x_1212; +lean_dec(x_6); +x_1211 = lean_unsigned_to_nat(0u); +x_1212 = l_Lean_Syntax_getArg(x_1, x_1211); +lean_dec(x_1); +x_1 = x_1212; +goto _start; +} +} +else +{ +lean_object* x_1214; lean_object* x_1215; lean_object* x_1216; +lean_dec(x_6); +x_1214 = l_Lean_Syntax_getArgs(x_1); +lean_dec(x_1); +x_1215 = lean_unsigned_to_nat(0u); +lean_inc(x_4); +x_1216 = l_Array_umapMAux___main___at_Lean_Elab_Term_toParserDescrAux___main___spec__2(x_1215, x_1214, x_2, x_3, x_4, x_5); +if (lean_obj_tag(x_1216) == 0) +{ +lean_object* x_1217; lean_object* x_1218; uint8_t x_1219; +x_1217 = lean_ctor_get(x_1216, 0); +lean_inc(x_1217); +x_1218 = lean_ctor_get(x_1216, 1); +lean_inc(x_1218); +lean_dec(x_1216); +x_1219 = !lean_is_exclusive(x_1217); +if (x_1219 == 0) +{ +lean_object* x_1220; lean_object* x_1221; lean_object* x_1222; +x_1220 = lean_ctor_get(x_1217, 0); +x_1221 = lean_ctor_get(x_1217, 1); +x_1222 = l___private_Init_Lean_Elab_Syntax_2__mkParserSeq(x_1220, x_4, x_1218); +lean_dec(x_4); +lean_dec(x_1220); +if (lean_obj_tag(x_1222) == 0) +{ +uint8_t x_1223; +x_1223 = !lean_is_exclusive(x_1222); +if (x_1223 == 0) +{ +lean_object* x_1224; +x_1224 = lean_ctor_get(x_1222, 0); +lean_ctor_set(x_1217, 0, x_1224); +lean_ctor_set(x_1222, 0, x_1217); +return x_1222; +} +else +{ +lean_object* x_1225; lean_object* x_1226; lean_object* x_1227; +x_1225 = lean_ctor_get(x_1222, 0); +x_1226 = lean_ctor_get(x_1222, 1); +lean_inc(x_1226); +lean_inc(x_1225); +lean_dec(x_1222); +lean_ctor_set(x_1217, 0, x_1225); +x_1227 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1227, 0, x_1217); +lean_ctor_set(x_1227, 1, x_1226); +return x_1227; +} +} +else +{ +uint8_t x_1228; +lean_free_object(x_1217); +lean_dec(x_1221); +x_1228 = !lean_is_exclusive(x_1222); +if (x_1228 == 0) +{ +return x_1222; +} +else +{ +lean_object* x_1229; lean_object* x_1230; lean_object* x_1231; +x_1229 = lean_ctor_get(x_1222, 0); +x_1230 = lean_ctor_get(x_1222, 1); +lean_inc(x_1230); +lean_inc(x_1229); +lean_dec(x_1222); +x_1231 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1231, 0, x_1229); +lean_ctor_set(x_1231, 1, x_1230); +return x_1231; +} +} +} +else +{ +lean_object* x_1232; lean_object* x_1233; lean_object* x_1234; +x_1232 = lean_ctor_get(x_1217, 0); +x_1233 = lean_ctor_get(x_1217, 1); +lean_inc(x_1233); +lean_inc(x_1232); +lean_dec(x_1217); +x_1234 = l___private_Init_Lean_Elab_Syntax_2__mkParserSeq(x_1232, x_4, x_1218); +lean_dec(x_4); +lean_dec(x_1232); +if (lean_obj_tag(x_1234) == 0) +{ +lean_object* x_1235; lean_object* x_1236; lean_object* x_1237; lean_object* x_1238; lean_object* x_1239; +x_1235 = lean_ctor_get(x_1234, 0); +lean_inc(x_1235); +x_1236 = lean_ctor_get(x_1234, 1); +lean_inc(x_1236); +if (lean_is_exclusive(x_1234)) { + lean_ctor_release(x_1234, 0); + lean_ctor_release(x_1234, 1); + x_1237 = x_1234; +} else { + lean_dec_ref(x_1234); + x_1237 = lean_box(0); +} +x_1238 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1238, 0, x_1235); +lean_ctor_set(x_1238, 1, x_1233); +if (lean_is_scalar(x_1237)) { + x_1239 = lean_alloc_ctor(0, 2, 0); +} else { + x_1239 = x_1237; +} +lean_ctor_set(x_1239, 0, x_1238); +lean_ctor_set(x_1239, 1, x_1236); +return x_1239; +} +else +{ +lean_object* x_1240; lean_object* x_1241; lean_object* x_1242; lean_object* x_1243; +lean_dec(x_1233); +x_1240 = lean_ctor_get(x_1234, 0); +lean_inc(x_1240); +x_1241 = lean_ctor_get(x_1234, 1); +lean_inc(x_1241); +if (lean_is_exclusive(x_1234)) { + lean_ctor_release(x_1234, 0); + lean_ctor_release(x_1234, 1); + x_1242 = x_1234; +} else { + lean_dec_ref(x_1234); + x_1242 = lean_box(0); +} +if (lean_is_scalar(x_1242)) { + x_1243 = lean_alloc_ctor(1, 2, 0); +} else { + x_1243 = x_1242; +} +lean_ctor_set(x_1243, 0, x_1240); +lean_ctor_set(x_1243, 1, x_1241); +return x_1243; +} +} +} +else +{ +uint8_t x_1244; +lean_dec(x_4); +x_1244 = !lean_is_exclusive(x_1216); +if (x_1244 == 0) +{ +return x_1216; +} +else +{ +lean_object* x_1245; lean_object* x_1246; lean_object* x_1247; +x_1245 = lean_ctor_get(x_1216, 0); +x_1246 = lean_ctor_get(x_1216, 1); +lean_inc(x_1246); +lean_inc(x_1245); +lean_dec(x_1216); +x_1247 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1247, 0, x_1245); +lean_ctor_set(x_1247, 1, x_1246); +return x_1247; +} +} +} +} +} +lean_object* l___private_Init_Lean_Elab_Quotation_4__quoteOption___at_Lean_Elab_Term_toParserDescrAux___main___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Init_Lean_Elab_Quotation_4__quoteOption___at_Lean_Elab_Term_toParserDescr___main___spec__1___lambda__1(x_1, x_2, x_3, x_4); +x_5 = l___private_Init_Lean_Elab_Quotation_4__quoteOption___at_Lean_Elab_Term_toParserDescrAux___main___spec__1___lambda__1(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Elab_Term_toParserDescr(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_toParserDescrAux___main___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_4; -x_4 = l_Lean_Elab_Term_toParserDescr___main(x_1, x_2, x_3); -return x_4; +uint8_t x_7; lean_object* x_8; +x_7 = lean_unbox(x_4); +lean_dec(x_4); +x_8 = l_Array_umapMAux___main___at_Lean_Elab_Term_toParserDescrAux___main___spec__2(x_1, x_2, x_3, x_7, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___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_Elab_Term_toParserDescrAux___main(x_1, x_2, x_6, x_4, x_5); +return x_7; +} +} +lean_object* l_Lean_Elab_Term_toParserDescrAux(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 = l_Lean_Elab_Term_toParserDescrAux___main(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +lean_object* l_Lean_Elab_Term_toParserDescrAux___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_Elab_Term_toParserDescrAux(x_1, x_2, x_6, x_4, x_5); +return x_7; +} +} +lean_object* l_Lean_Elab_Term_toParserDescr(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; uint8_t x_6; lean_object* x_7; +x_5 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_5, 0, x_2); +x_6 = 0; +x_7 = l_Lean_Elab_Term_toParserDescrAux___main(x_1, x_5, x_6, x_3, x_4); +return x_7; } } lean_object* l_Lean_Elab_Command_elabDeclareSyntaxCat(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -3832,7 +6020,7 @@ x_5 = l_Lean_Elab_Command_addBuiltinCommandElab(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l___private_Init_Lean_Elab_Syntax_3__elabKind(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Elab_Syntax_7__elabKind(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { uint8_t x_5; @@ -3992,23 +6180,23 @@ return x_38; } } } -lean_object* l___private_Init_Lean_Elab_Syntax_3__elabKind___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Elab_Syntax_7__elabKind___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Init_Lean_Elab_Syntax_3__elabKind(x_1, x_2, x_3, x_4); +x_5 = l___private_Init_Lean_Elab_Syntax_7__elabKind(x_1, x_2, x_3, x_4); lean_dec(x_1); return x_5; } } -lean_object* l_Lean_Elab_Command_elabSyntax___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_Command_elabSyntax___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_unsigned_to_nat(2u); -x_6 = l_Lean_Syntax_getArg(x_1, x_5); -x_7 = l_Lean_Elab_Term_toParserDescr___main(x_6, x_3, x_4); -return x_7; +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_unsigned_to_nat(2u); +x_7 = l_Lean_Syntax_getArg(x_1, x_6); +x_8 = l_Lean_Elab_Term_toParserDescr(x_7, x_2, x_4, x_5); +return x_8; } } lean_object* _init_l_Lean_Elab_Command_elabSyntax___closed__1() { @@ -4071,7 +6259,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_2 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_3 = lean_array_push(x_1, x_2); return x_3; } @@ -4246,6 +6434,71 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } +lean_object* _init_l_Lean_Elab_Command_elabSyntax___closed__23() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.TrailingParserDescr"); +return x_1; +} +} +lean_object* _init_l_Lean_Elab_Command_elabSyntax___closed__24() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabSyntax___closed__23; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Command_elabSyntax___closed__25() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_elabSyntax___closed__23; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Command_elabSyntax___closed__24; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +lean_object* _init_l_Lean_Elab_Command_elabSyntax___closed__26() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_nameToExprAux___main___closed__4; +x_2 = l_Lean_Parser_mkParserOfConstantUnsafe___closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Elab_Command_elabSyntax___closed__27() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabSyntax___closed__26; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +lean_object* _init_l_Lean_Elab_Command_elabSyntax___closed__28() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabSyntax___closed__27; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} lean_object* l_Lean_Elab_Command_elabSyntax(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -4254,7 +6507,7 @@ lean_inc(x_2); x_4 = l_Lean_Elab_Command_getEnv(x_2, x_3); if (lean_obj_tag(x_4) == 0) { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_248; +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_386; x_5 = lean_ctor_get(x_4, 0); lean_inc(x_5); x_6 = lean_ctor_get(x_4, 1); @@ -4262,899 +6515,1227 @@ lean_inc(x_6); lean_dec(x_4); x_7 = lean_unsigned_to_nat(4u); x_8 = l_Lean_Syntax_getIdAt(x_1, x_7); -x_248 = l_Lean_Parser_isParserCategory(x_5, x_8); +x_386 = l_Lean_Parser_isParserCategory(x_5, x_8); lean_dec(x_5); -if (x_248 == 0) +if (x_386 == 0) { -lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; uint8_t x_256; -x_249 = l_Lean_Syntax_getArg(x_1, x_7); +lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; uint8_t x_394; +x_387 = l_Lean_Syntax_getArg(x_1, x_7); lean_dec(x_1); -x_250 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_250, 0, x_8); -x_251 = l_Lean_Elab_Term_toParserDescr___main___closed__104; -x_252 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_252, 0, x_251); -lean_ctor_set(x_252, 1, x_250); -x_253 = l_Lean_Elab_Term_mkConst___closed__4; -x_254 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_254, 0, x_252); -lean_ctor_set(x_254, 1, x_253); -x_255 = l_Lean_Elab_Command_throwError___rarg(x_249, x_254, x_2, x_6); -x_256 = !lean_is_exclusive(x_255); -if (x_256 == 0) +x_388 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_388, 0, x_8); +x_389 = l_Lean_Elab_Term_toParserDescrAux___main___closed__123; +x_390 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_390, 0, x_389); +lean_ctor_set(x_390, 1, x_388); +x_391 = l_Lean_Elab_Term_mkConst___closed__4; +x_392 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_392, 0, x_390); +lean_ctor_set(x_392, 1, x_391); +x_393 = l_Lean_Elab_Command_throwError___rarg(x_387, x_392, x_2, x_6); +lean_dec(x_387); +x_394 = !lean_is_exclusive(x_393); +if (x_394 == 0) { -return x_255; +return x_393; } else { -lean_object* x_257; lean_object* x_258; lean_object* x_259; -x_257 = lean_ctor_get(x_255, 0); -x_258 = lean_ctor_get(x_255, 1); -lean_inc(x_258); -lean_inc(x_257); -lean_dec(x_255); -x_259 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_259, 0, x_257); -lean_ctor_set(x_259, 1, x_258); -return x_259; +lean_object* x_395; lean_object* x_396; lean_object* x_397; +x_395 = lean_ctor_get(x_393, 0); +x_396 = lean_ctor_get(x_393, 1); +lean_inc(x_396); +lean_inc(x_395); +lean_dec(x_393); +x_397 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_397, 0, x_395); +lean_ctor_set(x_397, 1, x_396); +return x_397; } } else { x_9 = x_6; -goto block_247; +goto block_385; } -block_247: +block_385: { lean_object* x_10; lean_object* x_11; lean_object* x_12; x_10 = lean_unsigned_to_nat(1u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_inc(x_2); lean_inc(x_8); -x_12 = l___private_Init_Lean_Elab_Syntax_3__elabKind(x_11, x_8, x_2, x_9); +x_12 = l___private_Init_Lean_Elab_Syntax_7__elabKind(x_11, x_8, x_2, x_9); lean_dec(x_11); if (lean_obj_tag(x_12) == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_154; lean_object* x_155; +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_291; lean_object* x_292; lean_object* x_293; x_13 = lean_ctor_get(x_12, 0); lean_inc(x_13); x_14 = lean_ctor_get(x_12, 1); lean_inc(x_14); lean_dec(x_12); x_15 = l_Lean_Syntax_formatStxAux___main___closed__5; +lean_inc(x_8); x_16 = l_Lean_Name_appendAfter(x_8, x_15); x_17 = l_Lean_mkIdentFrom(x_1, x_16); -x_18 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_14); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); +x_291 = lean_box(0); +lean_inc(x_1); +x_292 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabSyntax___lambda__1___boxed), 5, 2); +lean_closure_set(x_292, 0, x_1); +lean_closure_set(x_292, 1, x_8); +lean_inc(x_2); +x_293 = l___private_Init_Lean_Elab_Command_2__getState(x_2, x_14); +if (lean_obj_tag(x_293) == 0) +{ +lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; +x_294 = lean_ctor_get(x_293, 0); +lean_inc(x_294); +x_295 = lean_ctor_get(x_293, 1); +lean_inc(x_295); +lean_dec(x_293); +x_296 = l___private_Init_Lean_Elab_Command_8__getVarDecls(x_294); +x_297 = l___private_Init_Lean_Elab_Command_6__mkTermContext(x_2, x_294, x_291); +x_298 = l___private_Init_Lean_Elab_Command_7__mkTermState(x_294); +lean_dec(x_294); +x_299 = l_Lean_Elab_Term_elabBinders___rarg(x_296, x_292, x_297, x_298); +lean_dec(x_296); +if (lean_obj_tag(x_299) == 0) +{ +lean_object* x_300; lean_object* x_301; lean_object* x_302; +x_300 = lean_ctor_get(x_299, 0); +lean_inc(x_300); +x_301 = lean_ctor_get(x_299, 1); +lean_inc(x_301); +lean_dec(x_299); +lean_inc(x_2); +x_302 = l___private_Init_Lean_Elab_Command_2__getState(x_2, x_295); +if (lean_obj_tag(x_302) == 0) +{ +lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; uint8_t x_308; +x_303 = lean_ctor_get(x_301, 0); +lean_inc(x_303); +x_304 = lean_ctor_get(x_302, 0); +lean_inc(x_304); +x_305 = lean_ctor_get(x_302, 1); +lean_inc(x_305); +lean_dec(x_302); +x_306 = lean_ctor_get(x_303, 0); +lean_inc(x_306); +lean_dec(x_303); +x_307 = lean_ctor_get(x_301, 2); +lean_inc(x_307); +lean_dec(x_301); +x_308 = !lean_is_exclusive(x_304); +if (x_308 == 0) +{ +lean_object* x_309; lean_object* x_310; lean_object* x_311; +x_309 = lean_ctor_get(x_304, 1); +lean_dec(x_309); +x_310 = lean_ctor_get(x_304, 0); +lean_dec(x_310); +lean_ctor_set(x_304, 1, x_307); +lean_ctor_set(x_304, 0, x_306); +lean_inc(x_2); +x_311 = l___private_Init_Lean_Elab_Command_3__setState(x_304, x_2, x_305); +if (lean_obj_tag(x_311) == 0) +{ +lean_object* x_312; +x_312 = lean_ctor_get(x_311, 1); +lean_inc(x_312); +lean_dec(x_311); +x_18 = x_300; +x_19 = x_312; +goto block_290; +} +else +{ +uint8_t x_313; +lean_dec(x_300); +lean_dec(x_17); +lean_dec(x_13); +lean_dec(x_2); +lean_dec(x_1); +x_313 = !lean_is_exclusive(x_311); +if (x_313 == 0) +{ +return x_311; +} +else +{ +lean_object* x_314; lean_object* x_315; lean_object* x_316; +x_314 = lean_ctor_get(x_311, 0); +x_315 = lean_ctor_get(x_311, 1); +lean_inc(x_315); +lean_inc(x_314); +lean_dec(x_311); +x_316 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_316, 0, x_314); +lean_ctor_set(x_316, 1, x_315); +return x_316; +} +} +} +else +{ +lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; +x_317 = lean_ctor_get(x_304, 2); +x_318 = lean_ctor_get(x_304, 3); +x_319 = lean_ctor_get(x_304, 4); +lean_inc(x_319); +lean_inc(x_318); +lean_inc(x_317); +lean_dec(x_304); +x_320 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_320, 0, x_306); +lean_ctor_set(x_320, 1, x_307); +lean_ctor_set(x_320, 2, x_317); +lean_ctor_set(x_320, 3, x_318); +lean_ctor_set(x_320, 4, x_319); +lean_inc(x_2); +x_321 = l___private_Init_Lean_Elab_Command_3__setState(x_320, x_2, x_305); +if (lean_obj_tag(x_321) == 0) +{ +lean_object* x_322; +x_322 = lean_ctor_get(x_321, 1); +lean_inc(x_322); +lean_dec(x_321); +x_18 = x_300; +x_19 = x_322; +goto block_290; +} +else +{ +lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; +lean_dec(x_300); +lean_dec(x_17); +lean_dec(x_13); +lean_dec(x_2); +lean_dec(x_1); +x_323 = lean_ctor_get(x_321, 0); +lean_inc(x_323); +x_324 = lean_ctor_get(x_321, 1); +lean_inc(x_324); +if (lean_is_exclusive(x_321)) { + lean_ctor_release(x_321, 0); + lean_ctor_release(x_321, 1); + x_325 = x_321; +} else { + lean_dec_ref(x_321); + x_325 = lean_box(0); +} +if (lean_is_scalar(x_325)) { + x_326 = lean_alloc_ctor(1, 2, 0); +} else { + x_326 = x_325; +} +lean_ctor_set(x_326, 0, x_323); +lean_ctor_set(x_326, 1, x_324); +return x_326; +} +} +} +else +{ +uint8_t x_327; +lean_dec(x_301); +lean_dec(x_300); +lean_dec(x_17); +lean_dec(x_13); +lean_dec(x_2); +lean_dec(x_1); +x_327 = !lean_is_exclusive(x_302); +if (x_327 == 0) +{ +return x_302; +} +else +{ +lean_object* x_328; lean_object* x_329; lean_object* x_330; +x_328 = lean_ctor_get(x_302, 0); +x_329 = lean_ctor_get(x_302, 1); +lean_inc(x_329); +lean_inc(x_328); +lean_dec(x_302); +x_330 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_330, 0, x_328); +lean_ctor_set(x_330, 1, x_329); +return x_330; +} +} +} +else +{ +lean_object* x_331; +x_331 = lean_ctor_get(x_299, 0); +lean_inc(x_331); +if (lean_obj_tag(x_331) == 0) +{ +lean_object* x_332; lean_object* x_333; lean_object* x_334; +lean_dec(x_17); +lean_dec(x_13); +lean_dec(x_1); +x_332 = lean_ctor_get(x_299, 1); +lean_inc(x_332); +lean_dec(x_299); +x_333 = lean_ctor_get(x_331, 0); +lean_inc(x_333); +lean_dec(x_331); +lean_inc(x_2); +x_334 = l___private_Init_Lean_Elab_Command_2__getState(x_2, x_295); +if (lean_obj_tag(x_334) == 0) +{ +lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; uint8_t x_340; +x_335 = lean_ctor_get(x_332, 0); +lean_inc(x_335); +x_336 = lean_ctor_get(x_334, 0); +lean_inc(x_336); +x_337 = lean_ctor_get(x_334, 1); +lean_inc(x_337); +lean_dec(x_334); +x_338 = lean_ctor_get(x_335, 0); +lean_inc(x_338); +lean_dec(x_335); +x_339 = lean_ctor_get(x_332, 2); +lean_inc(x_339); +lean_dec(x_332); +x_340 = !lean_is_exclusive(x_336); +if (x_340 == 0) +{ +lean_object* x_341; lean_object* x_342; lean_object* x_343; +x_341 = lean_ctor_get(x_336, 1); +lean_dec(x_341); +x_342 = lean_ctor_get(x_336, 0); +lean_dec(x_342); +lean_ctor_set(x_336, 1, x_339); +lean_ctor_set(x_336, 0, x_338); +x_343 = l___private_Init_Lean_Elab_Command_3__setState(x_336, x_2, x_337); +if (lean_obj_tag(x_343) == 0) +{ +uint8_t x_344; +x_344 = !lean_is_exclusive(x_343); +if (x_344 == 0) +{ +lean_object* x_345; +x_345 = lean_ctor_get(x_343, 0); +lean_dec(x_345); +lean_ctor_set_tag(x_343, 1); +lean_ctor_set(x_343, 0, x_333); +return x_343; +} +else +{ +lean_object* x_346; lean_object* x_347; +x_346 = lean_ctor_get(x_343, 1); +lean_inc(x_346); +lean_dec(x_343); +x_347 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_347, 0, x_333); +lean_ctor_set(x_347, 1, x_346); +return x_347; +} +} +else +{ +uint8_t x_348; +lean_dec(x_333); +x_348 = !lean_is_exclusive(x_343); +if (x_348 == 0) +{ +return x_343; +} +else +{ +lean_object* x_349; lean_object* x_350; lean_object* x_351; +x_349 = lean_ctor_get(x_343, 0); +x_350 = lean_ctor_get(x_343, 1); +lean_inc(x_350); +lean_inc(x_349); +lean_dec(x_343); +x_351 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_351, 0, x_349); +lean_ctor_set(x_351, 1, x_350); +return x_351; +} +} +} +else +{ +lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; +x_352 = lean_ctor_get(x_336, 2); +x_353 = lean_ctor_get(x_336, 3); +x_354 = lean_ctor_get(x_336, 4); +lean_inc(x_354); +lean_inc(x_353); +lean_inc(x_352); +lean_dec(x_336); +x_355 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_355, 0, x_338); +lean_ctor_set(x_355, 1, x_339); +lean_ctor_set(x_355, 2, x_352); +lean_ctor_set(x_355, 3, x_353); +lean_ctor_set(x_355, 4, x_354); +x_356 = l___private_Init_Lean_Elab_Command_3__setState(x_355, x_2, x_337); +if (lean_obj_tag(x_356) == 0) +{ +lean_object* x_357; lean_object* x_358; lean_object* x_359; +x_357 = lean_ctor_get(x_356, 1); +lean_inc(x_357); +if (lean_is_exclusive(x_356)) { + lean_ctor_release(x_356, 0); + lean_ctor_release(x_356, 1); + x_358 = x_356; +} else { + lean_dec_ref(x_356); + x_358 = lean_box(0); +} +if (lean_is_scalar(x_358)) { + x_359 = lean_alloc_ctor(1, 2, 0); +} else { + x_359 = x_358; + lean_ctor_set_tag(x_359, 1); +} +lean_ctor_set(x_359, 0, x_333); +lean_ctor_set(x_359, 1, x_357); +return x_359; +} +else +{ +lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; +lean_dec(x_333); +x_360 = lean_ctor_get(x_356, 0); +lean_inc(x_360); +x_361 = lean_ctor_get(x_356, 1); +lean_inc(x_361); +if (lean_is_exclusive(x_356)) { + lean_ctor_release(x_356, 0); + lean_ctor_release(x_356, 1); + x_362 = x_356; +} else { + lean_dec_ref(x_356); + x_362 = lean_box(0); +} +if (lean_is_scalar(x_362)) { + x_363 = lean_alloc_ctor(1, 2, 0); +} else { + x_363 = x_362; +} +lean_ctor_set(x_363, 0, x_360); +lean_ctor_set(x_363, 1, x_361); +return x_363; +} +} +} +else +{ +uint8_t x_364; +lean_dec(x_333); +lean_dec(x_332); +lean_dec(x_2); +x_364 = !lean_is_exclusive(x_334); +if (x_364 == 0) +{ +return x_334; +} +else +{ +lean_object* x_365; lean_object* x_366; lean_object* x_367; +x_365 = lean_ctor_get(x_334, 0); +x_366 = lean_ctor_get(x_334, 1); +lean_inc(x_366); +lean_inc(x_365); +lean_dec(x_334); +x_367 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_367, 0, x_365); +lean_ctor_set(x_367, 1, x_366); +return x_367; +} +} +} +else +{ +lean_object* x_368; lean_object* x_369; lean_object* x_370; +lean_dec(x_299); +x_368 = l_Lean_Elab_Command_runTermElabM___rarg___closed__1; +x_369 = l_unreachable_x21___rarg(x_368); +lean_inc(x_2); +x_370 = lean_apply_2(x_369, x_2, x_295); +if (lean_obj_tag(x_370) == 0) +{ +lean_object* x_371; lean_object* x_372; +x_371 = lean_ctor_get(x_370, 0); +lean_inc(x_371); +x_372 = lean_ctor_get(x_370, 1); +lean_inc(x_372); +lean_dec(x_370); +x_18 = x_371; +x_19 = x_372; +goto block_290; +} +else +{ +uint8_t x_373; +lean_dec(x_17); +lean_dec(x_13); +lean_dec(x_2); +lean_dec(x_1); +x_373 = !lean_is_exclusive(x_370); +if (x_373 == 0) +{ +return x_370; +} +else +{ +lean_object* x_374; lean_object* x_375; lean_object* x_376; +x_374 = lean_ctor_get(x_370, 0); +x_375 = lean_ctor_get(x_370, 1); +lean_inc(x_375); +lean_inc(x_374); +lean_dec(x_370); +x_376 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_376, 0, x_374); +lean_ctor_set(x_376, 1, x_375); +return x_376; +} +} +} +} +} +else +{ +uint8_t x_377; +lean_dec(x_292); +lean_dec(x_17); +lean_dec(x_13); +lean_dec(x_2); +lean_dec(x_1); +x_377 = !lean_is_exclusive(x_293); +if (x_377 == 0) +{ +return x_293; +} +else +{ +lean_object* x_378; lean_object* x_379; lean_object* x_380; +x_378 = lean_ctor_get(x_293, 0); +x_379 = lean_ctor_get(x_293, 1); +lean_inc(x_379); +lean_inc(x_378); +lean_dec(x_293); +x_380 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_380, 0, x_378); +lean_ctor_set(x_380, 1, x_379); +return x_380; +} +} +block_290: +{ +lean_object* x_20; uint8_t x_21; x_20 = lean_ctor_get(x_18, 1); lean_inc(x_20); +x_21 = lean_unbox(x_20); +lean_dec(x_20); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_22 = lean_ctor_get(x_18, 0); +lean_inc(x_22); lean_dec(x_18); -x_21 = lean_box(0); -x_22 = l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__mkParserSeq___spec__1___closed__6; -x_23 = lean_name_mk_numeral(x_22, x_19); -x_24 = lean_box(0); -x_25 = l_Lean_Elab_Command_elabSyntax___closed__3; -x_26 = l_Lean_Elab_Command_elabSyntax___closed__5; -x_27 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_27, 0, x_21); -lean_ctor_set(x_27, 1, x_25); -lean_ctor_set(x_27, 2, x_23); -lean_ctor_set(x_27, 3, x_26); -x_28 = l_Array_empty___closed__1; -x_29 = lean_array_push(x_28, x_27); -x_30 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; -x_31 = lean_array_push(x_29, x_30); -x_32 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_33 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_31); -lean_inc(x_1); -x_154 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabSyntax___lambda__1___boxed), 4, 1); -lean_closure_set(x_154, 0, x_1); -lean_inc(x_2); -x_155 = l___private_Init_Lean_Elab_Command_2__getState(x_2, x_20); -if (lean_obj_tag(x_155) == 0) -{ -lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; -x_156 = lean_ctor_get(x_155, 0); -lean_inc(x_156); -x_157 = lean_ctor_get(x_155, 1); -lean_inc(x_157); -lean_dec(x_155); -x_158 = l___private_Init_Lean_Elab_Command_11__getVarDecls(x_156); -x_159 = l___private_Init_Lean_Elab_Command_9__mkTermContext(x_2, x_156, x_21); -x_160 = l___private_Init_Lean_Elab_Command_10__mkTermState(x_156); -lean_dec(x_156); -x_161 = l_Lean_Elab_Term_elabBinders___rarg(x_158, x_154, x_159, x_160); -lean_dec(x_158); -if (lean_obj_tag(x_161) == 0) -{ -lean_object* x_162; lean_object* x_163; lean_object* x_164; -x_162 = lean_ctor_get(x_161, 0); -lean_inc(x_162); -x_163 = lean_ctor_get(x_161, 1); -lean_inc(x_163); -lean_dec(x_161); -lean_inc(x_2); -x_164 = l___private_Init_Lean_Elab_Command_2__getState(x_2, x_157); -if (lean_obj_tag(x_164) == 0) -{ -lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; uint8_t x_170; -x_165 = lean_ctor_get(x_163, 0); -lean_inc(x_165); -x_166 = lean_ctor_get(x_164, 0); -lean_inc(x_166); -x_167 = lean_ctor_get(x_164, 1); -lean_inc(x_167); -lean_dec(x_164); -x_168 = lean_ctor_get(x_165, 0); -lean_inc(x_168); -lean_dec(x_165); -x_169 = lean_ctor_get(x_163, 2); -lean_inc(x_169); -lean_dec(x_163); -x_170 = !lean_is_exclusive(x_166); -if (x_170 == 0) -{ -lean_object* x_171; lean_object* x_172; lean_object* x_173; -x_171 = lean_ctor_get(x_166, 1); -lean_dec(x_171); -x_172 = lean_ctor_get(x_166, 0); -lean_dec(x_172); -lean_ctor_set(x_166, 1, x_169); -lean_ctor_set(x_166, 0, x_168); -lean_inc(x_2); -x_173 = l___private_Init_Lean_Elab_Command_3__setState(x_166, x_2, x_167); -if (lean_obj_tag(x_173) == 0) -{ -lean_object* x_174; -x_174 = lean_ctor_get(x_173, 1); -lean_inc(x_174); -lean_dec(x_173); -x_34 = x_162; -x_35 = x_174; -goto block_153; -} -else -{ -uint8_t x_175; -lean_dec(x_162); -lean_dec(x_33); -lean_dec(x_17); -lean_dec(x_13); -lean_dec(x_2); -lean_dec(x_1); -x_175 = !lean_is_exclusive(x_173); -if (x_175 == 0) -{ -return x_173; -} -else -{ -lean_object* x_176; lean_object* x_177; lean_object* x_178; -x_176 = lean_ctor_get(x_173, 0); -x_177 = lean_ctor_get(x_173, 1); -lean_inc(x_177); -lean_inc(x_176); -lean_dec(x_173); -x_178 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_178, 0, x_176); -lean_ctor_set(x_178, 1, x_177); -return x_178; -} -} -} -else -{ -lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; -x_179 = lean_ctor_get(x_166, 2); -x_180 = lean_ctor_get(x_166, 3); -x_181 = lean_ctor_get(x_166, 4); -lean_inc(x_181); -lean_inc(x_180); -lean_inc(x_179); -lean_dec(x_166); -x_182 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_182, 0, x_168); -lean_ctor_set(x_182, 1, x_169); -lean_ctor_set(x_182, 2, x_179); -lean_ctor_set(x_182, 3, x_180); -lean_ctor_set(x_182, 4, x_181); -lean_inc(x_2); -x_183 = l___private_Init_Lean_Elab_Command_3__setState(x_182, x_2, x_167); -if (lean_obj_tag(x_183) == 0) -{ -lean_object* x_184; -x_184 = lean_ctor_get(x_183, 1); -lean_inc(x_184); -lean_dec(x_183); -x_34 = x_162; -x_35 = x_184; -goto block_153; -} -else -{ -lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; -lean_dec(x_162); -lean_dec(x_33); -lean_dec(x_17); -lean_dec(x_13); -lean_dec(x_2); -lean_dec(x_1); -x_185 = lean_ctor_get(x_183, 0); -lean_inc(x_185); -x_186 = lean_ctor_get(x_183, 1); -lean_inc(x_186); -if (lean_is_exclusive(x_183)) { - lean_ctor_release(x_183, 0); - lean_ctor_release(x_183, 1); - x_187 = x_183; -} else { - lean_dec_ref(x_183); - x_187 = lean_box(0); -} -if (lean_is_scalar(x_187)) { - x_188 = lean_alloc_ctor(1, 2, 0); -} else { - x_188 = x_187; -} -lean_ctor_set(x_188, 0, x_185); -lean_ctor_set(x_188, 1, x_186); -return x_188; -} -} -} -else -{ -uint8_t x_189; -lean_dec(x_163); -lean_dec(x_162); -lean_dec(x_33); -lean_dec(x_17); -lean_dec(x_13); -lean_dec(x_2); -lean_dec(x_1); -x_189 = !lean_is_exclusive(x_164); -if (x_189 == 0) -{ -return x_164; -} -else -{ -lean_object* x_190; lean_object* x_191; lean_object* x_192; -x_190 = lean_ctor_get(x_164, 0); -x_191 = lean_ctor_get(x_164, 1); -lean_inc(x_191); -lean_inc(x_190); -lean_dec(x_164); -x_192 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_192, 0, x_190); -lean_ctor_set(x_192, 1, x_191); -return x_192; -} -} -} -else -{ -lean_object* x_193; -x_193 = lean_ctor_get(x_161, 0); -lean_inc(x_193); -if (lean_obj_tag(x_193) == 0) -{ -lean_object* x_194; lean_object* x_195; lean_object* x_196; -lean_dec(x_33); -lean_dec(x_17); -lean_dec(x_13); -lean_dec(x_1); -x_194 = lean_ctor_get(x_161, 1); -lean_inc(x_194); -lean_dec(x_161); -x_195 = lean_ctor_get(x_193, 0); -lean_inc(x_195); -lean_dec(x_193); -lean_inc(x_2); -x_196 = l___private_Init_Lean_Elab_Command_2__getState(x_2, x_157); -if (lean_obj_tag(x_196) == 0) -{ -lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; uint8_t x_202; -x_197 = lean_ctor_get(x_194, 0); -lean_inc(x_197); -x_198 = lean_ctor_get(x_196, 0); -lean_inc(x_198); -x_199 = lean_ctor_get(x_196, 1); -lean_inc(x_199); -lean_dec(x_196); -x_200 = lean_ctor_get(x_197, 0); -lean_inc(x_200); -lean_dec(x_197); -x_201 = lean_ctor_get(x_194, 2); -lean_inc(x_201); -lean_dec(x_194); -x_202 = !lean_is_exclusive(x_198); -if (x_202 == 0) -{ -lean_object* x_203; lean_object* x_204; lean_object* x_205; -x_203 = lean_ctor_get(x_198, 1); -lean_dec(x_203); -x_204 = lean_ctor_get(x_198, 0); -lean_dec(x_204); -lean_ctor_set(x_198, 1, x_201); -lean_ctor_set(x_198, 0, x_200); -x_205 = l___private_Init_Lean_Elab_Command_3__setState(x_198, x_2, x_199); -if (lean_obj_tag(x_205) == 0) -{ -uint8_t x_206; -x_206 = !lean_is_exclusive(x_205); -if (x_206 == 0) -{ -lean_object* x_207; -x_207 = lean_ctor_get(x_205, 0); -lean_dec(x_207); -lean_ctor_set_tag(x_205, 1); -lean_ctor_set(x_205, 0, x_195); -return x_205; -} -else -{ -lean_object* x_208; lean_object* x_209; -x_208 = lean_ctor_get(x_205, 1); -lean_inc(x_208); -lean_dec(x_205); -x_209 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_209, 0, x_195); -lean_ctor_set(x_209, 1, x_208); -return x_209; -} -} -else -{ -uint8_t x_210; -lean_dec(x_195); -x_210 = !lean_is_exclusive(x_205); -if (x_210 == 0) -{ -return x_205; -} -else -{ -lean_object* x_211; lean_object* x_212; lean_object* x_213; -x_211 = lean_ctor_get(x_205, 0); -x_212 = lean_ctor_get(x_205, 1); -lean_inc(x_212); -lean_inc(x_211); -lean_dec(x_205); -x_213 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_213, 0, x_211); -lean_ctor_set(x_213, 1, x_212); -return x_213; -} -} -} -else -{ -lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; -x_214 = lean_ctor_get(x_198, 2); -x_215 = lean_ctor_get(x_198, 3); -x_216 = lean_ctor_get(x_198, 4); -lean_inc(x_216); -lean_inc(x_215); -lean_inc(x_214); -lean_dec(x_198); -x_217 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_217, 0, x_200); -lean_ctor_set(x_217, 1, x_201); -lean_ctor_set(x_217, 2, x_214); -lean_ctor_set(x_217, 3, x_215); -lean_ctor_set(x_217, 4, x_216); -x_218 = l___private_Init_Lean_Elab_Command_3__setState(x_217, x_2, x_199); -if (lean_obj_tag(x_218) == 0) -{ -lean_object* x_219; lean_object* x_220; lean_object* x_221; -x_219 = lean_ctor_get(x_218, 1); -lean_inc(x_219); -if (lean_is_exclusive(x_218)) { - lean_ctor_release(x_218, 0); - lean_ctor_release(x_218, 1); - x_220 = x_218; -} else { - lean_dec_ref(x_218); - x_220 = lean_box(0); -} -if (lean_is_scalar(x_220)) { - x_221 = lean_alloc_ctor(1, 2, 0); -} else { - x_221 = x_220; - lean_ctor_set_tag(x_221, 1); -} -lean_ctor_set(x_221, 0, x_195); -lean_ctor_set(x_221, 1, x_219); -return x_221; -} -else -{ -lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; -lean_dec(x_195); -x_222 = lean_ctor_get(x_218, 0); -lean_inc(x_222); -x_223 = lean_ctor_get(x_218, 1); -lean_inc(x_223); -if (lean_is_exclusive(x_218)) { - lean_ctor_release(x_218, 0); - lean_ctor_release(x_218, 1); - x_224 = x_218; -} else { - lean_dec_ref(x_218); - x_224 = lean_box(0); -} -if (lean_is_scalar(x_224)) { - x_225 = lean_alloc_ctor(1, 2, 0); -} else { - x_225 = x_224; -} -lean_ctor_set(x_225, 0, x_222); -lean_ctor_set(x_225, 1, x_223); -return x_225; -} -} -} -else -{ -uint8_t x_226; -lean_dec(x_195); -lean_dec(x_194); -lean_dec(x_2); -x_226 = !lean_is_exclusive(x_196); -if (x_226 == 0) -{ -return x_196; -} -else -{ -lean_object* x_227; lean_object* x_228; lean_object* x_229; -x_227 = lean_ctor_get(x_196, 0); -x_228 = lean_ctor_get(x_196, 1); -lean_inc(x_228); -lean_inc(x_227); -lean_dec(x_196); -x_229 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_229, 0, x_227); -lean_ctor_set(x_229, 1, x_228); -return x_229; -} -} -} -else -{ -lean_object* x_230; lean_object* x_231; lean_object* x_232; -lean_dec(x_161); -x_230 = l_Lean_Elab_Command_runTermElabM___rarg___closed__1; -x_231 = l_unreachable_x21___rarg(x_230); -lean_inc(x_2); -x_232 = lean_apply_2(x_231, x_2, x_157); -if (lean_obj_tag(x_232) == 0) -{ -lean_object* x_233; lean_object* x_234; -x_233 = lean_ctor_get(x_232, 0); -lean_inc(x_233); -x_234 = lean_ctor_get(x_232, 1); -lean_inc(x_234); -lean_dec(x_232); -x_34 = x_233; -x_35 = x_234; -goto block_153; -} -else -{ -uint8_t x_235; -lean_dec(x_33); -lean_dec(x_17); -lean_dec(x_13); -lean_dec(x_2); -lean_dec(x_1); -x_235 = !lean_is_exclusive(x_232); -if (x_235 == 0) -{ -return x_232; -} -else -{ -lean_object* x_236; lean_object* x_237; lean_object* x_238; -x_236 = lean_ctor_get(x_232, 0); -x_237 = lean_ctor_get(x_232, 1); -lean_inc(x_237); -lean_inc(x_236); -lean_dec(x_232); -x_238 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_238, 0, x_236); -lean_ctor_set(x_238, 1, x_237); -return x_238; -} -} -} -} -} -else -{ -uint8_t x_239; -lean_dec(x_154); -lean_dec(x_33); -lean_dec(x_17); -lean_dec(x_13); -lean_dec(x_2); -lean_dec(x_1); -x_239 = !lean_is_exclusive(x_155); -if (x_239 == 0) -{ -return x_155; -} -else -{ -lean_object* x_240; lean_object* x_241; lean_object* x_242; -x_240 = lean_ctor_get(x_155, 0); -x_241 = lean_ctor_get(x_155, 1); -lean_inc(x_241); -lean_inc(x_240); -lean_dec(x_155); -x_242 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_242, 0, x_240); -lean_ctor_set(x_242, 1, x_241); -return x_242; -} -} -block_153: -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_36 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_35); -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_36, 1); -lean_inc(x_38); -lean_dec(x_36); -x_39 = lean_array_push(x_28, x_17); -x_40 = lean_array_push(x_39, x_30); -x_41 = l_Lean_Parser_Command_attrInstance___elambda__1___closed__2; -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_40); -x_43 = lean_array_push(x_28, x_42); -x_44 = l_Lean_nullKind___closed__2; +x_23 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_19); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_box(0); +x_27 = l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__mkParserSeq___spec__1___closed__6; +x_28 = lean_name_mk_numeral(x_27, x_24); +x_29 = lean_box(0); +x_30 = l_Lean_Elab_Command_elabSyntax___closed__3; +x_31 = l_Lean_Elab_Command_elabSyntax___closed__5; +x_32 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_32, 0, x_26); +lean_ctor_set(x_32, 1, x_30); +lean_ctor_set(x_32, 2, x_28); +lean_ctor_set(x_32, 3, x_31); +x_33 = l_Array_empty___closed__1; +x_34 = lean_array_push(x_33, x_32); +x_35 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_36 = lean_array_push(x_34, x_35); +x_37 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_36); +x_39 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_25); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec(x_39); +x_42 = lean_array_push(x_33, x_17); +x_43 = lean_array_push(x_42, x_35); +x_44 = l_Lean_Parser_Command_attrInstance___elambda__1___closed__2; x_45 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_45, 0, x_44); lean_ctor_set(x_45, 1, x_43); -x_46 = l_Lean_Elab_Command_elabSyntax___closed__8; -x_47 = lean_array_push(x_46, x_45); -x_48 = l_Lean_Elab_Term_elabArrayLit___closed__13; -x_49 = lean_array_push(x_47, x_48); -x_50 = l_Lean_Parser_Command_attributes___elambda__1___closed__2; -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_49); -x_52 = lean_array_push(x_28, x_51); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_44); -lean_ctor_set(x_53, 1, x_52); -x_54 = l_Lean_Elab_Command_elabSyntax___closed__6; -x_55 = lean_array_push(x_54, x_53); -x_56 = lean_array_push(x_55, x_30); -x_57 = lean_array_push(x_56, x_30); -x_58 = lean_array_push(x_57, x_30); -x_59 = lean_array_push(x_58, x_30); -x_60 = l_Lean_Parser_Command_declModifiers___elambda__1___closed__2; -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_59); -x_62 = lean_array_push(x_28, x_61); -x_63 = l_Lean_Elab_Command_elabSyntax___closed__14; -lean_inc(x_37); -x_64 = lean_name_mk_numeral(x_63, x_37); -x_65 = l_Lean_Elab_Command_elabSyntax___closed__13; -x_66 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_66, 0, x_21); -lean_ctor_set(x_66, 1, x_65); -lean_ctor_set(x_66, 2, x_64); -lean_ctor_set(x_66, 3, x_24); -x_67 = lean_array_push(x_28, x_66); -x_68 = lean_array_push(x_67, x_30); -x_69 = l_Lean_Parser_Command_declId___elambda__1___closed__2; -x_70 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_68); -x_71 = l_Lean_Elab_Command_elabSyntax___closed__10; -x_72 = lean_array_push(x_71, x_70); -x_73 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__6; -x_74 = lean_array_push(x_73, x_33); -x_75 = l_Lean_Parser_Term_typeSpec___elambda__1___closed__2; -x_76 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_76, 0, x_75); -lean_ctor_set(x_76, 1, x_74); -x_77 = lean_array_push(x_28, x_76); -x_78 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_78, 0, x_44); -lean_ctor_set(x_78, 1, x_77); -x_79 = lean_array_push(x_54, x_78); -x_80 = l_Lean_Parser_Command_optDeclSig___elambda__1___closed__2; +x_46 = lean_array_push(x_33, x_45); +x_47 = l_Lean_nullKind___closed__2; +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_46); +x_49 = l_Lean_Elab_Command_elabSyntax___closed__8; +x_50 = lean_array_push(x_49, x_48); +x_51 = l_Lean_Elab_Term_elabArrayLit___closed__13; +x_52 = lean_array_push(x_50, x_51); +x_53 = l_Lean_Parser_Command_attributes___elambda__1___closed__2; +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_52); +x_55 = lean_array_push(x_33, x_54); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_47); +lean_ctor_set(x_56, 1, x_55); +x_57 = l_Lean_Elab_Command_elabSyntax___closed__6; +x_58 = lean_array_push(x_57, x_56); +x_59 = lean_array_push(x_58, x_35); +x_60 = lean_array_push(x_59, x_35); +x_61 = lean_array_push(x_60, x_35); +x_62 = lean_array_push(x_61, x_35); +x_63 = l_Lean_Parser_Command_declModifiers___elambda__1___closed__2; +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_62); +x_65 = lean_array_push(x_33, x_64); +x_66 = l_Lean_Elab_Command_elabSyntax___closed__14; +lean_inc(x_40); +x_67 = lean_name_mk_numeral(x_66, x_40); +x_68 = l_Lean_Elab_Command_elabSyntax___closed__13; +x_69 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_69, 0, x_26); +lean_ctor_set(x_69, 1, x_68); +lean_ctor_set(x_69, 2, x_67); +lean_ctor_set(x_69, 3, x_29); +x_70 = lean_array_push(x_33, x_69); +x_71 = lean_array_push(x_70, x_35); +x_72 = l_Lean_Parser_Command_declId___elambda__1___closed__2; +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_71); +x_74 = l_Lean_Elab_Command_elabSyntax___closed__10; +x_75 = lean_array_push(x_74, x_73); +x_76 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__6; +x_77 = lean_array_push(x_76, x_38); +x_78 = l_Lean_Parser_Term_typeSpec___elambda__1___closed__2; +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_77); +x_80 = lean_array_push(x_33, x_79); x_81 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_81, 0, x_80); -lean_ctor_set(x_81, 1, x_79); -x_82 = lean_array_push(x_72, x_81); -x_83 = l_Lean_Elab_Command_elabSyntax___closed__19; -x_84 = lean_name_mk_numeral(x_83, x_37); -x_85 = l_Lean_Elab_Command_elabSyntax___closed__18; -x_86 = l_Lean_Elab_Command_elabSyntax___closed__22; -x_87 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_87, 0, x_21); -lean_ctor_set(x_87, 1, x_85); -lean_ctor_set(x_87, 2, x_84); -lean_ctor_set(x_87, 3, x_86); -x_88 = lean_array_push(x_28, x_87); -x_89 = lean_array_push(x_88, x_30); -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_32); -lean_ctor_set(x_90, 1, x_89); -x_91 = lean_array_push(x_28, x_90); -x_92 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_13); -x_93 = lean_array_push(x_91, x_92); -x_94 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_95 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_93); -x_96 = lean_array_push(x_28, x_95); -x_97 = lean_array_push(x_96, x_34); +lean_ctor_set(x_81, 0, x_47); +lean_ctor_set(x_81, 1, x_80); +x_82 = lean_array_push(x_57, x_81); +x_83 = l_Lean_Parser_Command_optDeclSig___elambda__1___closed__2; +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_84, 1, x_82); +x_85 = lean_array_push(x_75, x_84); +x_86 = l_Lean_Elab_Command_elabSyntax___closed__19; +x_87 = lean_name_mk_numeral(x_86, x_40); +x_88 = l_Lean_Elab_Command_elabSyntax___closed__18; +x_89 = l_Lean_Elab_Command_elabSyntax___closed__22; +x_90 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_90, 0, x_26); +lean_ctor_set(x_90, 1, x_88); +lean_ctor_set(x_90, 2, x_87); +lean_ctor_set(x_90, 3, x_89); +x_91 = lean_array_push(x_33, x_90); +x_92 = lean_array_push(x_91, x_35); +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_37); +lean_ctor_set(x_93, 1, x_92); +x_94 = lean_array_push(x_33, x_93); +x_95 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_13); +x_96 = lean_array_push(x_94, x_95); +x_97 = l_Lean_Parser_Term_app___elambda__1___closed__2; x_98 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_98, 0, x_94); -lean_ctor_set(x_98, 1, x_97); -x_99 = l_Lean_Elab_Command_elabSyntax___closed__15; -x_100 = lean_array_push(x_99, x_98); -x_101 = l_Lean_Parser_Command_declValSimple___elambda__1___closed__2; -x_102 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_100); -x_103 = lean_array_push(x_82, x_102); -x_104 = l_Lean_Parser_Command_def___elambda__1___closed__2; +lean_ctor_set(x_98, 0, x_97); +lean_ctor_set(x_98, 1, x_96); +x_99 = lean_array_push(x_33, x_98); +x_100 = lean_array_push(x_99, x_22); +x_101 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_101, 0, x_97); +lean_ctor_set(x_101, 1, x_100); +x_102 = l_Lean_Elab_Command_elabSyntax___closed__15; +x_103 = lean_array_push(x_102, x_101); +x_104 = l_Lean_Parser_Command_declValSimple___elambda__1___closed__2; x_105 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_105, 0, x_104); lean_ctor_set(x_105, 1, x_103); -x_106 = lean_array_push(x_62, x_105); -x_107 = l_Lean_Parser_Command_declaration___elambda__1___closed__2; +x_106 = lean_array_push(x_85, x_105); +x_107 = l_Lean_Parser_Command_def___elambda__1___closed__2; x_108 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_108, 0, x_107); lean_ctor_set(x_108, 1, x_106); +x_109 = lean_array_push(x_65, x_108); +x_110 = l_Lean_Parser_Command_declaration___elambda__1___closed__2; +x_111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_111, 0, x_110); +lean_ctor_set(x_111, 1, x_109); lean_inc(x_2); -x_109 = l_Lean_Elab_Command_getOptions(x_2, x_38); -if (lean_obj_tag(x_109) == 0) +x_112 = l_Lean_Elab_Command_getOptions(x_2, x_41); +if (lean_obj_tag(x_112) == 0) { -lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; -x_110 = lean_ctor_get(x_109, 0); -lean_inc(x_110); -x_111 = lean_ctor_get(x_109, 1); -lean_inc(x_111); -lean_dec(x_109); -x_112 = l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__2; -x_113 = l_Lean_checkTraceOption(x_110, x_112); -lean_dec(x_110); -if (x_113 == 0) +lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; +x_113 = lean_ctor_get(x_112, 0); +lean_inc(x_113); +x_114 = lean_ctor_get(x_112, 1); +lean_inc(x_114); +lean_dec(x_112); +x_115 = l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__2; +x_116 = l_Lean_checkTraceOption(x_113, x_115); +lean_dec(x_113); +if (x_116 == 0) { -uint8_t x_114; -x_114 = !lean_is_exclusive(x_2); -if (x_114 == 0) +uint8_t x_117; +x_117 = !lean_is_exclusive(x_2); +if (x_117 == 0) { -lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_115 = lean_ctor_get(x_2, 5); -x_116 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_116, 0, x_1); -lean_ctor_set(x_116, 1, x_115); -lean_ctor_set(x_2, 5, x_116); -x_117 = l_Lean_Elab_Command_elabCommand___main(x_108, x_2, x_111); -return x_117; +lean_object* x_118; lean_object* x_119; lean_object* x_120; +x_118 = lean_ctor_get(x_2, 5); +x_119 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_119, 0, x_1); +lean_ctor_set(x_119, 1, x_118); +lean_ctor_set(x_2, 5, x_119); +x_120 = l_Lean_Elab_Command_elabCommand___main(x_111, x_2, x_114); +return x_120; } else { -lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; -x_118 = lean_ctor_get(x_2, 0); -x_119 = lean_ctor_get(x_2, 1); -x_120 = lean_ctor_get(x_2, 2); -x_121 = lean_ctor_get(x_2, 3); -x_122 = lean_ctor_get(x_2, 4); -x_123 = lean_ctor_get(x_2, 5); -x_124 = lean_ctor_get(x_2, 6); +lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_121 = lean_ctor_get(x_2, 0); +x_122 = lean_ctor_get(x_2, 1); +x_123 = lean_ctor_get(x_2, 2); +x_124 = lean_ctor_get(x_2, 3); +x_125 = lean_ctor_get(x_2, 4); +x_126 = lean_ctor_get(x_2, 5); +x_127 = lean_ctor_get(x_2, 6); +lean_inc(x_127); +lean_inc(x_126); +lean_inc(x_125); lean_inc(x_124); lean_inc(x_123); lean_inc(x_122); lean_inc(x_121); -lean_inc(x_120); -lean_inc(x_119); -lean_inc(x_118); lean_dec(x_2); -x_125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_125, 0, x_1); -lean_ctor_set(x_125, 1, x_123); -x_126 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_126, 0, x_118); -lean_ctor_set(x_126, 1, x_119); -lean_ctor_set(x_126, 2, x_120); -lean_ctor_set(x_126, 3, x_121); -lean_ctor_set(x_126, 4, x_122); -lean_ctor_set(x_126, 5, x_125); -lean_ctor_set(x_126, 6, x_124); -x_127 = l_Lean_Elab_Command_elabCommand___main(x_108, x_126, x_111); -return x_127; +x_128 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_128, 0, x_1); +lean_ctor_set(x_128, 1, x_126); +x_129 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_129, 0, x_121); +lean_ctor_set(x_129, 1, x_122); +lean_ctor_set(x_129, 2, x_123); +lean_ctor_set(x_129, 3, x_124); +lean_ctor_set(x_129, 4, x_125); +lean_ctor_set(x_129, 5, x_128); +lean_ctor_set(x_129, 6, x_127); +x_130 = l_Lean_Elab_Command_elabCommand___main(x_111, x_129, x_114); +return x_130; } } else { -lean_object* x_128; lean_object* x_129; -lean_inc(x_108); -x_128 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_128, 0, x_108); +lean_object* x_131; lean_object* x_132; +lean_inc(x_111); +x_131 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_131, 0, x_111); lean_inc(x_2); -x_129 = l_Lean_Elab_Command_logTrace(x_112, x_1, x_128, x_2, x_111); -if (lean_obj_tag(x_129) == 0) +x_132 = l_Lean_Elab_Command_logTrace(x_115, x_1, x_131, x_2, x_114); +if (lean_obj_tag(x_132) == 0) { -lean_object* x_130; uint8_t x_131; -x_130 = lean_ctor_get(x_129, 1); -lean_inc(x_130); -lean_dec(x_129); -x_131 = !lean_is_exclusive(x_2); -if (x_131 == 0) +lean_object* x_133; uint8_t x_134; +x_133 = lean_ctor_get(x_132, 1); +lean_inc(x_133); +lean_dec(x_132); +x_134 = !lean_is_exclusive(x_2); +if (x_134 == 0) { -lean_object* x_132; lean_object* x_133; lean_object* x_134; -x_132 = lean_ctor_get(x_2, 5); -x_133 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_133, 0, x_1); -lean_ctor_set(x_133, 1, x_132); -lean_ctor_set(x_2, 5, x_133); -x_134 = l_Lean_Elab_Command_elabCommand___main(x_108, x_2, x_130); -return x_134; +lean_object* x_135; lean_object* x_136; lean_object* x_137; +x_135 = lean_ctor_get(x_2, 5); +x_136 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_136, 0, x_1); +lean_ctor_set(x_136, 1, x_135); +lean_ctor_set(x_2, 5, x_136); +x_137 = l_Lean_Elab_Command_elabCommand___main(x_111, x_2, x_133); +return x_137; } else { -lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; -x_135 = lean_ctor_get(x_2, 0); -x_136 = lean_ctor_get(x_2, 1); -x_137 = lean_ctor_get(x_2, 2); -x_138 = lean_ctor_get(x_2, 3); -x_139 = lean_ctor_get(x_2, 4); -x_140 = lean_ctor_get(x_2, 5); -x_141 = lean_ctor_get(x_2, 6); +lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; +x_138 = lean_ctor_get(x_2, 0); +x_139 = lean_ctor_get(x_2, 1); +x_140 = lean_ctor_get(x_2, 2); +x_141 = lean_ctor_get(x_2, 3); +x_142 = lean_ctor_get(x_2, 4); +x_143 = lean_ctor_get(x_2, 5); +x_144 = lean_ctor_get(x_2, 6); +lean_inc(x_144); +lean_inc(x_143); +lean_inc(x_142); lean_inc(x_141); lean_inc(x_140); lean_inc(x_139); lean_inc(x_138); -lean_inc(x_137); -lean_inc(x_136); -lean_inc(x_135); lean_dec(x_2); -x_142 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_142, 0, x_1); -lean_ctor_set(x_142, 1, x_140); -x_143 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_143, 0, x_135); -lean_ctor_set(x_143, 1, x_136); -lean_ctor_set(x_143, 2, x_137); -lean_ctor_set(x_143, 3, x_138); -lean_ctor_set(x_143, 4, x_139); -lean_ctor_set(x_143, 5, x_142); -lean_ctor_set(x_143, 6, x_141); -x_144 = l_Lean_Elab_Command_elabCommand___main(x_108, x_143, x_130); -return x_144; +x_145 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_145, 0, x_1); +lean_ctor_set(x_145, 1, x_143); +x_146 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_146, 0, x_138); +lean_ctor_set(x_146, 1, x_139); +lean_ctor_set(x_146, 2, x_140); +lean_ctor_set(x_146, 3, x_141); +lean_ctor_set(x_146, 4, x_142); +lean_ctor_set(x_146, 5, x_145); +lean_ctor_set(x_146, 6, x_144); +x_147 = l_Lean_Elab_Command_elabCommand___main(x_111, x_146, x_133); +return x_147; } } else { -uint8_t x_145; -lean_dec(x_108); +uint8_t x_148; +lean_dec(x_111); lean_dec(x_2); lean_dec(x_1); -x_145 = !lean_is_exclusive(x_129); -if (x_145 == 0) +x_148 = !lean_is_exclusive(x_132); +if (x_148 == 0) { -return x_129; +return x_132; } else { -lean_object* x_146; lean_object* x_147; lean_object* x_148; -x_146 = lean_ctor_get(x_129, 0); -x_147 = lean_ctor_get(x_129, 1); -lean_inc(x_147); -lean_inc(x_146); -lean_dec(x_129); -x_148 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_148, 0, x_146); -lean_ctor_set(x_148, 1, x_147); -return x_148; -} -} -} -} -else -{ -uint8_t x_149; -lean_dec(x_108); -lean_dec(x_2); -lean_dec(x_1); -x_149 = !lean_is_exclusive(x_109); -if (x_149 == 0) -{ -return x_109; -} -else -{ -lean_object* x_150; lean_object* x_151; lean_object* x_152; -x_150 = lean_ctor_get(x_109, 0); -x_151 = lean_ctor_get(x_109, 1); -lean_inc(x_151); +lean_object* x_149; lean_object* x_150; lean_object* x_151; +x_149 = lean_ctor_get(x_132, 0); +x_150 = lean_ctor_get(x_132, 1); lean_inc(x_150); -lean_dec(x_109); -x_152 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_152, 0, x_150); -lean_ctor_set(x_152, 1, x_151); -return x_152; +lean_inc(x_149); +lean_dec(x_132); +x_151 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_151, 0, x_149); +lean_ctor_set(x_151, 1, x_150); +return x_151; } } } } else { -uint8_t x_243; +uint8_t x_152; +lean_dec(x_111); +lean_dec(x_2); +lean_dec(x_1); +x_152 = !lean_is_exclusive(x_112); +if (x_152 == 0) +{ +return x_112; +} +else +{ +lean_object* x_153; lean_object* x_154; lean_object* x_155; +x_153 = lean_ctor_get(x_112, 0); +x_154 = lean_ctor_get(x_112, 1); +lean_inc(x_154); +lean_inc(x_153); +lean_dec(x_112); +x_155 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_155, 0, x_153); +lean_ctor_set(x_155, 1, x_154); +return x_155; +} +} +} +else +{ +lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; +x_156 = lean_ctor_get(x_18, 0); +lean_inc(x_156); +lean_dec(x_18); +x_157 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_19); +x_158 = lean_ctor_get(x_157, 0); +lean_inc(x_158); +x_159 = lean_ctor_get(x_157, 1); +lean_inc(x_159); +lean_dec(x_157); +x_160 = lean_box(0); +x_161 = l_Lean_Elab_Command_elabSyntax___closed__26; +x_162 = lean_name_mk_numeral(x_161, x_158); +x_163 = lean_box(0); +x_164 = l_Lean_Elab_Command_elabSyntax___closed__25; +x_165 = l_Lean_Elab_Command_elabSyntax___closed__28; +x_166 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_166, 0, x_160); +lean_ctor_set(x_166, 1, x_164); +lean_ctor_set(x_166, 2, x_162); +lean_ctor_set(x_166, 3, x_165); +x_167 = l_Array_empty___closed__1; +x_168 = lean_array_push(x_167, x_166); +x_169 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_170 = lean_array_push(x_168, x_169); +x_171 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_172 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_172, 0, x_171); +lean_ctor_set(x_172, 1, x_170); +x_173 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_159); +x_174 = lean_ctor_get(x_173, 0); +lean_inc(x_174); +x_175 = lean_ctor_get(x_173, 1); +lean_inc(x_175); +lean_dec(x_173); +x_176 = lean_array_push(x_167, x_17); +x_177 = lean_array_push(x_176, x_169); +x_178 = l_Lean_Parser_Command_attrInstance___elambda__1___closed__2; +x_179 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_179, 0, x_178); +lean_ctor_set(x_179, 1, x_177); +x_180 = lean_array_push(x_167, x_179); +x_181 = l_Lean_nullKind___closed__2; +x_182 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_182, 0, x_181); +lean_ctor_set(x_182, 1, x_180); +x_183 = l_Lean_Elab_Command_elabSyntax___closed__8; +x_184 = lean_array_push(x_183, x_182); +x_185 = l_Lean_Elab_Term_elabArrayLit___closed__13; +x_186 = lean_array_push(x_184, x_185); +x_187 = l_Lean_Parser_Command_attributes___elambda__1___closed__2; +x_188 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_188, 0, x_187); +lean_ctor_set(x_188, 1, x_186); +x_189 = lean_array_push(x_167, x_188); +x_190 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_190, 0, x_181); +lean_ctor_set(x_190, 1, x_189); +x_191 = l_Lean_Elab_Command_elabSyntax___closed__6; +x_192 = lean_array_push(x_191, x_190); +x_193 = lean_array_push(x_192, x_169); +x_194 = lean_array_push(x_193, x_169); +x_195 = lean_array_push(x_194, x_169); +x_196 = lean_array_push(x_195, x_169); +x_197 = l_Lean_Parser_Command_declModifiers___elambda__1___closed__2; +x_198 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_198, 0, x_197); +lean_ctor_set(x_198, 1, x_196); +x_199 = lean_array_push(x_167, x_198); +x_200 = l_Lean_Elab_Command_elabSyntax___closed__14; +lean_inc(x_174); +x_201 = lean_name_mk_numeral(x_200, x_174); +x_202 = l_Lean_Elab_Command_elabSyntax___closed__13; +x_203 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_203, 0, x_160); +lean_ctor_set(x_203, 1, x_202); +lean_ctor_set(x_203, 2, x_201); +lean_ctor_set(x_203, 3, x_163); +x_204 = lean_array_push(x_167, x_203); +x_205 = lean_array_push(x_204, x_169); +x_206 = l_Lean_Parser_Command_declId___elambda__1___closed__2; +x_207 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_207, 0, x_206); +lean_ctor_set(x_207, 1, x_205); +x_208 = l_Lean_Elab_Command_elabSyntax___closed__10; +x_209 = lean_array_push(x_208, x_207); +x_210 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__6; +x_211 = lean_array_push(x_210, x_172); +x_212 = l_Lean_Parser_Term_typeSpec___elambda__1___closed__2; +x_213 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_213, 0, x_212); +lean_ctor_set(x_213, 1, x_211); +x_214 = lean_array_push(x_167, x_213); +x_215 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_215, 0, x_181); +lean_ctor_set(x_215, 1, x_214); +x_216 = lean_array_push(x_191, x_215); +x_217 = l_Lean_Parser_Command_optDeclSig___elambda__1___closed__2; +x_218 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_218, 0, x_217); +lean_ctor_set(x_218, 1, x_216); +x_219 = lean_array_push(x_209, x_218); +x_220 = l_Lean_Elab_Command_elabSyntax___closed__19; +x_221 = lean_name_mk_numeral(x_220, x_174); +x_222 = l_Lean_Elab_Command_elabSyntax___closed__18; +x_223 = l_Lean_Elab_Command_elabSyntax___closed__22; +x_224 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_224, 0, x_160); +lean_ctor_set(x_224, 1, x_222); +lean_ctor_set(x_224, 2, x_221); +lean_ctor_set(x_224, 3, x_223); +x_225 = lean_array_push(x_167, x_224); +x_226 = lean_array_push(x_225, x_169); +x_227 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_227, 0, x_171); +lean_ctor_set(x_227, 1, x_226); +x_228 = lean_array_push(x_167, x_227); +x_229 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_13); +x_230 = lean_array_push(x_228, x_229); +x_231 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_232 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_232, 0, x_231); +lean_ctor_set(x_232, 1, x_230); +x_233 = lean_array_push(x_167, x_232); +x_234 = lean_array_push(x_233, x_156); +x_235 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_235, 0, x_231); +lean_ctor_set(x_235, 1, x_234); +x_236 = l_Lean_Elab_Command_elabSyntax___closed__15; +x_237 = lean_array_push(x_236, x_235); +x_238 = l_Lean_Parser_Command_declValSimple___elambda__1___closed__2; +x_239 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_239, 0, x_238); +lean_ctor_set(x_239, 1, x_237); +x_240 = lean_array_push(x_219, x_239); +x_241 = l_Lean_Parser_Command_def___elambda__1___closed__2; +x_242 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_242, 0, x_241); +lean_ctor_set(x_242, 1, x_240); +x_243 = lean_array_push(x_199, x_242); +x_244 = l_Lean_Parser_Command_declaration___elambda__1___closed__2; +x_245 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_245, 0, x_244); +lean_ctor_set(x_245, 1, x_243); +lean_inc(x_2); +x_246 = l_Lean_Elab_Command_getOptions(x_2, x_175); +if (lean_obj_tag(x_246) == 0) +{ +lean_object* x_247; lean_object* x_248; lean_object* x_249; uint8_t x_250; +x_247 = lean_ctor_get(x_246, 0); +lean_inc(x_247); +x_248 = lean_ctor_get(x_246, 1); +lean_inc(x_248); +lean_dec(x_246); +x_249 = l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__2; +x_250 = l_Lean_checkTraceOption(x_247, x_249); +lean_dec(x_247); +if (x_250 == 0) +{ +uint8_t x_251; +x_251 = !lean_is_exclusive(x_2); +if (x_251 == 0) +{ +lean_object* x_252; lean_object* x_253; lean_object* x_254; +x_252 = lean_ctor_get(x_2, 5); +x_253 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_253, 0, x_1); +lean_ctor_set(x_253, 1, x_252); +lean_ctor_set(x_2, 5, x_253); +x_254 = l_Lean_Elab_Command_elabCommand___main(x_245, x_2, x_248); +return x_254; +} +else +{ +lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; +x_255 = lean_ctor_get(x_2, 0); +x_256 = lean_ctor_get(x_2, 1); +x_257 = lean_ctor_get(x_2, 2); +x_258 = lean_ctor_get(x_2, 3); +x_259 = lean_ctor_get(x_2, 4); +x_260 = lean_ctor_get(x_2, 5); +x_261 = lean_ctor_get(x_2, 6); +lean_inc(x_261); +lean_inc(x_260); +lean_inc(x_259); +lean_inc(x_258); +lean_inc(x_257); +lean_inc(x_256); +lean_inc(x_255); +lean_dec(x_2); +x_262 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_262, 0, x_1); +lean_ctor_set(x_262, 1, x_260); +x_263 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_263, 0, x_255); +lean_ctor_set(x_263, 1, x_256); +lean_ctor_set(x_263, 2, x_257); +lean_ctor_set(x_263, 3, x_258); +lean_ctor_set(x_263, 4, x_259); +lean_ctor_set(x_263, 5, x_262); +lean_ctor_set(x_263, 6, x_261); +x_264 = l_Lean_Elab_Command_elabCommand___main(x_245, x_263, x_248); +return x_264; +} +} +else +{ +lean_object* x_265; lean_object* x_266; +lean_inc(x_245); +x_265 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_265, 0, x_245); +lean_inc(x_2); +x_266 = l_Lean_Elab_Command_logTrace(x_249, x_1, x_265, x_2, x_248); +if (lean_obj_tag(x_266) == 0) +{ +lean_object* x_267; uint8_t x_268; +x_267 = lean_ctor_get(x_266, 1); +lean_inc(x_267); +lean_dec(x_266); +x_268 = !lean_is_exclusive(x_2); +if (x_268 == 0) +{ +lean_object* x_269; lean_object* x_270; lean_object* x_271; +x_269 = lean_ctor_get(x_2, 5); +x_270 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_270, 0, x_1); +lean_ctor_set(x_270, 1, x_269); +lean_ctor_set(x_2, 5, x_270); +x_271 = l_Lean_Elab_Command_elabCommand___main(x_245, x_2, x_267); +return x_271; +} +else +{ +lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; +x_272 = lean_ctor_get(x_2, 0); +x_273 = lean_ctor_get(x_2, 1); +x_274 = lean_ctor_get(x_2, 2); +x_275 = lean_ctor_get(x_2, 3); +x_276 = lean_ctor_get(x_2, 4); +x_277 = lean_ctor_get(x_2, 5); +x_278 = lean_ctor_get(x_2, 6); +lean_inc(x_278); +lean_inc(x_277); +lean_inc(x_276); +lean_inc(x_275); +lean_inc(x_274); +lean_inc(x_273); +lean_inc(x_272); +lean_dec(x_2); +x_279 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_279, 0, x_1); +lean_ctor_set(x_279, 1, x_277); +x_280 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_280, 0, x_272); +lean_ctor_set(x_280, 1, x_273); +lean_ctor_set(x_280, 2, x_274); +lean_ctor_set(x_280, 3, x_275); +lean_ctor_set(x_280, 4, x_276); +lean_ctor_set(x_280, 5, x_279); +lean_ctor_set(x_280, 6, x_278); +x_281 = l_Lean_Elab_Command_elabCommand___main(x_245, x_280, x_267); +return x_281; +} +} +else +{ +uint8_t x_282; +lean_dec(x_245); +lean_dec(x_2); +lean_dec(x_1); +x_282 = !lean_is_exclusive(x_266); +if (x_282 == 0) +{ +return x_266; +} +else +{ +lean_object* x_283; lean_object* x_284; lean_object* x_285; +x_283 = lean_ctor_get(x_266, 0); +x_284 = lean_ctor_get(x_266, 1); +lean_inc(x_284); +lean_inc(x_283); +lean_dec(x_266); +x_285 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_285, 0, x_283); +lean_ctor_set(x_285, 1, x_284); +return x_285; +} +} +} +} +else +{ +uint8_t x_286; +lean_dec(x_245); +lean_dec(x_2); +lean_dec(x_1); +x_286 = !lean_is_exclusive(x_246); +if (x_286 == 0) +{ +return x_246; +} +else +{ +lean_object* x_287; lean_object* x_288; lean_object* x_289; +x_287 = lean_ctor_get(x_246, 0); +x_288 = lean_ctor_get(x_246, 1); +lean_inc(x_288); +lean_inc(x_287); +lean_dec(x_246); +x_289 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_289, 0, x_287); +lean_ctor_set(x_289, 1, x_288); +return x_289; +} +} +} +} +} +else +{ +uint8_t x_381; lean_dec(x_8); lean_dec(x_2); lean_dec(x_1); -x_243 = !lean_is_exclusive(x_12); -if (x_243 == 0) +x_381 = !lean_is_exclusive(x_12); +if (x_381 == 0) { return x_12; } else { -lean_object* x_244; lean_object* x_245; lean_object* x_246; -x_244 = lean_ctor_get(x_12, 0); -x_245 = lean_ctor_get(x_12, 1); -lean_inc(x_245); -lean_inc(x_244); +lean_object* x_382; lean_object* x_383; lean_object* x_384; +x_382 = lean_ctor_get(x_12, 0); +x_383 = lean_ctor_get(x_12, 1); +lean_inc(x_383); +lean_inc(x_382); lean_dec(x_12); -x_246 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_246, 0, x_244); -lean_ctor_set(x_246, 1, x_245); -return x_246; +x_384 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_384, 0, x_382); +lean_ctor_set(x_384, 1, x_383); +return x_384; } } } } else { -uint8_t x_260; +uint8_t x_398; lean_dec(x_2); lean_dec(x_1); -x_260 = !lean_is_exclusive(x_4); -if (x_260 == 0) +x_398 = !lean_is_exclusive(x_4); +if (x_398 == 0) { return x_4; } else { -lean_object* x_261; lean_object* x_262; lean_object* x_263; -x_261 = lean_ctor_get(x_4, 0); -x_262 = lean_ctor_get(x_4, 1); -lean_inc(x_262); -lean_inc(x_261); +lean_object* x_399; lean_object* x_400; lean_object* x_401; +x_399 = lean_ctor_get(x_4, 0); +x_400 = lean_ctor_get(x_4, 1); +lean_inc(x_400); +lean_inc(x_399); lean_dec(x_4); -x_263 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_263, 0, x_261); -lean_ctor_set(x_263, 1, x_262); -return x_263; +x_401 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_401, 0, x_399); +lean_ctor_set(x_401, 1, x_400); +return x_401; } } } } -lean_object* l_Lean_Elab_Command_elabSyntax___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_Command_elabSyntax___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_Command_elabSyntax___lambda__1(x_1, x_2, x_3, x_4); -lean_dec(x_2); +lean_object* x_6; +x_6 = l_Lean_Elab_Command_elabSyntax___lambda__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_3); lean_dec(x_1); -return x_5; +return x_6; } } lean_object* _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabSyntax___closed__1() { @@ -5552,7 +8133,7 @@ x_17 = l_Lean_Syntax_isOfKind(x_15, x_16); if (x_17 == 0) { uint8_t x_18; -x_18 = l___private_Init_Lean_Elab_Term_7__hasCDot___main___closed__1; +x_18 = l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; if (x_18 == 0) { lean_object* x_19; lean_object* x_20; @@ -5618,7 +8199,7 @@ lean_ctor_set(x_50, 0, x_36); lean_ctor_set(x_50, 1, x_49); x_51 = l_Lean_Elab_Command_elabSyntax___closed__6; x_52 = lean_array_push(x_51, x_50); -x_53 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_53 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_54 = lean_array_push(x_52, x_53); x_55 = lean_array_push(x_54, x_53); x_56 = lean_array_push(x_55, x_53); @@ -5816,7 +8397,7 @@ lean_ctor_set(x_169, 0, x_155); lean_ctor_set(x_169, 1, x_168); x_170 = l_Lean_Elab_Command_elabSyntax___closed__6; x_171 = lean_array_push(x_170, x_169); -x_172 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_172 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_173 = lean_array_push(x_171, x_172); x_174 = lean_array_push(x_173, x_172); x_175 = lean_array_push(x_174, x_172); @@ -6043,7 +8624,7 @@ lean_ctor_set(x_299, 0, x_285); lean_ctor_set(x_299, 1, x_298); x_300 = l_Lean_Elab_Command_elabSyntax___closed__6; x_301 = lean_array_push(x_300, x_299); -x_302 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_302 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_303 = lean_array_push(x_301, x_302); x_304 = lean_array_push(x_303, x_302); x_305 = lean_array_push(x_304, x_302); @@ -6241,7 +8822,7 @@ lean_ctor_set(x_418, 0, x_404); lean_ctor_set(x_418, 1, x_417); x_419 = l_Lean_Elab_Command_elabSyntax___closed__6; x_420 = lean_array_push(x_419, x_418); -x_421 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_421 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_422 = lean_array_push(x_420, x_421); x_423 = lean_array_push(x_422, x_421); x_424 = lean_array_push(x_423, x_421); @@ -6460,6 +9041,204 @@ x_5 = l_Lean_Elab_Command_addBuiltinCommandElab(x_2, x_3, x_4, x_1); return x_5; } } +lean_object* l_Lean_Elab_Command_elabMixfix___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_box(0); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +lean_object* l_Lean_Elab_Command_elabMixfix(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabMixfix___rarg), 1, 0); +return x_3; +} +} +lean_object* l_Lean_Elab_Command_elabMixfix___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_Command_elabMixfix(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("elabMixfix"); +return x_1; +} +} +lean_object* _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_declareBuiltinCommandElab___closed__3; +x_2 = l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabMixfix___boxed), 2, 0); +return x_1; +} +} +lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix(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_Command_mixfix___elambda__1___closed__2; +x_3 = l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix___closed__2; +x_4 = l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix___closed__3; +x_5 = l_Lean_Elab_Command_addBuiltinCommandElab(x_2, x_3, x_4, x_1); +return x_5; +} +} +lean_object* l_Lean_Elab_Command_elabReserve___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_box(0); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +lean_object* l_Lean_Elab_Command_elabReserve(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabReserve___rarg), 1, 0); +return x_3; +} +} +lean_object* l_Lean_Elab_Command_elabReserve___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_Command_elabReserve(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("elabReserve"); +return x_1; +} +} +lean_object* _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_declareBuiltinCommandElab___closed__3; +x_2 = l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabReserve___boxed), 2, 0); +return x_1; +} +} +lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve(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_Command_reserve___elambda__1___closed__2; +x_3 = l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve___closed__2; +x_4 = l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve___closed__3; +x_5 = l_Lean_Elab_Command_addBuiltinCommandElab(x_2, x_3, x_4, x_1); +return x_5; +} +} +lean_object* l_Lean_Elab_Command_elabNotation___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_box(0); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +lean_object* l_Lean_Elab_Command_elabNotation(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabNotation___rarg), 1, 0); +return x_3; +} +} +lean_object* l_Lean_Elab_Command_elabNotation___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_Command_elabNotation(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("elabNotation"); +return x_1; +} +} +lean_object* _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_declareBuiltinCommandElab___closed__3; +x_2 = l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabNotation___boxed), 2, 0); +return x_1; +} +} +lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation(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_Command_notation___elambda__1___closed__2; +x_3 = l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation___closed__2; +x_4 = l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation___closed__3; +x_5 = l_Lean_Elab_Command_addBuiltinCommandElab(x_2, x_3, x_4, x_1); +return x_5; +} +} lean_object* initialize_Init_Lean_Elab_Command(lean_object*); lean_object* initialize_Init_Lean_Elab_Quotation(lean_object*); static bool _G_initialized = false; @@ -6491,214 +9270,254 @@ l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__mkParserSeq__ lean_mark_persistent(l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__mkParserSeq___spec__1___closed__8); l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__mkParserSeq___spec__1___closed__9 = _init_l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__mkParserSeq___spec__1___closed__9(); lean_mark_persistent(l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__mkParserSeq___spec__1___closed__9); -l_Lean_Elab_Term_toParserDescr___main___closed__1 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__1); -l_Lean_Elab_Term_toParserDescr___main___closed__2 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__2); -l_Lean_Elab_Term_toParserDescr___main___closed__3 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__3); -l_Lean_Elab_Term_toParserDescr___main___closed__4 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__4); -l_Lean_Elab_Term_toParserDescr___main___closed__5 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__5(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__5); -l_Lean_Elab_Term_toParserDescr___main___closed__6 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__6(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__6); -l_Lean_Elab_Term_toParserDescr___main___closed__7 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__7(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__7); -l_Lean_Elab_Term_toParserDescr___main___closed__8 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__8(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__8); -l_Lean_Elab_Term_toParserDescr___main___closed__9 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__9(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__9); -l_Lean_Elab_Term_toParserDescr___main___closed__10 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__10(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__10); -l_Lean_Elab_Term_toParserDescr___main___closed__11 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__11(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__11); -l_Lean_Elab_Term_toParserDescr___main___closed__12 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__12(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__12); -l_Lean_Elab_Term_toParserDescr___main___closed__13 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__13(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__13); -l_Lean_Elab_Term_toParserDescr___main___closed__14 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__14(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__14); -l_Lean_Elab_Term_toParserDescr___main___closed__15 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__15(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__15); -l_Lean_Elab_Term_toParserDescr___main___closed__16 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__16(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__16); -l_Lean_Elab_Term_toParserDescr___main___closed__17 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__17(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__17); -l_Lean_Elab_Term_toParserDescr___main___closed__18 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__18(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__18); -l_Lean_Elab_Term_toParserDescr___main___closed__19 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__19(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__19); -l_Lean_Elab_Term_toParserDescr___main___closed__20 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__20(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__20); -l_Lean_Elab_Term_toParserDescr___main___closed__21 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__21(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__21); -l_Lean_Elab_Term_toParserDescr___main___closed__22 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__22(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__22); -l_Lean_Elab_Term_toParserDescr___main___closed__23 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__23(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__23); -l_Lean_Elab_Term_toParserDescr___main___closed__24 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__24(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__24); -l_Lean_Elab_Term_toParserDescr___main___closed__25 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__25(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__25); -l_Lean_Elab_Term_toParserDescr___main___closed__26 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__26(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__26); -l_Lean_Elab_Term_toParserDescr___main___closed__27 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__27(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__27); -l_Lean_Elab_Term_toParserDescr___main___closed__28 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__28(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__28); -l_Lean_Elab_Term_toParserDescr___main___closed__29 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__29(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__29); -l_Lean_Elab_Term_toParserDescr___main___closed__30 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__30(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__30); -l_Lean_Elab_Term_toParserDescr___main___closed__31 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__31(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__31); -l_Lean_Elab_Term_toParserDescr___main___closed__32 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__32(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__32); -l_Lean_Elab_Term_toParserDescr___main___closed__33 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__33(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__33); -l_Lean_Elab_Term_toParserDescr___main___closed__34 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__34(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__34); -l_Lean_Elab_Term_toParserDescr___main___closed__35 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__35(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__35); -l_Lean_Elab_Term_toParserDescr___main___closed__36 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__36(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__36); -l_Lean_Elab_Term_toParserDescr___main___closed__37 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__37(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__37); -l_Lean_Elab_Term_toParserDescr___main___closed__38 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__38(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__38); -l_Lean_Elab_Term_toParserDescr___main___closed__39 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__39(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__39); -l_Lean_Elab_Term_toParserDescr___main___closed__40 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__40(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__40); -l_Lean_Elab_Term_toParserDescr___main___closed__41 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__41(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__41); -l_Lean_Elab_Term_toParserDescr___main___closed__42 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__42(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__42); -l_Lean_Elab_Term_toParserDescr___main___closed__43 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__43(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__43); -l_Lean_Elab_Term_toParserDescr___main___closed__44 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__44(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__44); -l_Lean_Elab_Term_toParserDescr___main___closed__45 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__45(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__45); -l_Lean_Elab_Term_toParserDescr___main___closed__46 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__46(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__46); -l_Lean_Elab_Term_toParserDescr___main___closed__47 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__47(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__47); -l_Lean_Elab_Term_toParserDescr___main___closed__48 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__48(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__48); -l_Lean_Elab_Term_toParserDescr___main___closed__49 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__49(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__49); -l_Lean_Elab_Term_toParserDescr___main___closed__50 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__50(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__50); -l_Lean_Elab_Term_toParserDescr___main___closed__51 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__51(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__51); -l_Lean_Elab_Term_toParserDescr___main___closed__52 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__52(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__52); -l_Lean_Elab_Term_toParserDescr___main___closed__53 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__53(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__53); -l_Lean_Elab_Term_toParserDescr___main___closed__54 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__54(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__54); -l_Lean_Elab_Term_toParserDescr___main___closed__55 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__55(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__55); -l_Lean_Elab_Term_toParserDescr___main___closed__56 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__56(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__56); -l_Lean_Elab_Term_toParserDescr___main___closed__57 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__57(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__57); -l_Lean_Elab_Term_toParserDescr___main___closed__58 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__58(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__58); -l_Lean_Elab_Term_toParserDescr___main___closed__59 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__59(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__59); -l_Lean_Elab_Term_toParserDescr___main___closed__60 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__60(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__60); -l_Lean_Elab_Term_toParserDescr___main___closed__61 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__61(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__61); -l_Lean_Elab_Term_toParserDescr___main___closed__62 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__62(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__62); -l_Lean_Elab_Term_toParserDescr___main___closed__63 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__63(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__63); -l_Lean_Elab_Term_toParserDescr___main___closed__64 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__64(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__64); -l_Lean_Elab_Term_toParserDescr___main___closed__65 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__65(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__65); -l_Lean_Elab_Term_toParserDescr___main___closed__66 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__66(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__66); -l_Lean_Elab_Term_toParserDescr___main___closed__67 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__67(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__67); -l_Lean_Elab_Term_toParserDescr___main___closed__68 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__68(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__68); -l_Lean_Elab_Term_toParserDescr___main___closed__69 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__69(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__69); -l_Lean_Elab_Term_toParserDescr___main___closed__70 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__70(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__70); -l_Lean_Elab_Term_toParserDescr___main___closed__71 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__71(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__71); -l_Lean_Elab_Term_toParserDescr___main___closed__72 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__72(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__72); -l_Lean_Elab_Term_toParserDescr___main___closed__73 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__73(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__73); -l_Lean_Elab_Term_toParserDescr___main___closed__74 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__74(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__74); -l_Lean_Elab_Term_toParserDescr___main___closed__75 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__75(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__75); -l_Lean_Elab_Term_toParserDescr___main___closed__76 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__76(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__76); -l_Lean_Elab_Term_toParserDescr___main___closed__77 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__77(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__77); -l_Lean_Elab_Term_toParserDescr___main___closed__78 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__78(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__78); -l_Lean_Elab_Term_toParserDescr___main___closed__79 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__79(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__79); -l_Lean_Elab_Term_toParserDescr___main___closed__80 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__80(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__80); -l_Lean_Elab_Term_toParserDescr___main___closed__81 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__81(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__81); -l_Lean_Elab_Term_toParserDescr___main___closed__82 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__82(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__82); -l_Lean_Elab_Term_toParserDescr___main___closed__83 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__83(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__83); -l_Lean_Elab_Term_toParserDescr___main___closed__84 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__84(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__84); -l_Lean_Elab_Term_toParserDescr___main___closed__85 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__85(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__85); -l_Lean_Elab_Term_toParserDescr___main___closed__86 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__86(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__86); -l_Lean_Elab_Term_toParserDescr___main___closed__87 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__87(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__87); -l_Lean_Elab_Term_toParserDescr___main___closed__88 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__88(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__88); -l_Lean_Elab_Term_toParserDescr___main___closed__89 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__89(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__89); -l_Lean_Elab_Term_toParserDescr___main___closed__90 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__90(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__90); -l_Lean_Elab_Term_toParserDescr___main___closed__91 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__91(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__91); -l_Lean_Elab_Term_toParserDescr___main___closed__92 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__92(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__92); -l_Lean_Elab_Term_toParserDescr___main___closed__93 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__93(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__93); -l_Lean_Elab_Term_toParserDescr___main___closed__94 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__94(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__94); -l_Lean_Elab_Term_toParserDescr___main___closed__95 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__95(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__95); -l_Lean_Elab_Term_toParserDescr___main___closed__96 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__96(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__96); -l_Lean_Elab_Term_toParserDescr___main___closed__97 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__97(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__97); -l_Lean_Elab_Term_toParserDescr___main___closed__98 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__98(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__98); -l_Lean_Elab_Term_toParserDescr___main___closed__99 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__99(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__99); -l_Lean_Elab_Term_toParserDescr___main___closed__100 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__100(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__100); -l_Lean_Elab_Term_toParserDescr___main___closed__101 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__101(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__101); -l_Lean_Elab_Term_toParserDescr___main___closed__102 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__102(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__102); -l_Lean_Elab_Term_toParserDescr___main___closed__103 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__103(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__103); -l_Lean_Elab_Term_toParserDescr___main___closed__104 = _init_l_Lean_Elab_Term_toParserDescr___main___closed__104(); -lean_mark_persistent(l_Lean_Elab_Term_toParserDescr___main___closed__104); +l___private_Init_Lean_Elab_Syntax_4__markAsTrailingParser___rarg___closed__1 = _init_l___private_Init_Lean_Elab_Syntax_4__markAsTrailingParser___rarg___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Elab_Syntax_4__markAsTrailingParser___rarg___closed__1); +l_Lean_Elab_Term_toParserDescrAux___main___closed__1 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__1); +l_Lean_Elab_Term_toParserDescrAux___main___closed__2 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__2); +l_Lean_Elab_Term_toParserDescrAux___main___closed__3 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__3); +l_Lean_Elab_Term_toParserDescrAux___main___closed__4 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__4); +l_Lean_Elab_Term_toParserDescrAux___main___closed__5 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__5(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__5); +l_Lean_Elab_Term_toParserDescrAux___main___closed__6 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__6(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__6); +l_Lean_Elab_Term_toParserDescrAux___main___closed__7 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__7(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__7); +l_Lean_Elab_Term_toParserDescrAux___main___closed__8 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__8(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__8); +l_Lean_Elab_Term_toParserDescrAux___main___closed__9 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__9(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__9); +l_Lean_Elab_Term_toParserDescrAux___main___closed__10 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__10(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__10); +l_Lean_Elab_Term_toParserDescrAux___main___closed__11 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__11(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__11); +l_Lean_Elab_Term_toParserDescrAux___main___closed__12 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__12(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__12); +l_Lean_Elab_Term_toParserDescrAux___main___closed__13 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__13(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__13); +l_Lean_Elab_Term_toParserDescrAux___main___closed__14 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__14(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__14); +l_Lean_Elab_Term_toParserDescrAux___main___closed__15 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__15(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__15); +l_Lean_Elab_Term_toParserDescrAux___main___closed__16 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__16(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__16); +l_Lean_Elab_Term_toParserDescrAux___main___closed__17 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__17(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__17); +l_Lean_Elab_Term_toParserDescrAux___main___closed__18 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__18(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__18); +l_Lean_Elab_Term_toParserDescrAux___main___closed__19 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__19(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__19); +l_Lean_Elab_Term_toParserDescrAux___main___closed__20 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__20(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__20); +l_Lean_Elab_Term_toParserDescrAux___main___closed__21 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__21(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__21); +l_Lean_Elab_Term_toParserDescrAux___main___closed__22 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__22(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__22); +l_Lean_Elab_Term_toParserDescrAux___main___closed__23 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__23(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__23); +l_Lean_Elab_Term_toParserDescrAux___main___closed__24 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__24(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__24); +l_Lean_Elab_Term_toParserDescrAux___main___closed__25 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__25(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__25); +l_Lean_Elab_Term_toParserDescrAux___main___closed__26 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__26(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__26); +l_Lean_Elab_Term_toParserDescrAux___main___closed__27 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__27(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__27); +l_Lean_Elab_Term_toParserDescrAux___main___closed__28 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__28(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__28); +l_Lean_Elab_Term_toParserDescrAux___main___closed__29 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__29(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__29); +l_Lean_Elab_Term_toParserDescrAux___main___closed__30 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__30(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__30); +l_Lean_Elab_Term_toParserDescrAux___main___closed__31 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__31(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__31); +l_Lean_Elab_Term_toParserDescrAux___main___closed__32 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__32(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__32); +l_Lean_Elab_Term_toParserDescrAux___main___closed__33 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__33(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__33); +l_Lean_Elab_Term_toParserDescrAux___main___closed__34 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__34(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__34); +l_Lean_Elab_Term_toParserDescrAux___main___closed__35 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__35(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__35); +l_Lean_Elab_Term_toParserDescrAux___main___closed__36 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__36(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__36); +l_Lean_Elab_Term_toParserDescrAux___main___closed__37 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__37(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__37); +l_Lean_Elab_Term_toParserDescrAux___main___closed__38 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__38(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__38); +l_Lean_Elab_Term_toParserDescrAux___main___closed__39 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__39(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__39); +l_Lean_Elab_Term_toParserDescrAux___main___closed__40 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__40(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__40); +l_Lean_Elab_Term_toParserDescrAux___main___closed__41 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__41(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__41); +l_Lean_Elab_Term_toParserDescrAux___main___closed__42 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__42(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__42); +l_Lean_Elab_Term_toParserDescrAux___main___closed__43 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__43(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__43); +l_Lean_Elab_Term_toParserDescrAux___main___closed__44 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__44(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__44); +l_Lean_Elab_Term_toParserDescrAux___main___closed__45 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__45(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__45); +l_Lean_Elab_Term_toParserDescrAux___main___closed__46 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__46(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__46); +l_Lean_Elab_Term_toParserDescrAux___main___closed__47 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__47(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__47); +l_Lean_Elab_Term_toParserDescrAux___main___closed__48 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__48(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__48); +l_Lean_Elab_Term_toParserDescrAux___main___closed__49 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__49(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__49); +l_Lean_Elab_Term_toParserDescrAux___main___closed__50 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__50(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__50); +l_Lean_Elab_Term_toParserDescrAux___main___closed__51 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__51(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__51); +l_Lean_Elab_Term_toParserDescrAux___main___closed__52 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__52(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__52); +l_Lean_Elab_Term_toParserDescrAux___main___closed__53 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__53(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__53); +l_Lean_Elab_Term_toParserDescrAux___main___closed__54 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__54(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__54); +l_Lean_Elab_Term_toParserDescrAux___main___closed__55 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__55(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__55); +l_Lean_Elab_Term_toParserDescrAux___main___closed__56 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__56(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__56); +l_Lean_Elab_Term_toParserDescrAux___main___closed__57 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__57(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__57); +l_Lean_Elab_Term_toParserDescrAux___main___closed__58 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__58(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__58); +l_Lean_Elab_Term_toParserDescrAux___main___closed__59 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__59(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__59); +l_Lean_Elab_Term_toParserDescrAux___main___closed__60 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__60(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__60); +l_Lean_Elab_Term_toParserDescrAux___main___closed__61 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__61(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__61); +l_Lean_Elab_Term_toParserDescrAux___main___closed__62 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__62(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__62); +l_Lean_Elab_Term_toParserDescrAux___main___closed__63 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__63(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__63); +l_Lean_Elab_Term_toParserDescrAux___main___closed__64 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__64(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__64); +l_Lean_Elab_Term_toParserDescrAux___main___closed__65 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__65(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__65); +l_Lean_Elab_Term_toParserDescrAux___main___closed__66 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__66(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__66); +l_Lean_Elab_Term_toParserDescrAux___main___closed__67 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__67(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__67); +l_Lean_Elab_Term_toParserDescrAux___main___closed__68 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__68(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__68); +l_Lean_Elab_Term_toParserDescrAux___main___closed__69 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__69(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__69); +l_Lean_Elab_Term_toParserDescrAux___main___closed__70 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__70(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__70); +l_Lean_Elab_Term_toParserDescrAux___main___closed__71 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__71(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__71); +l_Lean_Elab_Term_toParserDescrAux___main___closed__72 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__72(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__72); +l_Lean_Elab_Term_toParserDescrAux___main___closed__73 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__73(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__73); +l_Lean_Elab_Term_toParserDescrAux___main___closed__74 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__74(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__74); +l_Lean_Elab_Term_toParserDescrAux___main___closed__75 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__75(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__75); +l_Lean_Elab_Term_toParserDescrAux___main___closed__76 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__76(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__76); +l_Lean_Elab_Term_toParserDescrAux___main___closed__77 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__77(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__77); +l_Lean_Elab_Term_toParserDescrAux___main___closed__78 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__78(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__78); +l_Lean_Elab_Term_toParserDescrAux___main___closed__79 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__79(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__79); +l_Lean_Elab_Term_toParserDescrAux___main___closed__80 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__80(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__80); +l_Lean_Elab_Term_toParserDescrAux___main___closed__81 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__81(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__81); +l_Lean_Elab_Term_toParserDescrAux___main___closed__82 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__82(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__82); +l_Lean_Elab_Term_toParserDescrAux___main___closed__83 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__83(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__83); +l_Lean_Elab_Term_toParserDescrAux___main___closed__84 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__84(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__84); +l_Lean_Elab_Term_toParserDescrAux___main___closed__85 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__85(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__85); +l_Lean_Elab_Term_toParserDescrAux___main___closed__86 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__86(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__86); +l_Lean_Elab_Term_toParserDescrAux___main___closed__87 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__87(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__87); +l_Lean_Elab_Term_toParserDescrAux___main___closed__88 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__88(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__88); +l_Lean_Elab_Term_toParserDescrAux___main___closed__89 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__89(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__89); +l_Lean_Elab_Term_toParserDescrAux___main___closed__90 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__90(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__90); +l_Lean_Elab_Term_toParserDescrAux___main___closed__91 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__91(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__91); +l_Lean_Elab_Term_toParserDescrAux___main___closed__92 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__92(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__92); +l_Lean_Elab_Term_toParserDescrAux___main___closed__93 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__93(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__93); +l_Lean_Elab_Term_toParserDescrAux___main___closed__94 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__94(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__94); +l_Lean_Elab_Term_toParserDescrAux___main___closed__95 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__95(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__95); +l_Lean_Elab_Term_toParserDescrAux___main___closed__96 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__96(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__96); +l_Lean_Elab_Term_toParserDescrAux___main___closed__97 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__97(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__97); +l_Lean_Elab_Term_toParserDescrAux___main___closed__98 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__98(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__98); +l_Lean_Elab_Term_toParserDescrAux___main___closed__99 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__99(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__99); +l_Lean_Elab_Term_toParserDescrAux___main___closed__100 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__100(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__100); +l_Lean_Elab_Term_toParserDescrAux___main___closed__101 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__101(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__101); +l_Lean_Elab_Term_toParserDescrAux___main___closed__102 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__102(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__102); +l_Lean_Elab_Term_toParserDescrAux___main___closed__103 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__103(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__103); +l_Lean_Elab_Term_toParserDescrAux___main___closed__104 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__104(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__104); +l_Lean_Elab_Term_toParserDescrAux___main___closed__105 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__105(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__105); +l_Lean_Elab_Term_toParserDescrAux___main___closed__106 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__106(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__106); +l_Lean_Elab_Term_toParserDescrAux___main___closed__107 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__107(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__107); +l_Lean_Elab_Term_toParserDescrAux___main___closed__108 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__108(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__108); +l_Lean_Elab_Term_toParserDescrAux___main___closed__109 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__109(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__109); +l_Lean_Elab_Term_toParserDescrAux___main___closed__110 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__110(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__110); +l_Lean_Elab_Term_toParserDescrAux___main___closed__111 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__111(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__111); +l_Lean_Elab_Term_toParserDescrAux___main___closed__112 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__112(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__112); +l_Lean_Elab_Term_toParserDescrAux___main___closed__113 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__113(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__113); +l_Lean_Elab_Term_toParserDescrAux___main___closed__114 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__114(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__114); +l_Lean_Elab_Term_toParserDescrAux___main___closed__115 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__115(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__115); +l_Lean_Elab_Term_toParserDescrAux___main___closed__116 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__116(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__116); +l_Lean_Elab_Term_toParserDescrAux___main___closed__117 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__117(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__117); +l_Lean_Elab_Term_toParserDescrAux___main___closed__118 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__118(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__118); +l_Lean_Elab_Term_toParserDescrAux___main___closed__119 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__119(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__119); +l_Lean_Elab_Term_toParserDescrAux___main___closed__120 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__120(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__120); +l_Lean_Elab_Term_toParserDescrAux___main___closed__121 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__121(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__121); +l_Lean_Elab_Term_toParserDescrAux___main___closed__122 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__122(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__122); +l_Lean_Elab_Term_toParserDescrAux___main___closed__123 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__123(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__123); l___regBuiltinCommandElab_Lean_Elab_Command_elabDeclareSyntaxCat___closed__1 = _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabDeclareSyntaxCat___closed__1(); lean_mark_persistent(l___regBuiltinCommandElab_Lean_Elab_Command_elabDeclareSyntaxCat___closed__1); l___regBuiltinCommandElab_Lean_Elab_Command_elabDeclareSyntaxCat___closed__2 = _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabDeclareSyntaxCat___closed__2(); @@ -6752,6 +9571,18 @@ l_Lean_Elab_Command_elabSyntax___closed__21 = _init_l_Lean_Elab_Command_elabSynt lean_mark_persistent(l_Lean_Elab_Command_elabSyntax___closed__21); l_Lean_Elab_Command_elabSyntax___closed__22 = _init_l_Lean_Elab_Command_elabSyntax___closed__22(); lean_mark_persistent(l_Lean_Elab_Command_elabSyntax___closed__22); +l_Lean_Elab_Command_elabSyntax___closed__23 = _init_l_Lean_Elab_Command_elabSyntax___closed__23(); +lean_mark_persistent(l_Lean_Elab_Command_elabSyntax___closed__23); +l_Lean_Elab_Command_elabSyntax___closed__24 = _init_l_Lean_Elab_Command_elabSyntax___closed__24(); +lean_mark_persistent(l_Lean_Elab_Command_elabSyntax___closed__24); +l_Lean_Elab_Command_elabSyntax___closed__25 = _init_l_Lean_Elab_Command_elabSyntax___closed__25(); +lean_mark_persistent(l_Lean_Elab_Command_elabSyntax___closed__25); +l_Lean_Elab_Command_elabSyntax___closed__26 = _init_l_Lean_Elab_Command_elabSyntax___closed__26(); +lean_mark_persistent(l_Lean_Elab_Command_elabSyntax___closed__26); +l_Lean_Elab_Command_elabSyntax___closed__27 = _init_l_Lean_Elab_Command_elabSyntax___closed__27(); +lean_mark_persistent(l_Lean_Elab_Command_elabSyntax___closed__27); +l_Lean_Elab_Command_elabSyntax___closed__28 = _init_l_Lean_Elab_Command_elabSyntax___closed__28(); +lean_mark_persistent(l_Lean_Elab_Command_elabSyntax___closed__28); l___regBuiltinCommandElab_Lean_Elab_Command_elabSyntax___closed__1 = _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabSyntax___closed__1(); lean_mark_persistent(l___regBuiltinCommandElab_Lean_Elab_Command_elabSyntax___closed__1); l___regBuiltinCommandElab_Lean_Elab_Command_elabSyntax___closed__2 = _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabSyntax___closed__2(); @@ -6828,6 +9659,33 @@ lean_mark_persistent(l___regBuiltinCommandElab_Lean_Elab_Command_elabMacro___clo res = l___regBuiltinCommandElab_Lean_Elab_Command_elabMacro(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix___closed__1 = _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix___closed__1(); +lean_mark_persistent(l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix___closed__1); +l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix___closed__2 = _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix___closed__2(); +lean_mark_persistent(l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix___closed__2); +l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix___closed__3 = _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix___closed__3(); +lean_mark_persistent(l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix___closed__3); +res = l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve___closed__1 = _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve___closed__1(); +lean_mark_persistent(l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve___closed__1); +l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve___closed__2 = _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve___closed__2(); +lean_mark_persistent(l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve___closed__2); +l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve___closed__3 = _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve___closed__3(); +lean_mark_persistent(l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve___closed__3); +res = l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation___closed__1 = _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation___closed__1(); +lean_mark_persistent(l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation___closed__1); +l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation___closed__2 = _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation___closed__2(); +lean_mark_persistent(l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation___closed__2); +l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation___closed__3 = _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation___closed__3(); +lean_mark_persistent(l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation___closed__3); +res = l___regBuiltinCommandElab_Lean_Elab_Command_elabNotation(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); return lean_mk_io_result(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Init/Lean/Elab/Tactic.c b/stage0/stdlib/Init/Lean/Elab/Tactic.c index 40f2f08bb5..2ce897e596 100644 --- a/stage0/stdlib/Init/Lean/Elab/Tactic.c +++ b/stage0/stdlib/Init/Lean/Elab/Tactic.c @@ -67,6 +67,7 @@ x_7 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_7, 0, x_6); lean_ctor_set(x_7, 1, x_5); x_8 = l_Lean_Elab_Term_throwError___rarg(x_1, x_7, x_3, x_4); +lean_dec(x_1); return x_8; } } diff --git a/stage0/stdlib/Init/Lean/Elab/Term.c b/stage0/stdlib/Init/Lean/Elab/Term.c index eb6869899e..3cb59ec8db 100644 --- a/stage0/stdlib/Init/Lean/Elab/Term.c +++ b/stage0/stdlib/Init/Lean/Elab/Term.c @@ -19,60 +19,55 @@ lean_object* l_PersistentHashMap_findAux___main___at_Lean_Elab_Term_elabTermAux_ lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__4; lean_object* l_Lean_Elab_Term_elabChar(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_1__mkMessageAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabNum___closed__1; lean_object* l_Lean_Elab_Term_getEnv___rarg(lean_object*); extern lean_object* l_Lean_Name_toString___closed__1; -lean_object* l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__9; -lean_object* l___private_Init_Lean_Elab_Term_12__elabTermUsing___main___closed__2; +lean_object* l___private_Init_Lean_Elab_Term_6__expandCDotInApp(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkForall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__1; -lean_object* l_ReaderT_lift___at___private_Init_Lean_Elab_Term_14__resumePostponed___spec__1(lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_MonadLog___closed__6; lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__8; -lean_object* l_List_forM___main___at___private_Init_Lean_Elab_Term_19__reportStuckSyntheticMVars___spec__1___lambda__1___closed__3; +lean_object* l___private_Init_Lean_Elab_Term_7__exceptionToSorry___closed__3; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabNum(lean_object*); uint8_t l_Lean_MessageData_hasSyntheticSorry___main(lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_12__synthesizePendingInstMVar___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabArrayLit___closed__1; lean_object* l_Lean_SMap_empty___at_Lean_Elab_Term_mkBuiltinTermElabTable___spec__1___closed__2; lean_object* l_Lean_Expr_mvarId_x21(lean_object*); lean_object* l_Lean_Elab_Term_elabArrayLit___closed__8; -lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_Term_3__addMacroStack___spec__1___closed__2; lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_20__synthesizeSyntheticMVarsAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_isNatLitAux(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_1__getBetterRef(lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_foldlMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_22__mkFreshLevelMVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_declareBuiltinParser___closed__8; lean_object* l_Lean_Elab_Term_State_inhabited; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabChar(lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_2__prettyPrint___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_mkSort(lean_object*); lean_object* l_Lean_Elab_Term_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_9__expandCDotInApp(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__9; +lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_Term_23__mkConsts___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkFreshExprMVar(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_nameToExprAux___main___closed__1; lean_object* l_Lean_Elab_Term_elabArrayLit___closed__13; +lean_object* l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_unreachable_x21___rarg(lean_object*); lean_object* l_Lean_Elab_Term_declareBuiltinTermElab___closed__1; extern lean_object* l_Lean_nullKind; lean_object* l_Lean_Meta_whnfForall(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_declareBuiltinTermElab___closed__8; lean_object* l_Lean_Elab_Term_elabTermAux___main___closed__6; -lean_object* l_String_toFormat(lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_7__exceptionToSorry(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_MonadQuotation; extern lean_object* l_Lean_MessageData_ofList___closed__3; -lean_object* l___private_Init_Lean_Elab_Term_12__elabTermUsing___main(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_declareBuiltinTermElab___closed__2; lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Lean_Elab_Term_tryPostpone___boxed(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_10__exceptionToSorry(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__5; lean_object* l_Lean_Elab_Term_inferType(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_21__mkPairsAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_assignExprMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_hasSorry___main___closed__1; -lean_object* l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVar___closed__2; lean_object* l_Lean_Elab_Term_mkTermElabAttribute___closed__3; lean_object* l_Lean_Elab_Term_ensureHasType___closed__2; lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__2; @@ -81,7 +76,7 @@ lean_object* l_Lean_Elab_Term_resettingSynthInstanceCacheWhen(lean_object*); lean_object* l_Lean_Format_pretty(lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabChar___closed__3; lean_object* l_Lean_Elab_Term_getDeclName_x3f(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_10__exceptionToSorry___closed__2; +lean_object* l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVar___closed__2; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabChar___closed__2; lean_object* l_Lean_Elab_Term_TermElabM_MonadQuotation___closed__3; lean_object* l_Lean_Elab_Term_registerBuiltinTermElabAttr___closed__3; @@ -90,8 +85,6 @@ lean_object* l_Lean_Meta_mkForall(lean_object*, lean_object*, lean_object*, lean extern size_t l_PersistentHashMap_insertAux___main___rarg___closed__2; lean_object* l_Lean_Elab_Term_elabTermAux___main___closed__4; extern lean_object* l_Option_get_x21___rarg___closed__3; -lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_Term_3__addMacroStack___spec__1___closed__1; -lean_object* l___private_Init_Lean_Elab_Term_14__resumePostponed___closed__1; lean_object* l_Lean_Meta_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_levelMVarToParam___closed__1; lean_object* l_Lean_Elab_Term_elabParen(lean_object*, lean_object*, lean_object*, lean_object*); @@ -101,85 +94,76 @@ extern lean_object* l_Lean_nameToExprAux___main___closed__4; lean_object* l_Lean_Elab_Term_getLocalInsts___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resettingSynthInstanceCacheWhen___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_getPos___at_Lean_Elab_Term_throwError___spec__2___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__2; lean_object* l_mkHashMap___at_Lean_Elab_Term_mkBuiltinTermElabTable___spec__2(lean_object*); -lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__7; +lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabArrayLit___closed__2; extern lean_object* l_Lean_Parser_Term_type___elambda__1___closed__2; -lean_object* l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVar___closed__1; uint8_t l_List_elem___main___at_Lean_addAliasEntry___spec__18(lean_object*, lean_object*); extern lean_object* l_Prod_HasRepr___rarg___closed__1; -lean_object* l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_6__fromMetaState___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVar___closed__1; lean_object* l_Lean_Meta_Exception_toMessageData(lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_21__resolveLocalName___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__1; lean_object* l_Lean_Elab_Term_TermElabM_MonadLog; lean_object* l_Lean_mkMVar(lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_11__postponeElabTerm(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_empty___closed__1; -lean_object* l___private_Init_Lean_Elab_Term_11__postponeElabTerm___closed__2; lean_object* lean_environment_find(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabSort___rarg(lean_object*); lean_object* l_Lean_Elab_Term_resolveName___closed__3; -lean_object* l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Term_logTrace___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__2; lean_object* l_Lean_Elab_Term_elabTypeStx___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_registerBuiltinTermElabAttr___closed__5; lean_object* lean_dbg_trace(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_20__resolveLocalNameAux___main(lean_object*, lean_object*, lean_object*); lean_object* lean_io_mk_ref(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__4; -lean_object* l___private_Init_Lean_Elab_Term_16__checkWithDefault___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_14__resumePostponed___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getEnv___boxed(lean_object*); lean_object* l_Lean_Elab_ElabFnTable_insert___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__3; lean_object* l_List_append___rarg(lean_object*, lean_object*); +lean_object* l_Lean_fmt___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__1(lean_object*); lean_object* l_Lean_Elab_Term_throwUnsupportedSyntax___rarg___closed__1; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabBadCDot(lean_object*); lean_object* l_Lean_Elab_Term_unfoldDefinition_x3f(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep(uint8_t, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1___closed__3; lean_object* l_Lean_Elab_Term_mkForallUsedOnly___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_io_ref_get(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_declareBuiltinParser___closed__5; lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__6; +lean_object* l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__9; lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabHole(lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_12__elabTermUsing___main___closed__1; -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_6__fromMetaState___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withoutPostponing(lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__13; lean_object* l_Lean_Elab_Term_decLevel(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_8__expandCDot___closed__2; uint8_t l_PersistentHashMap_containsAtAux___main___at_Lean_Parser_mkFreshKindAux___main___spec__3(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Syntax_reprint___main(lean_object*); lean_object* l_Lean_Elab_Term_elabParen___closed__3; lean_object* lean_local_ctx_find_from_user_name(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_MonadQuotation___closed__2; lean_object* l_Lean_Elab_Term_getMVarDecl(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabListLit___closed__1; lean_object* l_Lean_Elab_Term_mkLambda(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_8__expandCDot___closed__1; lean_object* l_Lean_Elab_Term_TermElabM_MonadQuotation___closed__1; -lean_object* l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__2; extern lean_object* l_Lean_Literal_type___closed__3; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_Elab_Term_elabChar___closed__4; -lean_object* l_List_find_x3f___main___rarg(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVarsAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resetSynthInstanceCache(lean_object*); lean_object* l_Lean_Elab_Term_mkForallUsedOnly(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_inferType___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_12__elabTermUsing___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabListLit___closed__2; lean_object* lean_string_append(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__6; extern lean_object* l_Lean_Meta_Exception_toStr___closed__1; extern lean_object* l_Lean_Parser_Term_num___elambda__1___closed__1; lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lean_Elab_Term_elabListLit___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ensureType(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBadCDot___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__1; lean_object* l_Lean_Expr_getAppFn___main(lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_MonadLog___closed__3; lean_object* l_PersistentArray_push___rarg(lean_object*, lean_object*); @@ -187,71 +171,70 @@ lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabTypeStx___closed__2; extern lean_object* l_String_splitAux___main___closed__1; lean_object* l_Lean_Elab_Term_logTrace___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_getAppArgs___closed__1; +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_registerBuiltinTermElabAttr___lambda__1___closed__3; lean_object* l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; lean_object* l_Lean_Elab_Term_withIncRecDepth(lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___closed__3; lean_object* l_Lean_WHNF_unfoldDefinitionAux___at_Lean_Meta_unfoldDefinition_x3f___spec__1(lean_object*, lean_object*, lean_object*); extern lean_object* l_List_repr___rarg___closed__3; +lean_object* l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__4; extern lean_object* l_Lean_Parser_Term_typeAscription___elambda__1___closed__2; lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_Elab_Term_elabTermAux___main___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_throwError(lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_25__mkFreshLevelMVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabSort___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getMCtx(lean_object*); size_t l_USize_shiftRight(size_t, size_t); lean_object* l_Lean_Elab_Term_withLCtx___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_11__resumePostponed___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabArrayLit___closed__6; -lean_object* l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__9; lean_object* l_Lean_Elab_Term_resolveName___closed__6; lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTypeStx___rarg(lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__8; lean_object* l_Lean_mkAtom(lean_object*); lean_object* l_Lean_Elab_Term_elabParen___closed__6; extern lean_object* l_Lean_Parser_Term_tupleTail___elambda__1___closed__2; -lean_object* l___private_Init_Lean_Elab_Term_20__synthesizeSyntheticMVarsAux___main(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabTypeStx___closed__1; extern lean_object* l_Lean_Parser_Term_cons___elambda__1___closed__1; -lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_Term_3__addMacroStack___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_read___at_Lean_Elab_Term_TermElabM_MonadLog___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_dbgTrace___rarg(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_sort___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_adaptMacro___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_MetaHasEval___rarg___closed__4; lean_object* l_Lean_Elab_Term_assignExprMVar(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_13__checkWithDefault___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_bind___at_Lean_Elab_Term_TermElabM_MonadLog___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Exception_hasToString(lean_object*); extern lean_object* l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; lean_object* l_Lean_Elab_Term_elabParen___closed__5; -lean_object* l___private_Init_Lean_Elab_Term_14__resumePostponed(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); extern lean_object* l_Lean_LocalContext_Inhabited___closed__1; lean_object* l_Lean_Elab_Term_resolveName___closed__5; lean_object* l_Lean_Elab_Term_mkFreshExprMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_LVal_hasToString(lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_11__resumePostponed(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__2; lean_object* l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__2; -lean_object* l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; lean_object* l_Lean_Elab_Term_trace___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_6__fromMetaState___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_12__synthesizePendingInstMVar___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBadCDot___closed__1; -lean_object* l___private_Init_Lean_Elab_Term_7__hasCDot___boxed(lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_11__postponeElabTerm___closed__1; -lean_object* l___private_Init_Lean_Elab_Term_10__exceptionToSorry___closed__3; +lean_object* l___private_Init_Lean_Elab_Term_11__resumePostponed___closed__1; lean_object* l_Lean_Elab_Term_TermElabResult_inhabited___closed__1; +lean_object* l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__3; extern lean_object* l_Lean_AttributeImpl_inhabited___closed__2; lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkFreshInstanceName___rarg___closed__1; lean_object* l_Lean_Elab_Term_termElabAttribute___closed__2; -lean_object* l_Lean_fmt___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__3(uint8_t); +lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__3; lean_object* l_Lean_Elab_Term_ensureHasType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__1; lean_object* l_IO_ofExcept___at_Lean_registerClassAttr___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getTraceState(lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__2; lean_object* l_Lean_Elab_Term_mkFreshTypeMVar(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_MonadLog___closed__7; lean_object* l_Lean_Elab_Term_elabTermAux___main___closed__1; +lean_object* l___private_Init_Lean_Elab_Term_21__resolveLocalName(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkFreshAnonymousIdent(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabParen___closed__2; lean_object* l_Lean_Elab_Term_mkLet(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -260,10 +243,14 @@ lean_object* l_Lean_Elab_Term_whnf(lean_object*, lean_object*, lean_object*, lea lean_object* l_Lean_Elab_Term_elabArrayLit(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getOptions(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabParen___closed__1; +lean_object* l___private_Init_Lean_Elab_Term_10__resumeElabTerm___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabListLit___closed__1; +lean_object* l___private_Init_Lean_Elab_Term_18__mkPairsAux___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_liftMetaM(lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_5__fromMetaException(lean_object*, lean_object*, lean_object*); +lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__5; extern lean_object* l_Lean_PersistentEnvExtension_inhabited___rarg___closed__1; +lean_object* l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__8; +lean_object* l___private_Init_Lean_Elab_Term_10__resumeElabTerm(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabNum___closed__5; extern lean_object* l_Lean_Format_repr___main___closed__13; lean_object* l_Lean_Elab_Term_elabListLit___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -271,39 +258,47 @@ uint8_t lean_metavar_ctx_is_expr_assigned(lean_object*, lean_object*); lean_object* l_Lean_Meta_isClass(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SMap_contains___at_Lean_Elab_Term_addBuiltinTermElab___spec__1___boxed(lean_object*, lean_object*); lean_object* l_HashMapImp_find_x3f___at_Lean_Elab_Term_elabTermAux___main___spec__5___boxed(lean_object*, lean_object*); +lean_object* l_ReaderT_lift___at___private_Init_Lean_Elab_Term_11__resumePostponed___spec__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeUsingDefault(lean_object*, lean_object*); -lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_Term_3__addMacroStack___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withIncRecDepth___rarg___closed__1; lean_object* l_Lean_Elab_Term_TermElabM_MonadLog___closed__11; lean_object* l_Lean_Elab_Term_elabListLit___closed__2; extern lean_object* l_Lean_Parser_Term_typeAscription___elambda__1___closed__5; +lean_object* l___private_Init_Lean_Elab_Term_18__mkPairsAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkFreshAnonymousName___boxed(lean_object*); extern lean_object* l_Lean_Meta_dbgTrace___rarg___closed__1; lean_object* l_Lean_Elab_Term_mkConst___closed__6; -lean_object* l___private_Init_Lean_Elab_Term_23__resolveLocalNameAux(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_2__fromMetaException(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_withIncRecDepth___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_20__resolveLocalNameAux(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_2__fromMetaException___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__2; lean_object* l_Lean_Elab_Term_elabParen___closed__4; -lean_object* l___private_Init_Lean_Elab_Term_8__expandCDot(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withIncRecDepth___rarg___closed__2; lean_object* l_Lean_Elab_Term_elabLevel(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__3; +lean_object* l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__9; +lean_object* l_List_forM___main___at___private_Init_Lean_Elab_Term_16__reportStuckSyntheticMVars___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_isCharLit_x3f(lean_object*); lean_object* l_Array_isEqvAux___main___at_Lean_Elab_Term_withMVarContext___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__5; +lean_object* l___private_Init_Lean_Elab_Term_7__exceptionToSorry___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_declareBuiltinTermElab___closed__3; lean_object* l_Lean_Elab_Term_elabChar___closed__1; lean_object* l_Lean_Elab_Term_mkFreshAnonymousName___rarg(lean_object*); +lean_object* l_List_forM___main___at___private_Init_Lean_Elab_Term_16__reportStuckSyntheticMVars___spec__1___lambda__1___closed__1; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabProp___closed__3; extern lean_object* l_Lean_Expr_Inhabited___closed__1; -lean_object* l_PersistentArray_foldlMAux___main___at___private_Init_Lean_Elab_Term_6__fromMetaState___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_AssocList_find___main___at_Lean_Elab_Term_elabTermAux___main___spec__6___boxed(lean_object*, lean_object*); +lean_object* l_List_forM___main___at___private_Init_Lean_Elab_Term_16__reportStuckSyntheticMVars___spec__1___lambda__1___closed__2; lean_object* l_Lean_Elab_Term_withMVarContext(lean_object*); extern lean_object* l_Lean_Name_appendIndexAfter___closed__1; lean_object* l_Lean_Elab_Term_termElabAttribute___closed__4; lean_object* l_Lean_Elab_Term_addContext___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_levelMVarToParam(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__4; lean_object* l_Lean_Elab_Term_observing(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkLet___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_MonadLog___lambda__4(lean_object*, lean_object*, lean_object*); @@ -314,34 +309,31 @@ lean_object* l_Lean_Elab_Term_getTraceState___rarg(lean_object*); lean_object* l_Lean_Elab_Term_State_inhabited___closed__1; extern lean_object* l_Lean_EnvExtension_Inhabited___rarg___closed__1; lean_object* l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_26__mkConsts(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_dbgTrace(lean_object*); extern lean_object* l_Lean_Parser_Term_id___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_elabArrayLit___closed__11; lean_object* l_Lean_Elab_Term_decLevel_x3f(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_numLitKind; -lean_object* l___private_Init_Lean_Elab_Term_24__resolveLocalName(lean_object*, lean_object*, lean_object*); +lean_object* l_Nat_foldMAux___main___at___private_Init_Lean_Elab_Term_22__mkFreshLevelMVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_levelMVarToParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabChar___closed__2; lean_object* l_Lean_Elab_Term_mkLambda___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getLevel(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__5; -lean_object* l___private_Init_Lean_Elab_Term_21__mkPairsAux___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__6; +lean_object* l_Lean_fmt___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__3(uint8_t); +lean_object* l___private_Init_Lean_Elab_Term_7__exceptionToSorry___closed__2; +lean_object* l_Lean_Elab_Term_mkConst___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getCurrNamespace(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_23__mkConsts(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_throwUnsupportedSyntax___rarg(lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__10; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabSort___closed__3; -lean_object* l___private_Init_Lean_Elab_Term_12__elabTermUsing___main___closed__3; extern lean_object* l_Lean_Expr_isSyntheticSorry___closed__1; -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_6__fromMetaState___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_9__elabTermUsing___main(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_isExprMVarAssigned___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabProp___rarg(lean_object*); lean_object* l_PersistentHashMap_empty___at_Lean_Elab_Term_mkBuiltinTermElabTable___spec__3; -uint8_t l___private_Init_Lean_Elab_Term_7__hasCDot___main(lean_object*); lean_object* l_Lean_Syntax_isStrLit_x3f(lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_12__elabTermUsing(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabNum___closed__3; lean_object* l_Lean_Elab_Term_termElabAttribute___closed__1; lean_object* l_Lean_Elab_Term_mkFreshInstanceName(lean_object*); @@ -349,23 +341,25 @@ lean_object* l_Lean_Elab_Term_elabChar___boxed(lean_object*, lean_object*, lean_ lean_object* l_Lean_Name_append___main(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__3; lean_object* l_Lean_Elab_mkMessageCore(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_8__postponeElabTerm(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkHole___boxed(lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_14__resumePostponed___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withMacroExpansion___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__3; lean_object* l_Lean_Elab_Term_levelMVarToParam___closed__2; lean_object* l_Lean_Elab_Term_elabStr___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_9__elabTermUsing(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabParen(lean_object*); lean_object* l_Lean_Elab_Term_mkConst___closed__2; -lean_object* l___private_Init_Lean_Elab_Term_14__resumePostponed___lambda__1___closed__1; +lean_object* l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__4; lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabStr___closed__1; -lean_object* l___private_Init_Lean_Elab_Term_4__mkMessageAux(lean_object*, lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Elab_Term_TermElabM_MonadLog___closed__10; +lean_object* l___private_Init_Lean_Elab_Term_16__reportStuckSyntheticMVars(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_inhabited(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_MonadLog___lambda__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkInstMVar(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_declareBuiltinTermElab___closed__6; +lean_object* l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__10; lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_levelMVarToParam___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getMVarDecl___boxed(lean_object*, lean_object*, lean_object*); @@ -373,22 +367,23 @@ lean_object* l_Lean_Elab_Term_setTraceState___boxed(lean_object*, lean_object*, lean_object* l_Lean_Expr_fvarId_x21(lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__7; lean_object* l_Lean_Elab_Term_mkTermId___boxed(lean_object*, lean_object*); -lean_object* l_List_forM___main___at___private_Init_Lean_Elab_Term_19__reportStuckSyntheticMVars___spec__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_fmt___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__3___boxed(lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkConst___closed__4; lean_object* l_List_lengthAux___main___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallUsedOnly(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTermAux___main___closed__5; lean_object* l_Lean_Name_appendIndexAfter(lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_6__fromMetaState___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__7; +lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__8; +lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__9; +lean_object* l___private_Init_Lean_Elab_Term_1__mkMessageAux(lean_object*, lean_object*, lean_object*, uint8_t); +lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__4; lean_object* l_Lean_Elab_Term_withNode___rarg___closed__1; +lean_object* l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__2; lean_object* l_Lean_Elab_Term_elabTypeStx(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withFreshMacroScope(lean_object*); -uint8_t l___private_Init_Lean_Elab_Term_1__getBetterRef___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveName___closed__7; size_t l_Lean_Name_hash(lean_object*); -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_6__fromMetaState___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTermAux___main(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_termElabAttribute___closed__3; lean_object* l_Nat_repr(lean_object*); @@ -396,6 +391,7 @@ lean_object* l_Lean_Elab_Term_State_inhabited___closed__2; extern lean_object* l_Char_HasRepr___closed__1; lean_object* l_Lean_Elab_Term_elabNum___closed__2; lean_object* l_Lean_Elab_Term_withNode___rarg___closed__2; +lean_object* l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__1; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabListLit___closed__3; lean_object* l_Lean_Elab_Term_expandCDot_x3f___closed__3; lean_object* l_Lean_Elab_Term_logTrace(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -404,14 +400,14 @@ lean_object* l_Lean_Elab_Term_trySynthInstance(lean_object*, lean_object*, lean_ lean_object* l_Lean_Elab_Term_liftLevelM___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabStr___closed__2; lean_object* l_Lean_Elab_Term_elabListLit___closed__4; +lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__7; extern lean_object* l_Lean_Parser_Term_explicitBinder___elambda__1___closed__2; -lean_object* l___private_Init_Lean_Elab_Term_13__resumeElabTerm(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_prettyPrint(lean_object*); lean_object* l_Lean_Elab_Term_whnfForall___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getLevel___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_List_repr___rarg___closed__2; lean_object* l_Lean_Elab_Term_trySynthInstance___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__5; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabTypeStx(lean_object*); lean_object* l_Lean_Elab_Term_isClass___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabParen___closed__3; @@ -424,6 +420,7 @@ extern lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_elabTypeStx___rarg___closed__1; extern lean_object* l_Lean_Elab_Exception_hasToString___closed__1; lean_object* l_PersistentHashMap_findAux___main___at_Lean_Elab_Term_elabTermAux___main___spec__3(lean_object*, size_t, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_11__resumePostponed___lambda__1___closed__1; extern lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1___closed__2; extern lean_object* l_PersistentArray_empty___closed__3; lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars___boxed(lean_object*, lean_object*, lean_object*); @@ -431,44 +428,46 @@ lean_object* l_Lean_Elab_Term_mkBuiltinTermElabTable(lean_object*); lean_object* l_Lean_Elab_Term_resolveName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabStr___closed__2; extern lean_object* l_Lean_Parser_regBuiltinTermParserAttr___closed__3; -lean_object* l___private_Init_Lean_Elab_Term_2__prettyPrint(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabProp___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_assignExpr(lean_object*, lean_object*, lean_object*); +lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_Term_23__mkConsts___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_applyResult___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SMap_find_x3f___at_Lean_Elab_Term_elabTermAux___main___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_throwUnsupportedSyntax___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkTermElabAttribute(lean_object*); lean_object* l_AssocList_find___main___at_Lean_Elab_Term_elabTermAux___main___spec__6(lean_object*, lean_object*); -lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_Term_3__addMacroStack___spec__1___closed__3; +lean_object* l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__2; uint8_t l_PersistentHashMap_contains___at_Lean_Elab_Term_addBuiltinTermElab___spec__4(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__1; extern lean_object* l_Lean_Parser_declareBuiltinParser___closed__7; +lean_object* l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVar___closed__3; lean_object* l_Lean_Elab_Term_mkAppM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getCurrMacroScope___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1___closed__1; -lean_object* l___private_Init_Lean_Elab_Term_13__resumeElabTerm___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Options_empty; lean_object* l_Lean_Elab_Term_mkConst___closed__7; +lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabTypeStx___closed__3; lean_object* l_Lean_Elab_Term_elabTermAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabLevel___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_coeDecidableEq(uint8_t); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabSort(lean_object*); uint8_t l_PersistentHashMap_containsAux___main___at_Lean_Elab_Term_addBuiltinTermElab___spec__5(lean_object*, size_t, lean_object*); -lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__4; size_t lean_usize_modn(size_t, lean_object*); lean_object* l_Lean_Elab_Term_expandCDot_x3f___closed__2; -lean_object* l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVar___closed__3; -lean_object* l_List_forM___main___at___private_Init_Lean_Elab_Term_19__reportStuckSyntheticMVars___spec__1___lambda__1___closed__1; +lean_object* l_ReaderT_lift___at___private_Init_Lean_Elab_Term_11__resumePostponed___spec__1(lean_object*); lean_object* l_Lean_registerBuiltinAttribute(lean_object*, lean_object*); lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); +lean_object* l_List_forM___main___at___private_Init_Lean_Elab_Term_16__reportStuckSyntheticMVars___spec__1___lambda__1___closed__3; lean_object* l_Lean_Elab_Term_liftLevelM(lean_object*); lean_object* l_Lean_Elab_Term_elabProp(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveName___closed__8; +lean_object* l_Lean_Elab_addMacroStack(lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_toExpr(lean_object*); lean_object* l_Lean_Elab_Term_elabTermAux(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_termElabAttribute___closed__5; +lean_object* l_Lean_Elab_Term_ensureHasType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_mkElabAttribute___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabArrayLit___closed__3; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabArrayLit(lean_object*); @@ -483,80 +482,71 @@ lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabParen___closed__1; lean_object* l_Lean_Elab_Level_elabLevel___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ensureHasType___closed__1; lean_object* l_Lean_Elab_Term_addBuiltinTermElab___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_24__regTraceClasses(lean_object*); lean_object* l_Lean_Elab_Term_getLocalInsts(lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabProp(lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_11__resumePostponed___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkFreshInstanceName___rarg(lean_object*); lean_object* l_Array_back___at___private_Init_Lean_Parser_Parser_6__updateCache___spec__1(lean_object*); lean_object* l_Lean_Meta_whnf(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVarsAux___main(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabSort___closed__2; -lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__1; lean_object* l_Lean_Elab_Term_isClass(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabResult_inhabited; -lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withMVarContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_MonadLog___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabArrayLit___closed__4; +lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__2; lean_object* l_Lean_Elab_Term_TermElabM_inhabited___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_MonadLog___lambda__4___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkFreshAnonymousIdent___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTermAux___main___closed__3; extern lean_object* l_Lean_PersistentEnvExtension_inhabited___rarg___closed__3; -lean_object* l___private_Init_Lean_Elab_Term_9__expandCDotInApp___main(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_type(lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabProp___closed__1; extern lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_elabArrayLit___closed__9; lean_object* l_Lean_Elab_Term_resolveName___closed__9; -lean_object* l_PersistentArray_foldlM___at___private_Init_Lean_Elab_Term_6__fromMetaState___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_ReaderT_lift___at___private_Init_Lean_Elab_Term_14__resumePostponed___spec__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentArray_foldlM___at___private_Init_Lean_Elab_Term_6__fromMetaState___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_throwUnsupportedSyntax(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabListLit___closed__5; size_t l_USize_land(size_t, size_t); lean_object* l_Lean_Elab_Term_mkConst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_HashMapImp_contains___at_Lean_Elab_Term_addBuiltinTermElab___spec__2___boxed(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_19__reportStuckSyntheticMVars(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkConst___closed__3; lean_object* l_Lean_Elab_Term_resolveName___closed__4; lean_object* l_Lean_Elab_Term_withNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_nullKind___closed__2; lean_object* l_Lean_Elab_Term_TermElabM_MonadLog___lambda__3(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ParametricAttribute_setParam___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__8; -lean_object* l___private_Init_Lean_Elab_Term_7__hasCDot___main___boxed(lean_object*); lean_object* l_Lean_Elab_Term_termElabAttribute; -lean_object* l_Lean_fmt___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__3___boxed(lean_object*); lean_object* l_Lean_Elab_Term_expandCDot_x3f___closed__1; lean_object* l_fix1___rarg___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabArrayLit___closed__10; +lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__1; lean_object* l_Lean_Elab_Term_mkTermIdFromIdent(lean_object*); extern lean_object* l_Lean_Meta_Exception_toStr___closed__7; lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getDeclName_x3f___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_isDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_forM___main___at___private_Init_Lean_Elab_Term_19__reportStuckSyntheticMVars___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__7; lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__10; lean_object* l_Lean_Elab_Term_TermElabM_MonadLog___lambda__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_lparams(lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__5; -lean_object* l_Lean_fmt___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__1(lean_object*); lean_object* l_Lean_Elab_Term_mkFreshAnonymousName(lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_11__postponeElabTerm___closed__3; +uint8_t l___private_Init_Lean_Elab_Term_4__hasCDot(lean_object*); lean_object* l_Lean_Elab_Term_withLCtx(lean_object*); -uint8_t l___private_Init_Lean_Elab_Term_7__hasCDot(lean_object*); lean_object* l_Lean_Elab_Term_withNode(lean_object*); extern lean_object* l_Option_HasRepr___rarg___closed__3; lean_object* l_Lean_Elab_Term_traceAtCmdPos___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__9; lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_Elab_Term_elabTermAux___main___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_16__checkWithDefault(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l___private_Init_Lean_Elab_Term_4__hasCDot___main(lean_object*); lean_object* l_Lean_Elab_Term_withoutPostponing___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_prop___elambda__1___closed__2; -lean_object* l___private_Init_Lean_Elab_Term_8__expandCDot___closed__3; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabArrayLit___closed__1; extern lean_object* l_Lean_Meta_Exception_mkAppTypeMismatchMessage___closed__8; lean_object* l_Lean_Elab_Term_Exception_inhabited; +lean_object* l___private_Init_Lean_Elab_Term_22__mkFreshLevelMVars(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabHole(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_str___elambda__1___closed__2; extern lean_object* l_Lean_Syntax_inhabited; @@ -566,37 +556,40 @@ lean_object* l_Lean_Elab_Term_liftMetaM___rarg___boxed(lean_object*, lean_object lean_object* l_Lean_Elab_Term_registerBuiltinTermElabAttr___lambda__1___closed__4; lean_object* l_Lean_Meta_trySynthInstance(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_declareBuiltinTermElab___closed__7; -lean_object* l___private_Init_Lean_Elab_Term_12__elabTermUsing___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_23__resolveLocalNameAux___main(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_WHNF_whnfCore___main___at_Lean_Meta_whnfCore___spec__1(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_13__checkWithDefault(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabStr(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_declareBuiltinTermElab___closed__5; lean_object* l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1___closed__1; lean_object* l_Lean_Elab_Term_getLCtx(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__3; +lean_object* l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_foldlMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_traceAtCmdPos(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___closed__2; uint8_t l_HashMapImp_contains___at_Lean_Elab_Term_addBuiltinTermElab___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ensureHasType___closed__3; -lean_object* l___private_Init_Lean_Elab_Term_25__mkFreshLevelMVars(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_decLevel___closed__5; +lean_object* l___private_Init_Lean_Elab_Term_7__exceptionToSorry___closed__1; lean_object* l_PersistentHashMap_contains___at_Lean_Elab_Term_addBuiltinTermElab___spec__4___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_inhabited___rarg(lean_object*); uint8_t l_Lean_Expr_isMVar(lean_object*); lean_object* l_Lean_Elab_Term_mkHole(lean_object*); -uint8_t l___private_Init_Lean_Elab_Term_7__hasCDot___main___closed__1; lean_object* l_Lean_Elab_Term_termElabAttribute___closed__6; lean_object* l_Lean_Meta_mkFreshExprMVar(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___closed__1; lean_object* l_Lean_Elab_Term_mkConst___closed__5; lean_object* l_Lean_mkApp(lean_object*, lean_object*); lean_object* l_HashMapImp_find_x3f___at_Lean_Elab_Term_elabTermAux___main___spec__5(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabArrayLit___closed__12; extern lean_object* l_Lean_Syntax_asNode___closed__1; lean_object* l_Lean_nameToExprAux___main(lean_object*); +lean_object* l_Lean_Elab_Term_throwError___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_AssocList_contains___main___at_Lean_Elab_Term_addBuiltinTermElab___spec__3(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_1__getBetterRef___lambda__1___boxed(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_4__mkMessageAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_ensureType___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_15__synthesizePendingInstMVar___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabArrayLit___closed__2; extern lean_object* l_Bool_HasRepr___closed__2; lean_object* l_Lean_Elab_Term_ensureType___closed__2; @@ -606,7 +599,6 @@ lean_object* l_Lean_Environment_addAndCompile(lean_object*, lean_object*, lean_o lean_object* l_Lean_Elab_Term_registerSyntheticMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); lean_object* l_PersistentHashMap_find_x3f___at_Lean_Elab_Term_elabTermAux___main___spec__2(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_6__fromMetaState___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_registerBuiltinTermElabAttr___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_registerBuiltinTermElabAttr(lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore(lean_object*, lean_object*, lean_object*, lean_object*); @@ -615,45 +607,48 @@ extern lean_object* l_Lean_Parser_Term_paren___elambda__1___closed__1; lean_object* l_Lean_Elab_Term_registerBuiltinTermElabAttr___lambda__1___closed__1; lean_object* l_Lean_SMap_find_x3f___at_Lean_Elab_Term_elabTermAux___main___spec__1(lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); +lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__6; +lean_object* l_PersistentArray_foldlM___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_decLevel_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ensureType___closed__1; lean_object* l_Lean_Elab_log___at_Lean_Elab_Term_logTrace___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_getPos___at_Lean_Elab_Term_throwError___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_21__mkPairsAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_18__mkPairsAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTerm___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_app___elambda__1___closed__2; extern lean_object* l_Lean_EnvExtension_setState___closed__1; lean_object* l_Lean_Elab_Term_liftLevelM___rarg___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__2; lean_object* l_Lean_Elab_Term_TermElabM_MonadLog___closed__9; lean_object* l_Lean_Elab_Term_tryPostponeIfMVar___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_whnfCore(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_20__synthesizeSyntheticMVarsAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Init_Util_1__mkPanicMessage___closed__2; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabParen___closed__2; lean_object* l_Lean_Elab_Term_resettingSynthInstanceCacheWhen___rarg(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Term_logTrace___spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_12__synthesizePendingInstMVar(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_3__fromMetaState___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkConst___closed__1; lean_object* l_Lean_Elab_Term_isExprMVarAssigned(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_whnf___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabHole___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_declareBuiltinTermElab___closed__4; -lean_object* l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__7; lean_object* lean_io_ref_reset(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_unfoldDefinition_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkExplicitBinder(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabSort(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Term_levelMVarToParam___lambda__1(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_11__resumePostponed___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__7; lean_object* l_Lean_Elab_Term_adaptExpander(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_15__synthesizePendingInstMVar(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withMVarContext___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__3; lean_object* l_Lean_Meta_getLevel(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_20__synthesizeSyntheticMVarsAux(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryPostponeIfMVar(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__8; +lean_object* l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVarsAux(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getPos(lean_object*); lean_object* l_Lean_Elab_Term_elabListLit(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_19__elabCDot(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withIncRecDepth___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabType(lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyRangeMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -664,6 +659,8 @@ lean_object* l_Lean_Elab_Term_instantiateMVars___boxed(lean_object*, lean_object lean_object* l_Lean_Elab_Term_elabStr___closed__3; lean_object* l_Lean_Elab_Term_mkTermId(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withFreshMacroScope___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_4__hasCDot___main___boxed(lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_4__hasCDot___boxed(lean_object*); extern lean_object* l_Lean_TraceState_Inhabited___closed__1; lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resetSynthInstanceCache___rarg(lean_object*); @@ -680,7 +677,6 @@ lean_object* l_Lean_Elab_Term_elabArrayLit___closed__3; extern lean_object* l_Lean_mkOptionalNode___closed__1; lean_object* l_Lean_Elab_Term_TermElabM_MonadLog___closed__5; lean_object* l_Lean_Elab_Term_tryEnsureHasType_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_22__elabCDot(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_decLevel___closed__4; lean_object* l_Lean_Elab_Term_elabChar___closed__3; lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__12; @@ -693,9 +689,7 @@ lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__1; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabStr(lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_MonadLog___closed__2; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); -lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_Term_26__mkConsts___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentEnvExtension_getState___rarg(lean_object*, lean_object*); -lean_object* l_List_forM___main___at___private_Init_Lean_Elab_Term_19__reportStuckSyntheticMVars___spec__1___lambda__1___closed__2; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabHole___closed__3; lean_object* l_Lean_Syntax_foldArgsAuxM___main___at_Lean_Syntax_foldSepRevArgsM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_mkMessage___at_Lean_Elab_Term_throwError___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); @@ -704,34 +698,33 @@ lean_object* l_Lean_Elab_Term_getOpenDecls___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getTraceState___boxed(lean_object*); lean_object* l_Lean_Elab_Term_mkFreshLevelMVar(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__4; -lean_object* l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__1; +lean_object* l_Nat_foldMAux___main___at___private_Init_Lean_Elab_Term_22__mkFreshLevelMVars___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resettingSynthInstanceCache___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_6__fromMetaState(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveName___closed__2; lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lean_Elab_Term_elabListLit___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkPairs___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabStr___closed__1; lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__11; -lean_object* l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; lean_object* l_Lean_Elab_Term_isDefEq___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_decLevel___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getLCtx___boxed(lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Parser_Parser_8__throwParserCategoryAlreadyDefined___rarg___closed__2; -lean_object* l___private_Init_Lean_Elab_Term_14__resumePostponed___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkFreshLevelMVar___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Nat_foldMAux___main___at___private_Init_Lean_Elab_Term_25__mkFreshLevelMVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_setTraceState(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryPostpone(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkPairs(lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentArray_foldlMAux___main___at___private_Init_Lean_Elab_Term_6__fromMetaState___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryEnsureHasType_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__4; lean_object* l_Lean_Meta_mkFreshLevelMVar___rarg(lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); extern lean_object* l_Lean_MetavarContext_Inhabited___closed__1; +lean_object* l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__6; uint8_t l_Lean_SMap_contains___at_Lean_Elab_Term_addBuiltinTermElab___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabNum(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_3__fromMetaState(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabListLit___closed__3; -lean_object* l_ReaderT_lift___at___private_Init_Lean_Elab_Term_14__resumePostponed___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkNatLit(lean_object*); lean_object* l_Lean_mkStrLit(lean_object*); lean_object* l_Lean_Elab_Term_addContext(lean_object*, lean_object*, lean_object*); @@ -740,9 +733,9 @@ extern lean_object* l_Lean_Parser_Term_listLit___elambda__1___closed__2; uint8_t l_Lean_LocalInstance_beq(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withNode___rarg___closed__3; lean_object* l_Lean_Elab_Term_registerBuiltinTermElabAttr___closed__4; +lean_object* l_ReaderT_lift___at___private_Init_Lean_Elab_Term_11__resumePostponed___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__1; extern lean_object* l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; -lean_object* l___private_Init_Lean_Elab_Term_5__fromMetaException___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_27__regTraceClasses(lean_object*); lean_object* l_Lean_MetavarContext_getDecl(lean_object*, lean_object*); lean_object* l_Lean_Syntax_formatStxAux___main(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resetSynthInstanceCache___boxed(lean_object*); @@ -751,8 +744,8 @@ lean_object* l_Lean_Elab_Term_decLevel___closed__1; lean_object* l_Lean_Elab_Term_elabTermAux___main___closed__2; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabBadCDot___closed__1; lean_object* l_Lean_Elab_Term_registerBuiltinTermElabAttr___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_10__exceptionToSorry___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_builtinTermElabTable; uint8_t l_List_isEmpty___rarg(lean_object*); lean_object* l_Lean_Elab_Term_mkTermElabAttribute___closed__2; @@ -763,12 +756,14 @@ lean_object* l_Lean_Name_toStringWithSep___main(lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__1; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabHole___closed__1; lean_object* l_Lean_SMap_empty___at_Lean_Elab_Term_mkBuiltinTermElabTable___spec__1; +lean_object* l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVarsAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_usize_to_nat(size_t); uint8_t l_Array_isEqvAux___main___at_Lean_Elab_Term_withMVarContext___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__3; +lean_object* l_List_forM___main___at___private_Init_Lean_Elab_Term_16__reportStuckSyntheticMVars___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabBadCDot___closed__2; -lean_object* l___private_Init_Lean_Elab_Term_10__exceptionToSorry___closed__1; extern lean_object* l_Lean_levelOne; +lean_object* l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__8; +lean_object* l_List_forM___main___at___private_Init_Lean_Elab_Term_16__reportStuckSyntheticMVars___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Message_toString(lean_object*); lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_char___elambda__1___closed__2; @@ -781,6 +776,7 @@ lean_object* l_AssocList_contains___main___at_Lean_Elab_Term_addBuiltinTermElab_ lean_object* l_Lean_Elab_Term_mkFreshInstanceName___boxed(lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabChar___closed__1; lean_object* l_Lean_Elab_Term_registerBuiltinTermElabAttr___closed__1; +lean_object* l_Lean_Elab_Term_resolveName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__6; extern lean_object* l_Lean_Format_repr___main___closed__16; lean_object* l_Lean_Elab_Term_resolveName___closed__1; @@ -789,32 +785,35 @@ lean_object* l_IO_ofExcept___at___private_Init_Lean_Elab_Util_6__ElabAttribute_a lean_object* l_Lean_Elab_Term_resettingSynthInstanceCache(lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_registerSyntheticMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_3__addMacroStack(lean_object*, lean_object*, lean_object*); lean_object* l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1___closed__2; -lean_object* l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__6; +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar___boxed(lean_object*, lean_object*, lean_object*); +uint8_t l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; lean_object* lean_uint32_to_nat(uint32_t); extern lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__10; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabBadCDot___closed__3; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabNum___closed__3; +lean_object* l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__5; extern lean_object* l_Lean_PersistentEnvExtension_inhabited___rarg___closed__4; extern lean_object* l_Lean_initAttr; extern lean_object* l_EStateM_MonadState___closed__2; extern lean_object* l_Lean_Parser_Term_arrayLit___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_getOptions___boxed(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_11__postponeElabTerm___closed__4; lean_object* l_PersistentHashMap_containsAux___main___at_Lean_Elab_Term_addBuiltinTermElab___spec__5___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBadCDot___closed__3; +lean_object* l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__3; lean_object* l_Lean_Elab_Term_elabArrayLit___closed__5; lean_object* l_Lean_Elab_mkMessageAt___at_Lean_Elab_Term_throwError___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_numeral(lean_object*, lean_object*); lean_object* l_Lean_Elab_syntaxNodeKindOfAttrParam(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_6__expandCDotInApp___main(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkForall___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getMCtx___rarg(lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__4; -lean_object* l_Nat_foldMAux___main___at___private_Init_Lean_Elab_Term_25__mkFreshLevelMVars___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_foldlM___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_9__elabTermUsing___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_MonadLog___lambda__2___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_List_forM___main___at___private_Init_Lean_Elab_Term_19__reportStuckSyntheticMVars___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_23__mkConsts___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_liftMetaM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabArrayLit___closed__7; lean_object* l_Lean_Elab_Term_mkTermElabAttribute___closed__1; @@ -822,18 +821,20 @@ lean_object* l_Lean_Elab_Term_mkFreshInstanceName___rarg___closed__2; lean_object* l_Lean_mkApp3(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isSort(lean_object*); lean_object* l_Lean_Meta_decLevel_x3f(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_24__resolveLocalName___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVar(lean_object*, uint8_t, lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Parser_Parser_18__BuiltinParserAttribute_add___closed__2; lean_object* l_Lean_Elab_Term_expandCDot_x3f(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_NameGenerator_Inhabited___closed__3; lean_object* l_Lean_Elab_Term_mkFreshTypeMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVar(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBadCDot(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabNum___closed__4; +lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Elab_expandMacro(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_decLevel___closed__6; +lean_object* l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__6; lean_object* _init_l_Lean_Elab_Term_State_inhabited___closed__1() { _start: { @@ -1680,273 +1681,6 @@ lean_dec(x_2); return x_4; } } -uint8_t l___private_Init_Lean_Elab_Term_1__getBetterRef___lambda__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Syntax_getPos(x_2); -if (lean_obj_tag(x_3) == 0) -{ -if (lean_obj_tag(x_1) == 0) -{ -uint8_t x_4; -x_4 = 0; -return x_4; -} -else -{ -uint8_t x_5; -x_5 = 1; -return x_5; -} -} -else -{ -if (lean_obj_tag(x_1) == 0) -{ -uint8_t x_6; -lean_dec(x_3); -x_6 = 1; -return x_6; -} -else -{ -lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_7 = lean_ctor_get(x_3, 0); -lean_inc(x_7); -lean_dec(x_3); -x_8 = lean_ctor_get(x_1, 0); -x_9 = lean_nat_dec_eq(x_7, x_8); -lean_dec(x_7); -if (x_9 == 0) -{ -uint8_t x_10; -x_10 = 1; -return x_10; -} -else -{ -uint8_t x_11; -x_11 = 0; -return x_11; -} -} -} -} -} -lean_object* l___private_Init_Lean_Elab_Term_1__getBetterRef(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_Syntax_getPos(x_1); -if (lean_obj_tag(x_4) == 0) -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_5 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Term_1__getBetterRef___lambda__1___boxed), 2, 1); -lean_closure_set(x_5, 0, x_4); -x_6 = lean_ctor_get(x_2, 8); -lean_inc(x_6); -lean_dec(x_2); -x_7 = l_List_find_x3f___main___rarg(x_5, x_6); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_1); -lean_ctor_set(x_8, 1, x_3); -return x_8; -} -else -{ -lean_object* x_9; lean_object* x_10; -lean_dec(x_1); -x_9 = lean_ctor_get(x_7, 0); -lean_inc(x_9); -lean_dec(x_7); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_10, 1, x_3); -return x_10; -} -} -else -{ -lean_object* x_11; -lean_dec(x_4); -lean_dec(x_2); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_1); -lean_ctor_set(x_11, 1, x_3); -return x_11; -} -} -} -lean_object* l___private_Init_Lean_Elab_Term_1__getBetterRef___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Lean_Elab_Term_1__getBetterRef___lambda__1(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l___private_Init_Lean_Elab_Term_2__prettyPrint(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_Syntax_reprint___main(x_1); -if (lean_obj_tag(x_4) == 0) -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_5 = lean_box(0); -x_6 = lean_unsigned_to_nat(0u); -x_7 = l_Lean_Syntax_formatStxAux___main(x_5, x_6, x_1); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_3); -return x_8; -} -else -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; -lean_dec(x_1); -x_9 = lean_ctor_get(x_4, 0); -lean_inc(x_9); -lean_dec(x_4); -x_10 = l_String_toFormat(x_9); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_3); -return x_11; -} -} -} -lean_object* l___private_Init_Lean_Elab_Term_2__prettyPrint___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l___private_Init_Lean_Elab_Term_2__prettyPrint(x_1, x_2, x_3); -lean_dec(x_2); -return x_4; -} -} -lean_object* _init_l_List_foldlM___main___at___private_Init_Lean_Elab_Term_3__addMacroStack___spec__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("while expanding"); -return x_1; -} -} -lean_object* _init_l_List_foldlM___main___at___private_Init_Lean_Elab_Term_3__addMacroStack___spec__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_List_foldlM___main___at___private_Init_Lean_Elab_Term_3__addMacroStack___spec__1___closed__1; -x_2 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -lean_object* _init_l_List_foldlM___main___at___private_Init_Lean_Elab_Term_3__addMacroStack___spec__1___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_List_foldlM___main___at___private_Init_Lean_Elab_Term_3__addMacroStack___spec__1___closed__2; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_Term_3__addMacroStack___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_5; -x_5 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_5, 0, x_1); -lean_ctor_set(x_5, 1, x_4); -return x_5; -} -else -{ -lean_object* x_6; 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_2, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_2, 1); -lean_inc(x_7); -lean_dec(x_2); -x_8 = l___private_Init_Lean_Elab_Term_2__prettyPrint(x_6, x_3, x_4); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_8, 1); -lean_inc(x_10); -lean_dec(x_8); -x_11 = l_Lean_MessageData_ofList___closed__3; -x_12 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_12, 0, x_1); -lean_ctor_set(x_12, 1, x_11); -x_13 = l_List_foldlM___main___at___private_Init_Lean_Elab_Term_3__addMacroStack___spec__1___closed__3; -x_14 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_14, 0, x_12); -lean_ctor_set(x_14, 1, x_13); -x_15 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_15, 0, x_9); -x_16 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_16, 0, x_11); -lean_ctor_set(x_16, 1, x_15); -x_17 = lean_unsigned_to_nat(2u); -x_18 = lean_alloc_ctor(6, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -x_19 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_19, 0, x_14); -lean_ctor_set(x_19, 1, x_18); -x_1 = x_19; -x_2 = x_7; -x_4 = x_10; -goto _start; -} -} -} -lean_object* l___private_Init_Lean_Elab_Term_3__addMacroStack(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_ctor_get(x_2, 8); -lean_inc(x_4); -x_5 = l_List_isEmpty___rarg(x_4); -if (x_5 == 0) -{ -lean_object* x_6; -x_6 = l_List_foldlM___main___at___private_Init_Lean_Elab_Term_3__addMacroStack___spec__1(x_1, x_4, x_2, x_3); -lean_dec(x_2); -return x_6; -} -else -{ -lean_object* x_7; -lean_dec(x_4); -lean_dec(x_2); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_1); -lean_ctor_set(x_7, 1, x_3); -return x_7; -} -} -} -lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_Term_3__addMacroStack___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_List_foldlM___main___at___private_Init_Lean_Elab_Term_3__addMacroStack___spec__1(x_1, x_2, x_3, x_4); -lean_dec(x_3); -return x_5; -} -} lean_object* l_Lean_Elab_getPos___at_Lean_Elab_Term_throwError___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -2100,54 +1834,45 @@ return x_10; lean_object* l_Lean_Elab_Term_throwError___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; uint8_t x_13; -lean_inc(x_3); -x_5 = l___private_Init_Lean_Elab_Term_1__getBetterRef(x_1, x_3, x_4); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_5, 1); -lean_inc(x_7); -lean_dec(x_5); -lean_inc(x_3); -x_8 = l___private_Init_Lean_Elab_Term_3__addMacroStack(x_2, x_3, x_7); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_8, 1); -lean_inc(x_10); -lean_dec(x_8); -x_11 = 2; -x_12 = l_Lean_Elab_mkMessage___at_Lean_Elab_Term_throwError___spec__1(x_9, x_11, x_6, x_3, x_10); +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; uint8_t x_10; +x_5 = lean_ctor_get(x_3, 8); +lean_inc(x_5); +lean_inc(x_5); +x_6 = l_Lean_Elab_getBetterRef(x_1, x_5); +x_7 = l_Lean_Elab_addMacroStack(x_2, x_5); +x_8 = 2; +x_9 = l_Lean_Elab_mkMessage___at_Lean_Elab_Term_throwError___spec__1(x_7, x_8, x_6, x_3, x_4); lean_dec(x_3); lean_dec(x_6); -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_12, 0); -x_15 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_15, 0, x_14); -x_16 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set_tag(x_12, 1); -lean_ctor_set(x_12, 0, x_16); -return x_12; +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_9, 0); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set_tag(x_9, 1); +lean_ctor_set(x_9, 0, x_13); +return x_9; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_17 = lean_ctor_get(x_12, 0); -x_18 = lean_ctor_get(x_12, 1); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_12); -x_19 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_19, 0, x_17); -x_20 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_20, 0, x_19); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_18); -return x_21; +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_14 = lean_ctor_get(x_9, 0); +x_15 = lean_ctor_get(x_9, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_9); +x_16 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_16, 0, x_14); +x_17 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_17, 0, x_16); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_15); +return x_18; } } } @@ -2155,7 +1880,7 @@ lean_object* l_Lean_Elab_Term_throwError(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_throwError___rarg), 4, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_throwError___rarg___boxed), 4, 0); return x_2; } } @@ -2193,6 +1918,15 @@ lean_dec(x_3); return x_7; } } +lean_object* l_Lean_Elab_Term_throwError___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Elab_Term_throwError___rarg(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} lean_object* _init_l_Lean_Elab_Term_throwUnsupportedSyntax___rarg___closed__1() { _start: { @@ -2289,7 +2023,6 @@ x_22 = lean_nat_dec_eq(x_20, x_21); if (x_22 == 0) { uint8_t x_23; -lean_dec(x_1); x_23 = !lean_is_exclusive(x_3); if (x_23 == 0) { @@ -2405,7 +2138,6 @@ x_53 = lean_nat_dec_eq(x_51, x_52); if (x_53 == 0) { lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -lean_dec(x_1); if (lean_is_exclusive(x_3)) { lean_ctor_release(x_3, 0); lean_ctor_release(x_3, 1); @@ -2498,10 +2230,19 @@ lean_object* l_Lean_Elab_Term_withIncRecDepth(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withIncRecDepth___rarg), 4, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withIncRecDepth___rarg___boxed), 4, 0); return x_2; } } +lean_object* l_Lean_Elab_Term_withIncRecDepth___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Elab_Term_withIncRecDepth___rarg(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object* x_1, lean_object* x_2) { _start: { @@ -4751,7 +4492,7 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_dbgTrace___rarg), 4, 0); return x_2; } } -lean_object* l___private_Init_Lean_Elab_Term_4__mkMessageAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4) { +lean_object* l___private_Init_Lean_Elab_Term_1__mkMessageAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; @@ -4785,24 +4526,24 @@ return x_11; } } } -lean_object* l___private_Init_Lean_Elab_Term_4__mkMessageAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Elab_Term_1__mkMessageAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { uint8_t x_5; lean_object* x_6; x_5 = lean_unbox(x_4); lean_dec(x_4); -x_6 = l___private_Init_Lean_Elab_Term_4__mkMessageAux(x_1, x_2, x_3, x_5); +x_6 = l___private_Init_Lean_Elab_Term_1__mkMessageAux(x_1, x_2, x_3, x_5); lean_dec(x_2); return x_6; } } -lean_object* l___private_Init_Lean_Elab_Term_5__fromMetaException(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Elab_Term_2__fromMetaException(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; x_4 = l_Lean_Meta_Exception_toMessageData(x_3); x_5 = 2; -x_6 = l___private_Init_Lean_Elab_Term_4__mkMessageAux(x_1, x_2, x_4, x_5); +x_6 = l___private_Init_Lean_Elab_Term_1__mkMessageAux(x_1, x_2, x_4, x_5); x_7 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_7, 0, x_6); x_8 = lean_alloc_ctor(0, 1, 0); @@ -4810,16 +4551,16 @@ lean_ctor_set(x_8, 0, x_7); return x_8; } } -lean_object* l___private_Init_Lean_Elab_Term_5__fromMetaException___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Elab_Term_2__fromMetaException___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_1, x_2, x_3); +x_4 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_1, x_2, x_3); lean_dec(x_2); return x_4; } } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_6__fromMetaState___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; uint8_t x_8; @@ -4837,7 +4578,7 @@ else lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; x_9 = lean_array_fget(x_4, x_5); lean_inc(x_2); -x_10 = l_PersistentArray_foldlMAux___main___at___private_Init_Lean_Elab_Term_6__fromMetaState___spec__2(x_1, x_2, x_9, x_6); +x_10 = l_PersistentArray_foldlMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__2(x_1, x_2, x_9, x_6); lean_dec(x_9); x_11 = lean_unsigned_to_nat(1u); x_12 = lean_nat_add(x_5, x_11); @@ -4848,7 +4589,7 @@ goto _start; } } } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_6__fromMetaState___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; uint8_t x_8; @@ -4867,7 +4608,7 @@ lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; lean_objec x_9 = lean_array_fget(x_4, x_5); x_10 = 0; lean_inc(x_2); -x_11 = l___private_Init_Lean_Elab_Term_4__mkMessageAux(x_2, x_1, x_9, x_10); +x_11 = l___private_Init_Lean_Elab_Term_1__mkMessageAux(x_2, x_1, x_9, x_10); x_12 = l_PersistentArray_push___rarg(x_6, x_11); x_13 = lean_unsigned_to_nat(1u); x_14 = lean_nat_add(x_5, x_13); @@ -4878,7 +4619,7 @@ goto _start; } } } -lean_object* l_PersistentArray_foldlMAux___main___at___private_Init_Lean_Elab_Term_6__fromMetaState___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_PersistentArray_foldlMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { if (lean_obj_tag(x_3) == 0) @@ -4886,7 +4627,7 @@ if (lean_obj_tag(x_3) == 0) lean_object* x_5; lean_object* x_6; lean_object* x_7; x_5 = lean_ctor_get(x_3, 0); x_6 = lean_unsigned_to_nat(0u); -x_7 = l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_6__fromMetaState___spec__3(x_1, x_2, x_5, x_5, x_6, x_4); +x_7 = l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__3(x_1, x_2, x_5, x_5, x_6, x_4); return x_7; } else @@ -4894,12 +4635,12 @@ else lean_object* x_8; lean_object* x_9; lean_object* x_10; x_8 = lean_ctor_get(x_3, 0); x_9 = lean_unsigned_to_nat(0u); -x_10 = l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_6__fromMetaState___spec__4(x_1, x_2, x_8, x_8, x_9, x_4); +x_10 = l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__4(x_1, x_2, x_8, x_8, x_9, x_4); return x_10; } } } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_6__fromMetaState___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; uint8_t x_8; @@ -4918,7 +4659,7 @@ lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; lean_objec x_9 = lean_array_fget(x_4, x_5); x_10 = 0; lean_inc(x_2); -x_11 = l___private_Init_Lean_Elab_Term_4__mkMessageAux(x_2, x_1, x_9, x_10); +x_11 = l___private_Init_Lean_Elab_Term_1__mkMessageAux(x_2, x_1, x_9, x_10); x_12 = l_PersistentArray_push___rarg(x_6, x_11); x_13 = lean_unsigned_to_nat(1u); x_14 = lean_nat_add(x_5, x_13); @@ -4929,20 +4670,20 @@ goto _start; } } } -lean_object* l_PersistentArray_foldlM___at___private_Init_Lean_Elab_Term_6__fromMetaState___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_PersistentArray_foldlM___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; x_5 = lean_ctor_get(x_3, 0); lean_inc(x_2); -x_6 = l_PersistentArray_foldlMAux___main___at___private_Init_Lean_Elab_Term_6__fromMetaState___spec__2(x_1, x_2, x_5, x_4); +x_6 = l_PersistentArray_foldlMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__2(x_1, x_2, x_5, x_4); x_7 = lean_ctor_get(x_3, 1); x_8 = lean_unsigned_to_nat(0u); -x_9 = l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_6__fromMetaState___spec__5(x_1, x_2, x_3, x_7, x_8, x_6); +x_9 = l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__5(x_1, x_2, x_3, x_7, x_8, x_6); return x_9; } } -lean_object* l___private_Init_Lean_Elab_Term_6__fromMetaState(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Elab_Term_3__fromMetaState(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; @@ -4961,7 +4702,7 @@ lean_object* x_10; lean_object* x_11; lean_object* x_12; x_10 = lean_ctor_get(x_3, 2); x_11 = lean_ctor_get(x_3, 0); lean_dec(x_11); -x_12 = l_PersistentArray_foldlM___at___private_Init_Lean_Elab_Term_6__fromMetaState___spec__1(x_1, x_2, x_8, x_10); +x_12 = l_PersistentArray_foldlM___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__1(x_1, x_2, x_8, x_10); lean_dec(x_8); lean_ctor_set(x_4, 4, x_5); lean_ctor_set(x_3, 2, x_12); @@ -4982,7 +4723,7 @@ lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_dec(x_3); -x_18 = l_PersistentArray_foldlM___at___private_Init_Lean_Elab_Term_6__fromMetaState___spec__1(x_1, x_2, x_8, x_14); +x_18 = l_PersistentArray_foldlM___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__1(x_1, x_2, x_8, x_14); lean_dec(x_8); lean_ctor_set(x_4, 4, x_5); x_19 = lean_alloc_ctor(0, 6, 0); @@ -5036,7 +4777,7 @@ if (lean_is_exclusive(x_3)) { lean_dec_ref(x_3); x_32 = lean_box(0); } -x_33 = l_PersistentArray_foldlM___at___private_Init_Lean_Elab_Term_6__fromMetaState___spec__1(x_1, x_2, x_26, x_28); +x_33 = l_PersistentArray_foldlM___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__1(x_1, x_2, x_26, x_28); lean_dec(x_26); x_34 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_34, 0, x_20); @@ -5060,64 +4801,64 @@ return x_35; } } } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_6__fromMetaState___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_6__fromMetaState___spec__3(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__3(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); return x_7; } } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_6__fromMetaState___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_6__fromMetaState___spec__4(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__4(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); return x_7; } } -lean_object* l_PersistentArray_foldlMAux___main___at___private_Init_Lean_Elab_Term_6__fromMetaState___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_PersistentArray_foldlMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_PersistentArray_foldlMAux___main___at___private_Init_Lean_Elab_Term_6__fromMetaState___spec__2(x_1, x_2, x_3, x_4); +x_5 = l_PersistentArray_foldlMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__2(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_1); return x_5; } } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_6__fromMetaState___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___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: { lean_object* x_7; -x_7 = l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_6__fromMetaState___spec__5(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__5(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); return x_7; } } -lean_object* l_PersistentArray_foldlM___at___private_Init_Lean_Elab_Term_6__fromMetaState___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_PersistentArray_foldlM___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_PersistentArray_foldlM___at___private_Init_Lean_Elab_Term_6__fromMetaState___spec__1(x_1, x_2, x_3, x_4); +x_5 = l_PersistentArray_foldlM___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__1(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_1); return x_5; } } -lean_object* l___private_Init_Lean_Elab_Term_6__fromMetaState___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Elab_Term_3__fromMetaState___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_2, x_3, x_4, x_5); +x_6 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_2, x_3, x_4, x_5); lean_dec(x_1); return x_6; } @@ -5146,7 +4887,7 @@ if (x_11 == 0) { lean_object* x_12; lean_object* x_13; x_12 = lean_ctor_get(x_10, 1); -x_13 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_12, x_7); +x_13 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_12, x_7); lean_ctor_set(x_10, 1, x_13); return x_10; } @@ -5158,7 +4899,7 @@ x_15 = lean_ctor_get(x_10, 1); lean_inc(x_15); lean_inc(x_14); lean_dec(x_10); -x_16 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_15, x_7); +x_16 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_15, x_7); x_17 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_17, 0, x_14); lean_ctor_set(x_17, 1, x_16); @@ -5175,8 +4916,8 @@ lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; x_19 = lean_ctor_get(x_10, 0); x_20 = lean_ctor_get(x_10, 1); lean_inc(x_3); -x_21 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_3, x_1, x_19); -x_22 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_20, x_7); +x_21 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_3, x_1, x_19); +x_22 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_20, x_7); lean_ctor_set(x_10, 1, x_22); lean_ctor_set(x_10, 0, x_21); return x_10; @@ -5190,8 +4931,8 @@ lean_inc(x_24); lean_inc(x_23); lean_dec(x_10); lean_inc(x_3); -x_25 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_3, x_1, x_23); -x_26 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_24, x_7); +x_25 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_3, x_1, x_23); +x_26 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_24, x_7); x_27 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_27, 0, x_25); lean_ctor_set(x_27, 1, x_26); @@ -5241,7 +4982,7 @@ if (lean_is_exclusive(x_37)) { lean_dec_ref(x_37); x_40 = lean_box(0); } -x_41 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_39, x_32); +x_41 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_39, x_32); if (lean_is_scalar(x_40)) { x_42 = lean_alloc_ctor(0, 2, 0); } else { @@ -5267,8 +5008,8 @@ if (lean_is_exclusive(x_37)) { x_45 = lean_box(0); } lean_inc(x_3); -x_46 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_3, x_1, x_43); -x_47 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_44, x_32); +x_46 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_3, x_1, x_43); +x_47 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_44, x_32); if (lean_is_scalar(x_45)) { x_48 = lean_alloc_ctor(1, 2, 0); } else { @@ -5336,7 +5077,7 @@ if (x_16 == 0) { lean_object* x_17; lean_object* x_18; x_17 = lean_ctor_get(x_15, 1); -x_18 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_4, x_5, x_17, x_8); +x_18 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_4, x_5, x_17, x_8); lean_ctor_set(x_15, 1, x_18); return x_15; } @@ -5348,7 +5089,7 @@ x_20 = lean_ctor_get(x_15, 1); lean_inc(x_20); lean_inc(x_19); lean_dec(x_15); -x_21 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_4, x_5, x_20, x_8); +x_21 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_4, x_5, x_20, x_8); x_22 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_22, 0, x_19); lean_ctor_set(x_22, 1, x_21); @@ -5365,8 +5106,8 @@ lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; x_24 = lean_ctor_get(x_15, 0); x_25 = lean_ctor_get(x_15, 1); lean_inc(x_4); -x_26 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_4, x_1, x_24); -x_27 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_4, x_5, x_25, x_8); +x_26 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_4, x_1, x_24); +x_27 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_4, x_5, x_25, x_8); lean_ctor_set(x_15, 1, x_27); lean_ctor_set(x_15, 0, x_26); return x_15; @@ -5380,8 +5121,8 @@ lean_inc(x_29); lean_inc(x_28); lean_dec(x_15); lean_inc(x_4); -x_30 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_4, x_1, x_28); -x_31 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_4, x_5, x_29, x_8); +x_30 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_4, x_1, x_28); +x_31 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_4, x_5, x_29, x_8); x_32 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_32, 0, x_30); lean_ctor_set(x_32, 1, x_31); @@ -5425,7 +5166,7 @@ if (lean_is_exclusive(x_39)) { lean_dec_ref(x_39); x_42 = lean_box(0); } -x_43 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_4, x_5, x_41, x_8); +x_43 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_4, x_5, x_41, x_8); if (lean_is_scalar(x_42)) { x_44 = lean_alloc_ctor(0, 2, 0); } else { @@ -5451,8 +5192,8 @@ if (lean_is_exclusive(x_39)) { x_47 = lean_box(0); } lean_inc(x_4); -x_48 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_4, x_1, x_45); -x_49 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_4, x_5, x_46, x_8); +x_48 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_4, x_1, x_45); +x_49 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_4, x_5, x_46, x_8); if (lean_is_scalar(x_47)) { x_50 = lean_alloc_ctor(1, 2, 0); } else { @@ -5526,7 +5267,7 @@ if (lean_is_exclusive(x_64)) { lean_dec_ref(x_64); x_67 = lean_box(0); } -x_68 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_4, x_5, x_66, x_8); +x_68 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_4, x_5, x_66, x_8); if (lean_is_scalar(x_67)) { x_69 = lean_alloc_ctor(0, 2, 0); } else { @@ -5552,8 +5293,8 @@ if (lean_is_exclusive(x_64)) { x_72 = lean_box(0); } lean_inc(x_4); -x_73 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_4, x_1, x_70); -x_74 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_4, x_5, x_71, x_8); +x_73 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_4, x_1, x_70); +x_74 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_4, x_5, x_71, x_8); if (lean_is_scalar(x_72)) { x_75 = lean_alloc_ctor(1, 2, 0); } else { @@ -5664,7 +5405,7 @@ if (lean_is_exclusive(x_99)) { lean_dec_ref(x_99); x_102 = lean_box(0); } -x_103 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_4, x_5, x_101, x_80); +x_103 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_4, x_5, x_101, x_80); if (lean_is_scalar(x_102)) { x_104 = lean_alloc_ctor(0, 2, 0); } else { @@ -5690,8 +5431,8 @@ if (lean_is_exclusive(x_99)) { x_107 = lean_box(0); } lean_inc(x_4); -x_108 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_4, x_1, x_105); -x_109 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_4, x_5, x_106, x_80); +x_108 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_4, x_1, x_105); +x_109 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_4, x_5, x_106, x_80); if (lean_is_scalar(x_107)) { x_110 = lean_alloc_ctor(1, 2, 0); } else { @@ -5737,7 +5478,7 @@ if (x_11 == 0) { lean_object* x_12; lean_object* x_13; x_12 = lean_ctor_get(x_10, 1); -x_13 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_12, x_7); +x_13 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_12, x_7); lean_ctor_set(x_10, 1, x_13); return x_10; } @@ -5749,7 +5490,7 @@ x_15 = lean_ctor_get(x_10, 1); lean_inc(x_15); lean_inc(x_14); lean_dec(x_10); -x_16 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_15, x_7); +x_16 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_15, x_7); x_17 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_17, 0, x_14); lean_ctor_set(x_17, 1, x_16); @@ -5766,8 +5507,8 @@ lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; x_19 = lean_ctor_get(x_10, 0); x_20 = lean_ctor_get(x_10, 1); lean_inc(x_3); -x_21 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_3, x_1, x_19); -x_22 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_20, x_7); +x_21 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_3, x_1, x_19); +x_22 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_20, x_7); lean_ctor_set(x_10, 1, x_22); lean_ctor_set(x_10, 0, x_21); return x_10; @@ -5781,8 +5522,8 @@ lean_inc(x_24); lean_inc(x_23); lean_dec(x_10); lean_inc(x_3); -x_25 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_3, x_1, x_23); -x_26 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_24, x_7); +x_25 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_3, x_1, x_23); +x_26 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_24, x_7); x_27 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_27, 0, x_25); lean_ctor_set(x_27, 1, x_26); @@ -5832,7 +5573,7 @@ if (lean_is_exclusive(x_37)) { lean_dec_ref(x_37); x_40 = lean_box(0); } -x_41 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_39, x_32); +x_41 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_39, x_32); if (lean_is_scalar(x_40)) { x_42 = lean_alloc_ctor(0, 2, 0); } else { @@ -5858,8 +5599,8 @@ if (lean_is_exclusive(x_37)) { x_45 = lean_box(0); } lean_inc(x_3); -x_46 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_3, x_1, x_43); -x_47 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_44, x_32); +x_46 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_3, x_1, x_43); +x_47 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_44, x_32); if (lean_is_scalar(x_45)) { x_48 = lean_alloc_ctor(1, 2, 0); } else { @@ -5905,7 +5646,7 @@ if (x_11 == 0) { lean_object* x_12; lean_object* x_13; x_12 = lean_ctor_get(x_10, 1); -x_13 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_12, x_7); +x_13 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_12, x_7); lean_ctor_set(x_10, 1, x_13); return x_10; } @@ -5917,7 +5658,7 @@ x_15 = lean_ctor_get(x_10, 1); lean_inc(x_15); lean_inc(x_14); lean_dec(x_10); -x_16 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_15, x_7); +x_16 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_15, x_7); x_17 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_17, 0, x_14); lean_ctor_set(x_17, 1, x_16); @@ -5934,8 +5675,8 @@ lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; x_19 = lean_ctor_get(x_10, 0); x_20 = lean_ctor_get(x_10, 1); lean_inc(x_3); -x_21 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_3, x_1, x_19); -x_22 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_20, x_7); +x_21 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_3, x_1, x_19); +x_22 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_20, x_7); lean_ctor_set(x_10, 1, x_22); lean_ctor_set(x_10, 0, x_21); return x_10; @@ -5949,8 +5690,8 @@ lean_inc(x_24); lean_inc(x_23); lean_dec(x_10); lean_inc(x_3); -x_25 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_3, x_1, x_23); -x_26 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_24, x_7); +x_25 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_3, x_1, x_23); +x_26 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_24, x_7); x_27 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_27, 0, x_25); lean_ctor_set(x_27, 1, x_26); @@ -6000,7 +5741,7 @@ if (lean_is_exclusive(x_37)) { lean_dec_ref(x_37); x_40 = lean_box(0); } -x_41 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_39, x_32); +x_41 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_39, x_32); if (lean_is_scalar(x_40)) { x_42 = lean_alloc_ctor(0, 2, 0); } else { @@ -6026,8 +5767,8 @@ if (lean_is_exclusive(x_37)) { x_45 = lean_box(0); } lean_inc(x_3); -x_46 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_3, x_1, x_43); -x_47 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_44, x_32); +x_46 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_3, x_1, x_43); +x_47 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_44, x_32); if (lean_is_scalar(x_45)) { x_48 = lean_alloc_ctor(1, 2, 0); } else { @@ -6073,7 +5814,7 @@ if (x_11 == 0) { lean_object* x_12; lean_object* x_13; x_12 = lean_ctor_get(x_10, 1); -x_13 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_12, x_7); +x_13 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_12, x_7); lean_ctor_set(x_10, 1, x_13); return x_10; } @@ -6085,7 +5826,7 @@ x_15 = lean_ctor_get(x_10, 1); lean_inc(x_15); lean_inc(x_14); lean_dec(x_10); -x_16 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_15, x_7); +x_16 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_15, x_7); x_17 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_17, 0, x_14); lean_ctor_set(x_17, 1, x_16); @@ -6102,8 +5843,8 @@ lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; x_19 = lean_ctor_get(x_10, 0); x_20 = lean_ctor_get(x_10, 1); lean_inc(x_3); -x_21 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_3, x_1, x_19); -x_22 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_20, x_7); +x_21 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_3, x_1, x_19); +x_22 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_20, x_7); lean_ctor_set(x_10, 1, x_22); lean_ctor_set(x_10, 0, x_21); return x_10; @@ -6117,8 +5858,8 @@ lean_inc(x_24); lean_inc(x_23); lean_dec(x_10); lean_inc(x_3); -x_25 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_3, x_1, x_23); -x_26 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_24, x_7); +x_25 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_3, x_1, x_23); +x_26 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_24, x_7); x_27 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_27, 0, x_25); lean_ctor_set(x_27, 1, x_26); @@ -6168,7 +5909,7 @@ if (lean_is_exclusive(x_37)) { lean_dec_ref(x_37); x_40 = lean_box(0); } -x_41 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_39, x_32); +x_41 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_39, x_32); if (lean_is_scalar(x_40)) { x_42 = lean_alloc_ctor(0, 2, 0); } else { @@ -6194,8 +5935,8 @@ if (lean_is_exclusive(x_37)) { x_45 = lean_box(0); } lean_inc(x_3); -x_46 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_3, x_1, x_43); -x_47 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_44, x_32); +x_46 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_3, x_1, x_43); +x_47 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_44, x_32); if (lean_is_scalar(x_45)) { x_48 = lean_alloc_ctor(1, 2, 0); } else { @@ -6241,7 +5982,7 @@ if (x_11 == 0) { lean_object* x_12; lean_object* x_13; x_12 = lean_ctor_get(x_10, 1); -x_13 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_12, x_7); +x_13 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_12, x_7); lean_ctor_set(x_10, 1, x_13); return x_10; } @@ -6253,7 +5994,7 @@ x_15 = lean_ctor_get(x_10, 1); lean_inc(x_15); lean_inc(x_14); lean_dec(x_10); -x_16 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_15, x_7); +x_16 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_15, x_7); x_17 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_17, 0, x_14); lean_ctor_set(x_17, 1, x_16); @@ -6270,8 +6011,8 @@ lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; x_19 = lean_ctor_get(x_10, 0); x_20 = lean_ctor_get(x_10, 1); lean_inc(x_3); -x_21 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_3, x_1, x_19); -x_22 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_20, x_7); +x_21 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_3, x_1, x_19); +x_22 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_20, x_7); lean_ctor_set(x_10, 1, x_22); lean_ctor_set(x_10, 0, x_21); return x_10; @@ -6285,8 +6026,8 @@ lean_inc(x_24); lean_inc(x_23); lean_dec(x_10); lean_inc(x_3); -x_25 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_3, x_1, x_23); -x_26 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_24, x_7); +x_25 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_3, x_1, x_23); +x_26 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_24, x_7); x_27 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_27, 0, x_25); lean_ctor_set(x_27, 1, x_26); @@ -6336,7 +6077,7 @@ if (lean_is_exclusive(x_37)) { lean_dec_ref(x_37); x_40 = lean_box(0); } -x_41 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_39, x_32); +x_41 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_39, x_32); if (lean_is_scalar(x_40)) { x_42 = lean_alloc_ctor(0, 2, 0); } else { @@ -6362,8 +6103,8 @@ if (lean_is_exclusive(x_37)) { x_45 = lean_box(0); } lean_inc(x_3); -x_46 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_3, x_1, x_43); -x_47 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_44, x_32); +x_46 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_3, x_1, x_43); +x_47 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_44, x_32); if (lean_is_scalar(x_45)) { x_48 = lean_alloc_ctor(1, 2, 0); } else { @@ -6409,7 +6150,7 @@ if (x_11 == 0) { lean_object* x_12; lean_object* x_13; x_12 = lean_ctor_get(x_10, 1); -x_13 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_12, x_7); +x_13 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_12, x_7); lean_ctor_set(x_10, 1, x_13); return x_10; } @@ -6421,7 +6162,7 @@ x_15 = lean_ctor_get(x_10, 1); lean_inc(x_15); lean_inc(x_14); lean_dec(x_10); -x_16 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_15, x_7); +x_16 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_15, x_7); x_17 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_17, 0, x_14); lean_ctor_set(x_17, 1, x_16); @@ -6438,8 +6179,8 @@ lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; x_19 = lean_ctor_get(x_10, 0); x_20 = lean_ctor_get(x_10, 1); lean_inc(x_3); -x_21 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_3, x_1, x_19); -x_22 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_20, x_7); +x_21 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_3, x_1, x_19); +x_22 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_20, x_7); lean_ctor_set(x_10, 1, x_22); lean_ctor_set(x_10, 0, x_21); return x_10; @@ -6453,8 +6194,8 @@ lean_inc(x_24); lean_inc(x_23); lean_dec(x_10); lean_inc(x_3); -x_25 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_3, x_1, x_23); -x_26 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_24, x_7); +x_25 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_3, x_1, x_23); +x_26 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_24, x_7); x_27 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_27, 0, x_25); lean_ctor_set(x_27, 1, x_26); @@ -6504,7 +6245,7 @@ if (lean_is_exclusive(x_37)) { lean_dec_ref(x_37); x_40 = lean_box(0); } -x_41 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_39, x_32); +x_41 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_39, x_32); if (lean_is_scalar(x_40)) { x_42 = lean_alloc_ctor(0, 2, 0); } else { @@ -6530,8 +6271,8 @@ if (lean_is_exclusive(x_37)) { x_45 = lean_box(0); } lean_inc(x_3); -x_46 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_3, x_1, x_43); -x_47 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_44, x_32); +x_46 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_3, x_1, x_43); +x_47 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_44, x_32); if (lean_is_scalar(x_45)) { x_48 = lean_alloc_ctor(1, 2, 0); } else { @@ -6575,7 +6316,7 @@ if (x_11 == 0) { lean_object* x_12; lean_object* x_13; x_12 = lean_ctor_get(x_10, 1); -x_13 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_12, x_7); +x_13 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_12, x_7); lean_ctor_set(x_10, 1, x_13); return x_10; } @@ -6587,7 +6328,7 @@ x_15 = lean_ctor_get(x_10, 1); lean_inc(x_15); lean_inc(x_14); lean_dec(x_10); -x_16 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_15, x_7); +x_16 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_15, x_7); x_17 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_17, 0, x_14); lean_ctor_set(x_17, 1, x_16); @@ -6634,7 +6375,7 @@ if (lean_is_exclusive(x_27)) { lean_dec_ref(x_27); x_30 = lean_box(0); } -x_31 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_29, x_22); +x_31 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_29, x_22); if (lean_is_scalar(x_30)) { x_32 = lean_alloc_ctor(0, 2, 0); } else { @@ -6679,7 +6420,7 @@ if (x_11 == 0) { lean_object* x_12; lean_object* x_13; x_12 = lean_ctor_get(x_10, 1); -x_13 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_12, x_7); +x_13 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_12, x_7); lean_ctor_set(x_10, 1, x_13); return x_10; } @@ -6691,7 +6432,7 @@ x_15 = lean_ctor_get(x_10, 1); lean_inc(x_15); lean_inc(x_14); lean_dec(x_10); -x_16 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_15, x_7); +x_16 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_15, x_7); x_17 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_17, 0, x_14); lean_ctor_set(x_17, 1, x_16); @@ -6708,8 +6449,8 @@ lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; x_19 = lean_ctor_get(x_10, 0); x_20 = lean_ctor_get(x_10, 1); lean_inc(x_3); -x_21 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_3, x_1, x_19); -x_22 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_20, x_7); +x_21 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_3, x_1, x_19); +x_22 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_20, x_7); lean_ctor_set(x_10, 1, x_22); lean_ctor_set(x_10, 0, x_21); return x_10; @@ -6723,8 +6464,8 @@ lean_inc(x_24); lean_inc(x_23); lean_dec(x_10); lean_inc(x_3); -x_25 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_3, x_1, x_23); -x_26 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_24, x_7); +x_25 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_3, x_1, x_23); +x_26 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_24, x_7); x_27 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_27, 0, x_25); lean_ctor_set(x_27, 1, x_26); @@ -6774,7 +6515,7 @@ if (lean_is_exclusive(x_37)) { lean_dec_ref(x_37); x_40 = lean_box(0); } -x_41 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_39, x_32); +x_41 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_39, x_32); if (lean_is_scalar(x_40)) { x_42 = lean_alloc_ctor(0, 2, 0); } else { @@ -6800,8 +6541,8 @@ if (lean_is_exclusive(x_37)) { x_45 = lean_box(0); } lean_inc(x_3); -x_46 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_3, x_1, x_43); -x_47 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_44, x_32); +x_46 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_3, x_1, x_43); +x_47 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_44, x_32); if (lean_is_scalar(x_45)) { x_48 = lean_alloc_ctor(1, 2, 0); } else { @@ -6842,7 +6583,7 @@ if (x_9 == 0) { lean_object* x_10; lean_object* x_11; x_10 = lean_ctor_get(x_8, 1); -x_11 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_2, x_3, x_10, x_6); +x_11 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_2, x_3, x_10, x_6); lean_ctor_set(x_8, 1, x_11); return x_8; } @@ -6854,7 +6595,7 @@ x_13 = lean_ctor_get(x_8, 1); lean_inc(x_13); lean_inc(x_12); lean_dec(x_8); -x_14 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_2, x_3, x_13, x_6); +x_14 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_2, x_3, x_13, x_6); x_15 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_15, 0, x_12); lean_ctor_set(x_15, 1, x_14); @@ -6898,7 +6639,7 @@ if (lean_is_exclusive(x_24)) { lean_dec_ref(x_24); x_27 = lean_box(0); } -x_28 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_2, x_3, x_26, x_20); +x_28 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_2, x_3, x_26, x_20); if (lean_is_scalar(x_27)) { x_29 = lean_alloc_ctor(0, 2, 0); } else { @@ -6958,7 +6699,7 @@ if (x_22 == 0) { lean_object* x_23; lean_object* x_24; x_23 = lean_ctor_get(x_21, 1); -x_24 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_5, x_6, x_23, x_9); +x_24 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_5, x_6, x_23, x_9); lean_ctor_set(x_21, 1, x_24); return x_21; } @@ -6970,7 +6711,7 @@ x_26 = lean_ctor_get(x_21, 1); lean_inc(x_26); lean_inc(x_25); lean_dec(x_21); -x_27 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_5, x_6, x_26, x_9); +x_27 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_5, x_6, x_26, x_9); x_28 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_28, 0, x_25); lean_ctor_set(x_28, 1, x_27); @@ -7032,7 +6773,7 @@ if (lean_is_exclusive(x_47)) { lean_dec_ref(x_47); x_50 = lean_box(0); } -x_51 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_5, x_6, x_49, x_33); +x_51 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_5, x_6, x_49, x_33); if (lean_is_scalar(x_50)) { x_52 = lean_alloc_ctor(0, 2, 0); } else { @@ -7066,7 +6807,7 @@ if (x_60 == 0) { lean_object* x_61; lean_object* x_62; x_61 = lean_ctor_get(x_59, 1); -x_62 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_5, x_6, x_61, x_56); +x_62 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_5, x_6, x_61, x_56); lean_ctor_set(x_59, 1, x_62); return x_59; } @@ -7078,7 +6819,7 @@ x_64 = lean_ctor_get(x_59, 1); lean_inc(x_64); lean_inc(x_63); lean_dec(x_59); -x_65 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_5, x_6, x_64, x_56); +x_65 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_5, x_6, x_64, x_56); x_66 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_66, 0, x_63); lean_ctor_set(x_66, 1, x_65); @@ -7124,7 +6865,7 @@ if (lean_is_exclusive(x_76)) { lean_dec_ref(x_76); x_79 = lean_box(0); } -x_80 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_5, x_6, x_78, x_71); +x_80 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_5, x_6, x_78, x_71); if (lean_is_scalar(x_79)) { x_81 = lean_alloc_ctor(0, 2, 0); } else { @@ -7176,7 +6917,7 @@ if (x_16 == 0) { lean_object* x_17; lean_object* x_18; x_17 = lean_ctor_get(x_15, 1); -x_18 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_4, x_5, x_17, x_8); +x_18 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_4, x_5, x_17, x_8); lean_ctor_set(x_15, 1, x_18); return x_15; } @@ -7188,7 +6929,7 @@ x_20 = lean_ctor_get(x_15, 1); lean_inc(x_20); lean_inc(x_19); lean_dec(x_15); -x_21 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_4, x_5, x_20, x_8); +x_21 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_4, x_5, x_20, x_8); x_22 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_22, 0, x_19); lean_ctor_set(x_22, 1, x_21); @@ -7241,7 +6982,7 @@ if (lean_is_exclusive(x_36)) { lean_dec_ref(x_36); x_39 = lean_box(0); } -x_40 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_4, x_5, x_38, x_27); +x_40 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_4, x_5, x_38, x_27); if (lean_is_scalar(x_39)) { x_41 = lean_alloc_ctor(0, 2, 0); } else { @@ -7288,7 +7029,7 @@ if (x_11 == 0) { lean_object* x_12; lean_object* x_13; x_12 = lean_ctor_get(x_10, 1); -x_13 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_12, x_7); +x_13 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_12, x_7); lean_ctor_set(x_10, 1, x_13); return x_10; } @@ -7300,7 +7041,7 @@ x_15 = lean_ctor_get(x_10, 1); lean_inc(x_15); lean_inc(x_14); lean_dec(x_10); -x_16 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_15, x_7); +x_16 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_15, x_7); x_17 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_17, 0, x_14); lean_ctor_set(x_17, 1, x_16); @@ -7317,8 +7058,8 @@ lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; x_19 = lean_ctor_get(x_10, 0); x_20 = lean_ctor_get(x_10, 1); lean_inc(x_3); -x_21 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_3, x_1, x_19); -x_22 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_20, x_7); +x_21 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_3, x_1, x_19); +x_22 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_20, x_7); lean_ctor_set(x_10, 1, x_22); lean_ctor_set(x_10, 0, x_21); return x_10; @@ -7332,8 +7073,8 @@ lean_inc(x_24); lean_inc(x_23); lean_dec(x_10); lean_inc(x_3); -x_25 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_3, x_1, x_23); -x_26 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_24, x_7); +x_25 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_3, x_1, x_23); +x_26 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_24, x_7); x_27 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_27, 0, x_25); lean_ctor_set(x_27, 1, x_26); @@ -7383,7 +7124,7 @@ if (lean_is_exclusive(x_37)) { lean_dec_ref(x_37); x_40 = lean_box(0); } -x_41 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_39, x_32); +x_41 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_39, x_32); if (lean_is_scalar(x_40)) { x_42 = lean_alloc_ctor(0, 2, 0); } else { @@ -7409,8 +7150,8 @@ if (lean_is_exclusive(x_37)) { x_45 = lean_box(0); } lean_inc(x_3); -x_46 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_3, x_1, x_43); -x_47 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_44, x_32); +x_46 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_3, x_1, x_43); +x_47 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_44, x_32); if (lean_is_scalar(x_45)) { x_48 = lean_alloc_ctor(1, 2, 0); } else { @@ -7456,7 +7197,7 @@ if (x_12 == 0) { lean_object* x_13; lean_object* x_14; x_13 = lean_ctor_get(x_11, 1); -x_14 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_4, x_5, x_13, x_8); +x_14 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_4, x_5, x_13, x_8); lean_ctor_set(x_11, 1, x_14); return x_11; } @@ -7468,7 +7209,7 @@ x_16 = lean_ctor_get(x_11, 1); lean_inc(x_16); lean_inc(x_15); lean_dec(x_11); -x_17 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_4, x_5, x_16, x_8); +x_17 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_4, x_5, x_16, x_8); x_18 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_18, 0, x_15); lean_ctor_set(x_18, 1, x_17); @@ -7485,8 +7226,8 @@ lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; x_20 = lean_ctor_get(x_11, 0); x_21 = lean_ctor_get(x_11, 1); lean_inc(x_4); -x_22 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_4, x_1, x_20); -x_23 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_4, x_5, x_21, x_8); +x_22 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_4, x_1, x_20); +x_23 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_4, x_5, x_21, x_8); lean_ctor_set(x_11, 1, x_23); lean_ctor_set(x_11, 0, x_22); return x_11; @@ -7500,8 +7241,8 @@ lean_inc(x_25); lean_inc(x_24); lean_dec(x_11); lean_inc(x_4); -x_26 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_4, x_1, x_24); -x_27 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_4, x_5, x_25, x_8); +x_26 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_4, x_1, x_24); +x_27 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_4, x_5, x_25, x_8); x_28 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_28, 0, x_26); lean_ctor_set(x_28, 1, x_27); @@ -7551,7 +7292,7 @@ if (lean_is_exclusive(x_38)) { lean_dec_ref(x_38); x_41 = lean_box(0); } -x_42 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_4, x_5, x_40, x_33); +x_42 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_4, x_5, x_40, x_33); if (lean_is_scalar(x_41)) { x_43 = lean_alloc_ctor(0, 2, 0); } else { @@ -7577,8 +7318,8 @@ if (lean_is_exclusive(x_38)) { x_46 = lean_box(0); } lean_inc(x_4); -x_47 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_4, x_1, x_44); -x_48 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_4, x_5, x_45, x_33); +x_47 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_4, x_1, x_44); +x_48 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_4, x_5, x_45, x_33); if (lean_is_scalar(x_46)) { x_49 = lean_alloc_ctor(1, 2, 0); } else { @@ -7624,7 +7365,7 @@ if (x_12 == 0) { lean_object* x_13; lean_object* x_14; x_13 = lean_ctor_get(x_11, 1); -x_14 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_4, x_5, x_13, x_8); +x_14 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_4, x_5, x_13, x_8); lean_ctor_set(x_11, 1, x_14); return x_11; } @@ -7636,7 +7377,7 @@ x_16 = lean_ctor_get(x_11, 1); lean_inc(x_16); lean_inc(x_15); lean_dec(x_11); -x_17 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_4, x_5, x_16, x_8); +x_17 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_4, x_5, x_16, x_8); x_18 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_18, 0, x_15); lean_ctor_set(x_18, 1, x_17); @@ -7653,8 +7394,8 @@ lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; x_20 = lean_ctor_get(x_11, 0); x_21 = lean_ctor_get(x_11, 1); lean_inc(x_4); -x_22 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_4, x_1, x_20); -x_23 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_4, x_5, x_21, x_8); +x_22 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_4, x_1, x_20); +x_23 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_4, x_5, x_21, x_8); lean_ctor_set(x_11, 1, x_23); lean_ctor_set(x_11, 0, x_22); return x_11; @@ -7668,8 +7409,8 @@ lean_inc(x_25); lean_inc(x_24); lean_dec(x_11); lean_inc(x_4); -x_26 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_4, x_1, x_24); -x_27 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_4, x_5, x_25, x_8); +x_26 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_4, x_1, x_24); +x_27 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_4, x_5, x_25, x_8); x_28 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_28, 0, x_26); lean_ctor_set(x_28, 1, x_27); @@ -7719,7 +7460,7 @@ if (lean_is_exclusive(x_38)) { lean_dec_ref(x_38); x_41 = lean_box(0); } -x_42 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_4, x_5, x_40, x_33); +x_42 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_4, x_5, x_40, x_33); if (lean_is_scalar(x_41)) { x_43 = lean_alloc_ctor(0, 2, 0); } else { @@ -7745,8 +7486,8 @@ if (lean_is_exclusive(x_38)) { x_46 = lean_box(0); } lean_inc(x_4); -x_47 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_4, x_1, x_44); -x_48 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_4, x_5, x_45, x_33); +x_47 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_4, x_1, x_44); +x_48 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_4, x_5, x_45, x_33); if (lean_is_scalar(x_46)) { x_49 = lean_alloc_ctor(1, 2, 0); } else { @@ -7792,7 +7533,7 @@ if (x_12 == 0) { lean_object* x_13; lean_object* x_14; x_13 = lean_ctor_get(x_11, 1); -x_14 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_4, x_5, x_13, x_8); +x_14 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_4, x_5, x_13, x_8); lean_ctor_set(x_11, 1, x_14); return x_11; } @@ -7804,7 +7545,7 @@ x_16 = lean_ctor_get(x_11, 1); lean_inc(x_16); lean_inc(x_15); lean_dec(x_11); -x_17 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_4, x_5, x_16, x_8); +x_17 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_4, x_5, x_16, x_8); x_18 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_18, 0, x_15); lean_ctor_set(x_18, 1, x_17); @@ -7821,8 +7562,8 @@ lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; x_20 = lean_ctor_get(x_11, 0); x_21 = lean_ctor_get(x_11, 1); lean_inc(x_4); -x_22 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_4, x_1, x_20); -x_23 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_4, x_5, x_21, x_8); +x_22 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_4, x_1, x_20); +x_23 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_4, x_5, x_21, x_8); lean_ctor_set(x_11, 1, x_23); lean_ctor_set(x_11, 0, x_22); return x_11; @@ -7836,8 +7577,8 @@ lean_inc(x_25); lean_inc(x_24); lean_dec(x_11); lean_inc(x_4); -x_26 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_4, x_1, x_24); -x_27 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_4, x_5, x_25, x_8); +x_26 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_4, x_1, x_24); +x_27 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_4, x_5, x_25, x_8); x_28 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_28, 0, x_26); lean_ctor_set(x_28, 1, x_27); @@ -7887,7 +7628,7 @@ if (lean_is_exclusive(x_38)) { lean_dec_ref(x_38); x_41 = lean_box(0); } -x_42 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_4, x_5, x_40, x_33); +x_42 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_4, x_5, x_40, x_33); if (lean_is_scalar(x_41)) { x_43 = lean_alloc_ctor(0, 2, 0); } else { @@ -7913,8 +7654,8 @@ if (lean_is_exclusive(x_38)) { x_46 = lean_box(0); } lean_inc(x_4); -x_47 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_4, x_1, x_44); -x_48 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_4, x_5, x_45, x_33); +x_47 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_4, x_1, x_44); +x_48 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_4, x_5, x_45, x_33); if (lean_is_scalar(x_46)) { x_49 = lean_alloc_ctor(1, 2, 0); } else { @@ -7979,7 +7720,7 @@ if (x_11 == 0) { lean_object* x_12; lean_object* x_13; x_12 = lean_ctor_get(x_10, 1); -x_13 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_12, x_7); +x_13 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_12, x_7); lean_ctor_set(x_10, 1, x_13); return x_10; } @@ -7991,7 +7732,7 @@ x_15 = lean_ctor_get(x_10, 1); lean_inc(x_15); lean_inc(x_14); lean_dec(x_10); -x_16 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_15, x_7); +x_16 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_15, x_7); x_17 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_17, 0, x_14); lean_ctor_set(x_17, 1, x_16); @@ -8008,8 +7749,8 @@ lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; x_19 = lean_ctor_get(x_10, 0); x_20 = lean_ctor_get(x_10, 1); lean_inc(x_3); -x_21 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_3, x_1, x_19); -x_22 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_20, x_7); +x_21 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_3, x_1, x_19); +x_22 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_20, x_7); lean_ctor_set(x_10, 1, x_22); lean_ctor_set(x_10, 0, x_21); return x_10; @@ -8023,8 +7764,8 @@ lean_inc(x_24); lean_inc(x_23); lean_dec(x_10); lean_inc(x_3); -x_25 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_3, x_1, x_23); -x_26 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_24, x_7); +x_25 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_3, x_1, x_23); +x_26 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_24, x_7); x_27 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_27, 0, x_25); lean_ctor_set(x_27, 1, x_26); @@ -8074,7 +7815,7 @@ if (lean_is_exclusive(x_37)) { lean_dec_ref(x_37); x_40 = lean_box(0); } -x_41 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_39, x_32); +x_41 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_39, x_32); if (lean_is_scalar(x_40)) { x_42 = lean_alloc_ctor(0, 2, 0); } else { @@ -8100,8 +7841,8 @@ if (lean_is_exclusive(x_37)) { x_45 = lean_box(0); } lean_inc(x_3); -x_46 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_3, x_1, x_43); -x_47 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_44, x_32); +x_46 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_3, x_1, x_43); +x_47 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_44, x_32); if (lean_is_scalar(x_45)) { x_48 = lean_alloc_ctor(1, 2, 0); } else { @@ -8147,7 +7888,7 @@ if (x_12 == 0) { lean_object* x_13; lean_object* x_14; x_13 = lean_ctor_get(x_11, 1); -x_14 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_4, x_5, x_13, x_8); +x_14 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_4, x_5, x_13, x_8); lean_ctor_set(x_11, 1, x_14); return x_11; } @@ -8159,7 +7900,7 @@ x_16 = lean_ctor_get(x_11, 1); lean_inc(x_16); lean_inc(x_15); lean_dec(x_11); -x_17 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_4, x_5, x_16, x_8); +x_17 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_4, x_5, x_16, x_8); x_18 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_18, 0, x_15); lean_ctor_set(x_18, 1, x_17); @@ -8176,8 +7917,8 @@ lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; x_20 = lean_ctor_get(x_11, 0); x_21 = lean_ctor_get(x_11, 1); lean_inc(x_4); -x_22 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_4, x_1, x_20); -x_23 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_4, x_5, x_21, x_8); +x_22 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_4, x_1, x_20); +x_23 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_4, x_5, x_21, x_8); lean_ctor_set(x_11, 1, x_23); lean_ctor_set(x_11, 0, x_22); return x_11; @@ -8191,8 +7932,8 @@ lean_inc(x_25); lean_inc(x_24); lean_dec(x_11); lean_inc(x_4); -x_26 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_4, x_1, x_24); -x_27 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_4, x_5, x_25, x_8); +x_26 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_4, x_1, x_24); +x_27 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_4, x_5, x_25, x_8); x_28 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_28, 0, x_26); lean_ctor_set(x_28, 1, x_27); @@ -8242,7 +7983,7 @@ if (lean_is_exclusive(x_38)) { lean_dec_ref(x_38); x_41 = lean_box(0); } -x_42 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_4, x_5, x_40, x_33); +x_42 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_4, x_5, x_40, x_33); if (lean_is_scalar(x_41)) { x_43 = lean_alloc_ctor(0, 2, 0); } else { @@ -8268,8 +8009,8 @@ if (lean_is_exclusive(x_38)) { x_46 = lean_box(0); } lean_inc(x_4); -x_47 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_4, x_1, x_44); -x_48 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_4, x_5, x_45, x_33); +x_47 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_4, x_1, x_44); +x_48 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_4, x_5, x_45, x_33); if (lean_is_scalar(x_46)) { x_49 = lean_alloc_ctor(1, 2, 0); } else { @@ -8317,7 +8058,7 @@ if (x_11 == 0) { lean_object* x_12; lean_object* x_13; x_12 = lean_ctor_get(x_10, 1); -x_13 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_12, x_7); +x_13 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_12, x_7); lean_ctor_set(x_10, 1, x_13); return x_10; } @@ -8329,7 +8070,7 @@ x_15 = lean_ctor_get(x_10, 1); lean_inc(x_15); lean_inc(x_14); lean_dec(x_10); -x_16 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_15, x_7); +x_16 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_15, x_7); x_17 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_17, 0, x_14); lean_ctor_set(x_17, 1, x_16); @@ -8346,8 +8087,8 @@ lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; x_19 = lean_ctor_get(x_10, 0); x_20 = lean_ctor_get(x_10, 1); lean_inc(x_3); -x_21 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_3, x_1, x_19); -x_22 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_20, x_7); +x_21 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_3, x_1, x_19); +x_22 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_20, x_7); lean_ctor_set(x_10, 1, x_22); lean_ctor_set(x_10, 0, x_21); return x_10; @@ -8361,8 +8102,8 @@ lean_inc(x_24); lean_inc(x_23); lean_dec(x_10); lean_inc(x_3); -x_25 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_3, x_1, x_23); -x_26 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_24, x_7); +x_25 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_3, x_1, x_23); +x_26 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_24, x_7); x_27 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_27, 0, x_25); lean_ctor_set(x_27, 1, x_26); @@ -8413,7 +8154,7 @@ if (lean_is_exclusive(x_37)) { lean_dec_ref(x_37); x_40 = lean_box(0); } -x_41 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_39, x_32); +x_41 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_39, x_32); if (lean_is_scalar(x_40)) { x_42 = lean_alloc_ctor(0, 2, 0); } else { @@ -8439,8 +8180,8 @@ if (lean_is_exclusive(x_37)) { x_45 = lean_box(0); } lean_inc(x_3); -x_46 = l___private_Init_Lean_Elab_Term_5__fromMetaException(x_3, x_1, x_43); -x_47 = l___private_Init_Lean_Elab_Term_6__fromMetaState(x_1, x_3, x_4, x_44, x_32); +x_46 = l___private_Init_Lean_Elab_Term_2__fromMetaException(x_3, x_1, x_43); +x_47 = l___private_Init_Lean_Elab_Term_3__fromMetaState(x_1, x_3, x_4, x_44, x_32); if (lean_is_scalar(x_45)) { x_48 = lean_alloc_ctor(1, 2, 0); } else { @@ -8554,7 +8295,6 @@ else uint8_t x_14; lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_14 = !lean_is_exclusive(x_5); if (x_14 == 0) { @@ -8588,7 +8328,6 @@ else uint8_t x_20; lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_20 = !lean_is_exclusive(x_5); if (x_20 == 0) { @@ -8610,6 +8349,15 @@ return x_23; } } } +lean_object* l_Lean_Elab_Term_decLevel___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Elab_Term_decLevel(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} lean_object* l_Lean_Elab_Term_liftLevelM___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -9207,6 +8955,7 @@ x_14 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_14, 0, x_13); lean_ctor_set(x_14, 1, x_12); x_15 = l_Lean_Elab_Term_throwError___rarg(x_1, x_14, x_3, x_4); +lean_dec(x_1); return x_15; } } @@ -9852,7 +9601,7 @@ lean_dec(x_1); return x_3; } } -uint8_t _init_l___private_Init_Lean_Elab_Term_7__hasCDot___main___closed__1() { +uint8_t _init_l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1() { _start: { uint8_t x_1; uint8_t x_2; @@ -9861,7 +9610,7 @@ x_2 = l_coeDecidableEq(x_1); return x_2; } } -uint8_t l___private_Init_Lean_Elab_Term_7__hasCDot___main(lean_object* x_1) { +uint8_t l___private_Init_Lean_Elab_Term_4__hasCDot___main(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_30; uint8_t x_31; @@ -9900,7 +9649,7 @@ x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) { uint8_t x_6; -x_6 = l___private_Init_Lean_Elab_Term_7__hasCDot___main___closed__1; +x_6 = l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; if (x_6 == 0) { uint8_t x_7; @@ -9916,7 +9665,7 @@ x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(1u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); lean_dec(x_1); -x_12 = l___private_Init_Lean_Elab_Term_7__hasCDot___main(x_9); +x_12 = l___private_Init_Lean_Elab_Term_4__hasCDot___main(x_9); if (x_12 == 0) { x_1 = x_11; @@ -9956,7 +9705,7 @@ x_22 = l_Lean_Syntax_getArg(x_1, x_21); x_23 = lean_unsigned_to_nat(1u); x_24 = l_Lean_Syntax_getArg(x_1, x_23); lean_dec(x_1); -x_25 = l___private_Init_Lean_Elab_Term_7__hasCDot___main(x_22); +x_25 = l___private_Init_Lean_Elab_Term_4__hasCDot___main(x_22); if (x_25 == 0) { x_1 = x_24; @@ -9982,33 +9731,33 @@ return x_28; } } } -lean_object* l___private_Init_Lean_Elab_Term_7__hasCDot___main___boxed(lean_object* x_1) { +lean_object* l___private_Init_Lean_Elab_Term_4__hasCDot___main___boxed(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; -x_2 = l___private_Init_Lean_Elab_Term_7__hasCDot___main(x_1); +x_2 = l___private_Init_Lean_Elab_Term_4__hasCDot___main(x_1); x_3 = lean_box(x_2); return x_3; } } -uint8_t l___private_Init_Lean_Elab_Term_7__hasCDot(lean_object* x_1) { +uint8_t l___private_Init_Lean_Elab_Term_4__hasCDot(lean_object* x_1) { _start: { uint8_t x_2; -x_2 = l___private_Init_Lean_Elab_Term_7__hasCDot___main(x_1); +x_2 = l___private_Init_Lean_Elab_Term_4__hasCDot___main(x_1); return x_2; } } -lean_object* l___private_Init_Lean_Elab_Term_7__hasCDot___boxed(lean_object* x_1) { +lean_object* l___private_Init_Lean_Elab_Term_4__hasCDot___boxed(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; -x_2 = l___private_Init_Lean_Elab_Term_7__hasCDot(x_1); +x_2 = l___private_Init_Lean_Elab_Term_4__hasCDot(x_1); x_3 = lean_box(x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_8__expandCDot___closed__1() { +lean_object* _init_l___private_Init_Lean_Elab_Term_5__expandCDot___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -10017,13 +9766,13 @@ x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_8__expandCDot___closed__2() { +lean_object* _init_l___private_Init_Lean_Elab_Term_5__expandCDot___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_IO_Prim_fopenFlags___closed__12; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__1; +x_3 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__1; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -10031,7 +9780,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_8__expandCDot___closed__3() { +lean_object* _init_l___private_Init_Lean_Elab_Term_5__expandCDot___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -10041,7 +9790,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4() { +lean_object* _init_l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -10053,7 +9802,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* l___private_Init_Lean_Elab_Term_8__expandCDot(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; uint8_t x_6; uint8_t x_7; @@ -10122,10 +9871,10 @@ if (x_18 == 0) lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; x_19 = lean_ctor_get(x_17, 0); x_20 = lean_box(0); -x_21 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__3; +x_21 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__3; x_22 = lean_name_mk_numeral(x_21, x_19); x_23 = lean_box(0); -x_24 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__2; +x_24 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__2; x_25 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_25, 0, x_20); lean_ctor_set(x_25, 1, x_24); @@ -10133,7 +9882,7 @@ lean_ctor_set(x_25, 2, x_22); lean_ctor_set(x_25, 3, x_23); x_26 = l_Array_empty___closed__1; x_27 = lean_array_push(x_26, x_25); -x_28 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_28 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_29 = lean_array_push(x_27, x_28); x_30 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_31 = lean_alloc_ctor(1, 2, 0); @@ -10156,10 +9905,10 @@ lean_inc(x_35); lean_inc(x_34); lean_dec(x_17); x_36 = lean_box(0); -x_37 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__3; +x_37 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__3; x_38 = lean_name_mk_numeral(x_37, x_34); x_39 = lean_box(0); -x_40 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__2; +x_40 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__2; x_41 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_41, 0, x_36); lean_ctor_set(x_41, 1, x_40); @@ -10167,7 +9916,7 @@ lean_ctor_set(x_41, 2, x_38); lean_ctor_set(x_41, 3, x_39); x_42 = l_Array_empty___closed__1; x_43 = lean_array_push(x_42, x_41); -x_44 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_44 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_45 = lean_array_push(x_43, x_44); x_46 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_47 = lean_alloc_ctor(1, 2, 0); @@ -10234,10 +9983,10 @@ if (lean_is_exclusive(x_62)) { x_65 = lean_box(0); } x_66 = lean_box(0); -x_67 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__3; +x_67 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__3; x_68 = lean_name_mk_numeral(x_67, x_63); x_69 = lean_box(0); -x_70 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__2; +x_70 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__2; x_71 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_71, 0, x_66); lean_ctor_set(x_71, 1, x_70); @@ -10245,7 +9994,7 @@ lean_ctor_set(x_71, 2, x_68); lean_ctor_set(x_71, 3, x_69); x_72 = l_Array_empty___closed__1; x_73 = lean_array_push(x_72, x_71); -x_74 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_74 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_75 = lean_array_push(x_73, x_74); x_76 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_77 = lean_alloc_ctor(1, 2, 0); @@ -10398,10 +10147,10 @@ if (lean_is_exclusive(x_111)) { x_114 = lean_box(0); } x_115 = lean_box(0); -x_116 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__3; +x_116 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__3; x_117 = lean_name_mk_numeral(x_116, x_112); x_118 = lean_box(0); -x_119 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__2; +x_119 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__2; x_120 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_120, 0, x_115); lean_ctor_set(x_120, 1, x_119); @@ -10409,7 +10158,7 @@ lean_ctor_set(x_120, 2, x_117); lean_ctor_set(x_120, 3, x_118); x_121 = l_Array_empty___closed__1; x_122 = lean_array_push(x_121, x_120); -x_123 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_123 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_124 = lean_array_push(x_122, x_123); x_125 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_126 = lean_alloc_ctor(1, 2, 0); @@ -10433,7 +10182,7 @@ return x_129; } } } -lean_object* l___private_Init_Lean_Elab_Term_9__expandCDotInApp___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Elab_Term_6__expandCDotInApp___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { uint8_t x_5; lean_object* x_51; uint8_t x_52; @@ -10484,7 +10233,7 @@ x_11 = lean_unsigned_to_nat(1u); x_12 = l_Lean_Syntax_getArg(x_1, x_11); lean_dec(x_1); lean_inc(x_3); -x_13 = l___private_Init_Lean_Elab_Term_9__expandCDotInApp___main(x_10, x_2, x_3, x_4); +x_13 = l___private_Init_Lean_Elab_Term_6__expandCDotInApp___main(x_10, x_2, x_3, x_4); x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); x_15 = lean_ctor_get(x_13, 1); @@ -10496,7 +10245,7 @@ x_17 = lean_ctor_get(x_14, 1); lean_inc(x_17); lean_dec(x_14); lean_inc(x_3); -x_18 = l___private_Init_Lean_Elab_Term_8__expandCDot(x_12, x_17, x_3, x_15); +x_18 = l___private_Init_Lean_Elab_Term_5__expandCDot(x_12, x_17, x_3, x_15); x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); x_20 = lean_ctor_get(x_18, 1); @@ -10589,11 +10338,11 @@ return x_49; } } } -lean_object* l___private_Init_Lean_Elab_Term_9__expandCDotInApp(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Elab_Term_6__expandCDotInApp(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Init_Lean_Elab_Term_9__expandCDotInApp___main(x_1, x_2, x_3, x_4); +x_5 = l___private_Init_Lean_Elab_Term_6__expandCDotInApp___main(x_1, x_2, x_3, x_4); return x_5; } } @@ -10613,7 +10362,7 @@ else { lean_object* x_7; uint8_t x_8; x_7 = lean_array_fget(x_2, x_4); -x_8 = l___private_Init_Lean_Elab_Term_7__hasCDot___main(x_7); +x_8 = l___private_Init_Lean_Elab_Term_4__hasCDot___main(x_7); if (x_8 == 0) { lean_object* x_9; lean_object* x_10; @@ -10662,7 +10411,7 @@ x_14 = x_13; x_15 = lean_array_fset(x_2, x_1, x_14); lean_inc(x_4); lean_inc(x_12); -x_16 = l___private_Init_Lean_Elab_Term_8__expandCDot(x_12, x_3, x_4, x_5); +x_16 = l___private_Init_Lean_Elab_Term_5__expandCDot(x_12, x_3, x_4, x_5); x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); x_18 = lean_ctor_get(x_16, 1); @@ -10902,7 +10651,7 @@ lean_dec(x_4); x_71 = l_Array_empty___closed__1; lean_inc(x_2); lean_inc(x_1); -x_72 = l___private_Init_Lean_Elab_Term_9__expandCDotInApp___main(x_1, x_71, x_2, x_3); +x_72 = l___private_Init_Lean_Elab_Term_6__expandCDotInApp___main(x_1, x_71, x_2, x_3); x_73 = !lean_is_exclusive(x_1); if (x_73 == 0) { @@ -11056,7 +10805,7 @@ x_6 = lean_box(x_5); return x_6; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_10__exceptionToSorry___closed__1() { +lean_object* _init_l___private_Init_Lean_Elab_Term_7__exceptionToSorry___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -11066,27 +10815,27 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_10__exceptionToSorry___closed__2() { +lean_object* _init_l___private_Init_Lean_Elab_Term_7__exceptionToSorry___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Term_10__exceptionToSorry___closed__1; +x_1 = l___private_Init_Lean_Elab_Term_7__exceptionToSorry___closed__1; x_2 = l_Bool_HasRepr___closed__2; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_10__exceptionToSorry___closed__3() { +lean_object* _init_l___private_Init_Lean_Elab_Term_7__exceptionToSorry___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Term_10__exceptionToSorry___closed__2; +x_2 = l___private_Init_Lean_Elab_Term_7__exceptionToSorry___closed__2; x_3 = l_Lean_mkConst(x_2, x_1); return x_3; } } -lean_object* l___private_Init_Lean_Elab_Term_10__exceptionToSorry(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Elab_Term_7__exceptionToSorry(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; @@ -11136,7 +10885,7 @@ lean_ctor_set(x_13, 0, x_10); lean_ctor_set(x_13, 1, x_12); x_14 = l_Lean_Expr_hasSorry___main___closed__1; x_15 = l_Lean_mkConst(x_14, x_13); -x_16 = l___private_Init_Lean_Elab_Term_10__exceptionToSorry___closed__3; +x_16 = l___private_Init_Lean_Elab_Term_7__exceptionToSorry___closed__3; x_17 = l_Lean_mkAppB(x_15, x_6, x_16); x_18 = lean_ctor_get(x_2, 4); lean_inc(x_18); @@ -11205,7 +10954,7 @@ lean_ctor_set(x_34, 0, x_31); lean_ctor_set(x_34, 1, x_33); x_35 = l_Lean_Expr_hasSorry___main___closed__1; x_36 = l_Lean_mkConst(x_35, x_34); -x_37 = l___private_Init_Lean_Elab_Term_10__exceptionToSorry___closed__3; +x_37 = l___private_Init_Lean_Elab_Term_7__exceptionToSorry___closed__3; x_38 = l_Lean_mkAppB(x_36, x_6, x_37); x_39 = lean_ctor_get(x_2, 4); lean_inc(x_39); @@ -11293,11 +11042,11 @@ return x_55; } } } -lean_object* l___private_Init_Lean_Elab_Term_10__exceptionToSorry___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Elab_Term_7__exceptionToSorry___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l___private_Init_Lean_Elab_Term_10__exceptionToSorry(x_1, x_2, x_3, x_4, x_5); +x_6 = l___private_Init_Lean_Elab_Term_7__exceptionToSorry(x_1, x_2, x_3, x_4, x_5); lean_dec(x_1); return x_6; } @@ -11398,7 +11147,7 @@ lean_dec(x_1); return x_4; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_11__postponeElabTerm___closed__1() { +lean_object* _init_l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__1() { _start: { lean_object* x_1; @@ -11406,17 +11155,17 @@ x_1 = lean_mk_string("postpone"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_11__postponeElabTerm___closed__2() { +lean_object* _init_l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__2; -x_2 = l___private_Init_Lean_Elab_Term_11__postponeElabTerm___closed__1; +x_2 = l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_11__postponeElabTerm___closed__3() { +lean_object* _init_l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -11426,17 +11175,17 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_11__postponeElabTerm___closed__4() { +lean_object* _init_l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_Term_11__postponeElabTerm___closed__3; +x_1 = l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__3; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Init_Lean_Elab_Term_11__postponeElabTerm(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Elab_Term_8__postponeElabTerm(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; @@ -11446,7 +11195,7 @@ lean_inc(x_21); x_22 = lean_ctor_get(x_20, 1); lean_inc(x_22); lean_dec(x_20); -x_23 = l___private_Init_Lean_Elab_Term_11__postponeElabTerm___closed__2; +x_23 = l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__2; x_24 = l_Lean_checkTraceOption(x_21, x_23); lean_dec(x_21); if (x_24 == 0) @@ -11460,7 +11209,7 @@ lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_inc(x_1); x_25 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_25, 0, x_1); -x_26 = l___private_Init_Lean_Elab_Term_11__postponeElabTerm___closed__4; +x_26 = l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__4; x_27 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_27, 0, x_25); lean_ctor_set(x_27, 1, x_26); @@ -11538,7 +11287,7 @@ return x_18; } } } -lean_object* _init_l___private_Init_Lean_Elab_Term_12__elabTermUsing___main___closed__1() { +lean_object* _init_l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__1() { _start: { lean_object* x_1; @@ -11546,190 +11295,186 @@ x_1 = lean_mk_string("unexpected syntax"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_12__elabTermUsing___main___closed__2() { +lean_object* _init_l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_Term_12__elabTermUsing___main___closed__1; +x_1 = l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_12__elabTermUsing___main___closed__3() { +lean_object* _init_l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_Term_12__elabTermUsing___main___closed__2; +x_1 = l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Init_Lean_Elab_Term_12__elabTermUsing___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l___private_Init_Lean_Elab_Term_9__elabTermUsing___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { if (lean_obj_tag(x_6) == 0) { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_object* x_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_dec(x_3); lean_dec(x_1); lean_inc(x_2); -x_9 = l___private_Init_Lean_Elab_Term_2__prettyPrint(x_2, x_7, x_8); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 1); -lean_inc(x_11); -lean_dec(x_9); -x_12 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_12, 0, x_10); -x_13 = l_Lean_MessageData_ofList___closed__3; -x_14 = lean_alloc_ctor(8, 2, 0); +x_9 = l_Lean_Syntax_prettyPrint(x_2); +x_10 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_10, 0, x_9); +x_11 = l_Lean_MessageData_ofList___closed__3; +x_12 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +x_13 = lean_unsigned_to_nat(2u); +x_14 = lean_alloc_ctor(6, 2, 0); lean_ctor_set(x_14, 0, x_13); lean_ctor_set(x_14, 1, x_12); -x_15 = lean_unsigned_to_nat(2u); -x_16 = lean_alloc_ctor(6, 2, 0); +x_15 = l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__3; +x_16 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_16, 0, x_15); lean_ctor_set(x_16, 1, x_14); -x_17 = l___private_Init_Lean_Elab_Term_12__elabTermUsing___main___closed__3; -x_18 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -x_19 = l_Lean_Elab_Term_throwError___rarg(x_2, x_18, x_7, x_11); -return x_19; +x_17 = l_Lean_Elab_Term_throwError___rarg(x_2, x_16, x_7, x_8); +lean_dec(x_2); +return x_17; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_6, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_6, 1); -lean_inc(x_21); +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_6, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_6, 1); +lean_inc(x_19); lean_dec(x_6); lean_inc(x_7); lean_inc(x_3); lean_inc(x_2); -x_22 = lean_apply_4(x_20, x_2, x_3, x_7, x_8); -if (lean_obj_tag(x_22) == 0) +x_20 = lean_apply_4(x_18, x_2, x_3, x_7, x_8); +if (lean_obj_tag(x_20) == 0) { -lean_dec(x_21); +lean_dec(x_19); lean_dec(x_7); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_22; +return x_20; } else { -lean_object* x_23; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -if (lean_obj_tag(x_23) == 0) +lean_object* x_21; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +if (lean_obj_tag(x_21) == 0) { -lean_object* x_24; -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -if (lean_obj_tag(x_24) == 0) +lean_object* x_22; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +if (lean_obj_tag(x_22) == 0) { -lean_dec(x_21); +lean_dec(x_19); lean_dec(x_1); if (x_4 == 0) { -uint8_t x_25; -lean_dec(x_24); +uint8_t x_23; +lean_dec(x_22); lean_dec(x_7); lean_dec(x_3); lean_dec(x_2); -x_25 = !lean_is_exclusive(x_22); -if (x_25 == 0) +x_23 = !lean_is_exclusive(x_20); +if (x_23 == 0) { -lean_object* x_26; -x_26 = lean_ctor_get(x_22, 0); -lean_dec(x_26); -return x_22; -} -else -{ -lean_object* x_27; lean_object* x_28; -x_27 = lean_ctor_get(x_22, 1); -lean_inc(x_27); -lean_dec(x_22); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_23); -lean_ctor_set(x_28, 1, x_27); -return x_28; -} -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -lean_dec(x_23); -x_29 = lean_ctor_get(x_22, 1); -lean_inc(x_29); -lean_dec(x_22); -x_30 = lean_ctor_get(x_24, 0); -lean_inc(x_30); +lean_object* x_24; +x_24 = lean_ctor_get(x_20, 0); lean_dec(x_24); -x_31 = l___private_Init_Lean_Elab_Term_10__exceptionToSorry(x_2, x_30, x_3, x_7, x_29); -lean_dec(x_2); -return x_31; +return x_20; +} +else +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_20, 1); +lean_inc(x_25); +lean_dec(x_20); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_21); +lean_ctor_set(x_26, 1, x_25); +return x_26; } } else { -lean_object* x_32; -lean_dec(x_23); -x_32 = lean_ctor_get(x_22, 1); -lean_inc(x_32); +lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_dec(x_21); +x_27 = lean_ctor_get(x_20, 1); +lean_inc(x_27); +lean_dec(x_20); +x_28 = lean_ctor_get(x_22, 0); +lean_inc(x_28); lean_dec(x_22); -x_6 = x_21; -x_8 = x_32; +x_29 = l___private_Init_Lean_Elab_Term_7__exceptionToSorry(x_2, x_28, x_3, x_7, x_27); +lean_dec(x_2); +return x_29; +} +} +else +{ +lean_object* x_30; +lean_dec(x_21); +x_30 = lean_ctor_get(x_20, 1); +lean_inc(x_30); +lean_dec(x_20); +x_6 = x_19; +x_8 = x_30; goto _start; } } else { -lean_dec(x_21); +lean_dec(x_19); if (x_5 == 0) { -uint8_t x_34; +uint8_t x_32; lean_dec(x_7); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_34 = !lean_is_exclusive(x_22); -if (x_34 == 0) +x_32 = !lean_is_exclusive(x_20); +if (x_32 == 0) { -lean_object* x_35; -x_35 = lean_ctor_get(x_22, 0); -lean_dec(x_35); -return x_22; +lean_object* x_33; +x_33 = lean_ctor_get(x_20, 0); +lean_dec(x_33); +return x_20; } else { -lean_object* x_36; lean_object* x_37; -x_36 = lean_ctor_get(x_22, 1); -lean_inc(x_36); -lean_dec(x_22); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_23); -lean_ctor_set(x_37, 1, x_36); -return x_37; +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_20, 1); +lean_inc(x_34); +lean_dec(x_20); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_21); +lean_ctor_set(x_35, 1, x_34); +return x_35; } } else { -lean_object* x_38; -lean_dec(x_22); -x_38 = l___private_Init_Lean_Elab_Term_11__postponeElabTerm(x_2, x_3, x_7, x_1); -return x_38; +lean_object* x_36; +lean_dec(x_20); +x_36 = l___private_Init_Lean_Elab_Term_8__postponeElabTerm(x_2, x_3, x_7, x_1); +return x_36; } } } } } } -lean_object* l___private_Init_Lean_Elab_Term_12__elabTermUsing___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { uint8_t x_9; uint8_t x_10; lean_object* x_11; @@ -11737,19 +11482,19 @@ x_9 = lean_unbox(x_4); lean_dec(x_4); x_10 = lean_unbox(x_5); lean_dec(x_5); -x_11 = l___private_Init_Lean_Elab_Term_12__elabTermUsing___main(x_1, x_2, x_3, x_9, x_10, x_6, x_7, x_8); +x_11 = l___private_Init_Lean_Elab_Term_9__elabTermUsing___main(x_1, x_2, x_3, x_9, x_10, x_6, x_7, x_8); return x_11; } } -lean_object* l___private_Init_Lean_Elab_Term_12__elabTermUsing(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l___private_Init_Lean_Elab_Term_9__elabTermUsing(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l___private_Init_Lean_Elab_Term_12__elabTermUsing___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l___private_Init_Lean_Elab_Term_9__elabTermUsing___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); return x_9; } } -lean_object* l___private_Init_Lean_Elab_Term_12__elabTermUsing___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l___private_Init_Lean_Elab_Term_9__elabTermUsing___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { uint8_t x_9; uint8_t x_10; lean_object* x_11; @@ -11757,7 +11502,7 @@ x_9 = lean_unbox(x_4); lean_dec(x_4); x_10 = lean_unbox(x_5); lean_dec(x_5); -x_11 = l___private_Init_Lean_Elab_Term_12__elabTermUsing(x_1, x_2, x_3, x_9, x_10, x_6, x_7, x_8); +x_11 = l___private_Init_Lean_Elab_Term_9__elabTermUsing(x_1, x_2, x_3, x_9, x_10, x_6, x_7, x_8); return x_11; } } @@ -12301,6 +12046,7 @@ x_55 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_55, 0, x_53); lean_ctor_set(x_55, 1, x_54); x_56 = l_Lean_Elab_Term_throwError___rarg(x_4, x_55, x_31, x_46); +lean_dec(x_4); return x_56; } else @@ -12350,7 +12096,7 @@ x_61 = lean_ctor_get(x_40, 0); lean_inc(x_61); lean_dec(x_40); lean_inc(x_32); -x_62 = l___private_Init_Lean_Elab_Term_12__elabTermUsing___main(x_32, x_4, x_1, x_3, x_2, x_61, x_31, x_32); +x_62 = l___private_Init_Lean_Elab_Term_9__elabTermUsing___main(x_32, x_4, x_1, x_3, x_2, x_61, x_31, x_32); return x_62; } } @@ -12373,6 +12119,7 @@ x_73 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_73, 0, x_72); lean_ctor_set(x_73, 1, x_71); x_74 = l_Lean_Elab_Term_throwError___rarg(x_4, x_73, x_31, x_6); +lean_dec(x_4); return x_74; } } @@ -12397,6 +12144,7 @@ lean_dec(x_8); lean_dec(x_1); x_85 = l_Lean_Elab_Term_withIncRecDepth___rarg___closed__2; x_86 = l_Lean_Elab_Term_throwError___rarg(x_4, x_85, x_5, x_6); +lean_dec(x_4); x_87 = !lean_is_exclusive(x_86); if (x_87 == 0) { @@ -12582,6 +12330,7 @@ x_123 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_123, 0, x_121); lean_ctor_set(x_123, 1, x_122); x_124 = l_Lean_Elab_Term_throwError___rarg(x_4, x_123, x_99, x_114); +lean_dec(x_4); return x_124; } else @@ -12631,7 +12380,7 @@ x_129 = lean_ctor_get(x_108, 0); lean_inc(x_129); lean_dec(x_108); lean_inc(x_100); -x_130 = l___private_Init_Lean_Elab_Term_12__elabTermUsing___main(x_100, x_4, x_1, x_3, x_2, x_129, x_99, x_100); +x_130 = l___private_Init_Lean_Elab_Term_9__elabTermUsing___main(x_100, x_4, x_1, x_3, x_2, x_129, x_99, x_100); return x_130; } } @@ -12654,6 +12403,7 @@ x_141 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_141, 0, x_140); lean_ctor_set(x_141, 1, x_139); x_142 = l_Lean_Elab_Term_throwError___rarg(x_4, x_141, x_99, x_6); +lean_dec(x_4); return x_142; } } @@ -12677,6 +12427,7 @@ lean_dec(x_8); lean_dec(x_1); x_153 = l_Lean_Elab_Term_withIncRecDepth___rarg___closed__2; x_154 = l_Lean_Elab_Term_throwError___rarg(x_4, x_153, x_5, x_6); +lean_dec(x_4); x_155 = lean_ctor_get(x_154, 0); lean_inc(x_155); x_156 = lean_ctor_get(x_154, 1); @@ -12921,6 +12672,7 @@ x_203 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_203, 0, x_201); lean_ctor_set(x_203, 1, x_202); x_204 = l_Lean_Elab_Term_throwError___rarg(x_4, x_203, x_179, x_194); +lean_dec(x_4); return x_204; } else @@ -12970,7 +12722,7 @@ x_209 = lean_ctor_get(x_188, 0); lean_inc(x_209); lean_dec(x_188); lean_inc(x_180); -x_210 = l___private_Init_Lean_Elab_Term_12__elabTermUsing___main(x_180, x_4, x_1, x_3, x_2, x_209, x_179, x_180); +x_210 = l___private_Init_Lean_Elab_Term_9__elabTermUsing___main(x_180, x_4, x_1, x_3, x_2, x_209, x_179, x_180); return x_210; } } @@ -12993,6 +12745,7 @@ x_221 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_221, 0, x_220); lean_ctor_set(x_221, 1, x_219); x_222 = l_Lean_Elab_Term_throwError___rarg(x_4, x_221, x_179, x_6); +lean_dec(x_4); return x_222; } } @@ -13017,6 +12770,7 @@ lean_dec(x_8); lean_dec(x_1); x_233 = l_Lean_Elab_Term_withIncRecDepth___rarg___closed__2; x_234 = l_Lean_Elab_Term_throwError___rarg(x_4, x_233, x_169, x_6); +lean_dec(x_4); x_235 = lean_ctor_get(x_234, 0); lean_inc(x_235); x_236 = lean_ctor_get(x_234, 1); @@ -13302,6 +13056,7 @@ x_293 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_293, 0, x_291); lean_ctor_set(x_293, 1, x_292); x_294 = l_Lean_Elab_Term_throwError___rarg(x_4, x_293, x_269, x_284); +lean_dec(x_4); return x_294; } else @@ -13351,7 +13106,7 @@ x_299 = lean_ctor_get(x_278, 0); lean_inc(x_299); lean_dec(x_278); lean_inc(x_270); -x_300 = l___private_Init_Lean_Elab_Term_12__elabTermUsing___main(x_270, x_4, x_1, x_3, x_2, x_299, x_269, x_270); +x_300 = l___private_Init_Lean_Elab_Term_9__elabTermUsing___main(x_270, x_4, x_1, x_3, x_2, x_299, x_269, x_270); return x_300; } } @@ -13374,6 +13129,7 @@ x_311 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_311, 0, x_310); lean_ctor_set(x_311, 1, x_309); x_312 = l_Lean_Elab_Term_throwError___rarg(x_4, x_311, x_269, x_247); +lean_dec(x_4); return x_312; } } @@ -13398,6 +13154,7 @@ lean_dec(x_244); lean_dec(x_1); x_323 = l_Lean_Elab_Term_withIncRecDepth___rarg___closed__2; x_324 = l_Lean_Elab_Term_throwError___rarg(x_4, x_323, x_259, x_247); +lean_dec(x_4); x_325 = lean_ctor_get(x_324, 0); lean_inc(x_325); x_326 = lean_ctor_get(x_324, 1); @@ -13534,7 +13291,7 @@ x_9 = l_Lean_Elab_Term_elabTerm(x_1, x_2, x_7, x_8, x_5, x_6); return x_9; } } -lean_object* l___private_Init_Lean_Elab_Term_13__resumeElabTerm(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Elab_Term_10__resumeElabTerm(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5) { _start: { uint8_t x_6; lean_object* x_7; @@ -13543,13 +13300,13 @@ x_7 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_6, x_3, x_1, x_4, x_5); return x_7; } } -lean_object* l___private_Init_Lean_Elab_Term_13__resumeElabTerm___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Elab_Term_10__resumeElabTerm___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___private_Init_Lean_Elab_Term_13__resumeElabTerm(x_1, x_2, x_6, x_4, x_5); +x_7 = l___private_Init_Lean_Elab_Term_10__resumeElabTerm(x_1, x_2, x_6, x_4, x_5); return x_7; } } @@ -13773,7 +13530,6 @@ else { uint8_t x_23; lean_dec(x_3); -lean_dec(x_1); x_23 = !lean_is_exclusive(x_17); if (x_23 == 0) { @@ -13801,7 +13557,6 @@ else uint8_t x_27; lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_27 = !lean_is_exclusive(x_17); if (x_27 == 0) { @@ -13826,7 +13581,6 @@ else { lean_dec(x_10); lean_dec(x_3); -lean_dec(x_1); lean_ctor_set(x_8, 0, x_2); return x_8; } @@ -13875,7 +13629,6 @@ else { lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_dec(x_3); -lean_dec(x_1); x_44 = lean_ctor_get(x_38, 1); lean_inc(x_44); if (lean_is_exclusive(x_38)) { @@ -13901,7 +13654,6 @@ else lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_47 = lean_ctor_get(x_38, 0); lean_inc(x_47); x_48 = lean_ctor_get(x_38, 1); @@ -13929,7 +13681,6 @@ else lean_object* x_51; lean_dec(x_31); lean_dec(x_3); -lean_dec(x_1); x_51 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_51, 0, x_2); lean_ctor_set(x_51, 1, x_32); @@ -13942,7 +13693,6 @@ else uint8_t x_52; lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_52 = !lean_is_exclusive(x_8); if (x_52 == 0) { @@ -13968,7 +13718,6 @@ else uint8_t x_56; lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_56 = !lean_is_exclusive(x_5); if (x_56 == 0) { @@ -13990,6 +13739,15 @@ return x_59; } } } +lean_object* l_Lean_Elab_Term_ensureType___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Elab_Term_ensureType(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} lean_object* l_Lean_Elab_Term_elabType(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -14017,6 +13775,7 @@ x_12 = lean_ctor_get(x_10, 1); lean_inc(x_12); lean_dec(x_10); x_13 = l_Lean_Elab_Term_ensureType(x_1, x_11, x_2, x_12); +lean_dec(x_1); return x_13; } else @@ -16596,7 +16355,7 @@ lean_dec(x_1); return x_5; } } -lean_object* l_ReaderT_lift___at___private_Init_Lean_Elab_Term_14__resumePostponed___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_ReaderT_lift___at___private_Init_Lean_Elab_Term_11__resumePostponed___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -16604,15 +16363,15 @@ x_4 = lean_apply_1(x_1, x_3); return x_4; } } -lean_object* l_ReaderT_lift___at___private_Init_Lean_Elab_Term_14__resumePostponed___spec__1(lean_object* x_1) { +lean_object* l_ReaderT_lift___at___private_Init_Lean_Elab_Term_11__resumePostponed___spec__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_ReaderT_lift___at___private_Init_Lean_Elab_Term_14__resumePostponed___spec__1___rarg___boxed), 3, 0); +x_2 = lean_alloc_closure((void*)(l_ReaderT_lift___at___private_Init_Lean_Elab_Term_11__resumePostponed___spec__1___rarg___boxed), 3, 0); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_14__resumePostponed___lambda__1___closed__1() { +lean_object* _init_l___private_Init_Lean_Elab_Term_11__resumePostponed___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -16621,7 +16380,7 @@ lean_closure_set(x_1, 0, lean_box(0)); return x_1; } } -lean_object* l___private_Init_Lean_Elab_Term_14__resumePostponed___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l___private_Init_Lean_Elab_Term_11__resumePostponed___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; 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; @@ -16870,7 +16629,7 @@ else { lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_dec(x_5); -x_32 = l___private_Init_Lean_Elab_Term_14__resumePostponed___lambda__1___closed__1; +x_32 = l___private_Init_Lean_Elab_Term_11__resumePostponed___lambda__1___closed__1; x_33 = l_unreachable_x21___rarg(x_32); x_34 = lean_apply_2(x_33, x_6, x_9); return x_34; @@ -16891,28 +16650,28 @@ return x_37; } } } -lean_object* _init_l___private_Init_Lean_Elab_Term_14__resumePostponed___closed__1() { +lean_object* _init_l___private_Init_Lean_Elab_Term_11__resumePostponed___closed__1() { _start: { lean_object* x_1; lean_object* x_2; x_1 = l_EStateM_MonadState___closed__2; -x_2 = lean_alloc_closure((void*)(l_ReaderT_lift___at___private_Init_Lean_Elab_Term_14__resumePostponed___spec__1___rarg___boxed), 3, 1); +x_2 = lean_alloc_closure((void*)(l_ReaderT_lift___at___private_Init_Lean_Elab_Term_11__resumePostponed___spec__1___rarg___boxed), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Init_Lean_Elab_Term_14__resumePostponed(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l___private_Init_Lean_Elab_Term_11__resumePostponed(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t 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; x_7 = lean_box(x_4); lean_inc(x_3); -x_8 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Term_14__resumePostponed___lambda__1___boxed), 7, 4); +x_8 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Term_11__resumePostponed___lambda__1___boxed), 7, 4); lean_closure_set(x_8, 0, x_7); lean_closure_set(x_8, 1, x_1); lean_closure_set(x_8, 2, x_3); lean_closure_set(x_8, 3, x_2); -x_9 = l___private_Init_Lean_Elab_Term_14__resumePostponed___closed__1; +x_9 = l___private_Init_Lean_Elab_Term_11__resumePostponed___closed__1; x_10 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Term_TermElabM_MonadLog___spec__2___rarg), 4, 2); lean_closure_set(x_10, 0, x_9); lean_closure_set(x_10, 1, x_8); @@ -16921,32 +16680,32 @@ lean_dec(x_3); return x_11; } } -lean_object* l_ReaderT_lift___at___private_Init_Lean_Elab_Term_14__resumePostponed___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_ReaderT_lift___at___private_Init_Lean_Elab_Term_11__resumePostponed___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_ReaderT_lift___at___private_Init_Lean_Elab_Term_14__resumePostponed___spec__1___rarg(x_1, x_2, x_3); +x_4 = l_ReaderT_lift___at___private_Init_Lean_Elab_Term_11__resumePostponed___spec__1___rarg(x_1, x_2, x_3); lean_dec(x_2); return x_4; } } -lean_object* l___private_Init_Lean_Elab_Term_14__resumePostponed___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l___private_Init_Lean_Elab_Term_11__resumePostponed___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_1); lean_dec(x_1); -x_9 = l___private_Init_Lean_Elab_Term_14__resumePostponed___lambda__1(x_8, x_2, x_3, x_4, x_5, x_6, x_7); +x_9 = l___private_Init_Lean_Elab_Term_11__resumePostponed___lambda__1(x_8, x_2, x_3, x_4, x_5, x_6, x_7); return x_9; } } -lean_object* l___private_Init_Lean_Elab_Term_14__resumePostponed___boxed(lean_object* 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___private_Init_Lean_Elab_Term_11__resumePostponed___boxed(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_4); lean_dec(x_4); -x_8 = l___private_Init_Lean_Elab_Term_14__resumePostponed(x_1, x_2, x_3, x_7, x_5, x_6); +x_8 = l___private_Init_Lean_Elab_Term_11__resumePostponed(x_1, x_2, x_3, x_7, x_5, x_6); return x_8; } } @@ -17139,7 +16898,6 @@ lean_dec(x_23); if (x_24 == 0) { lean_object* x_25; lean_object* x_26; uint8_t x_27; -lean_dec(x_1); x_25 = lean_ctor_get(x_22, 1); lean_inc(x_25); lean_dec(x_22); @@ -17248,7 +17006,6 @@ uint8_t x_60; lean_dec(x_38); lean_dec(x_21); lean_dec(x_3); -lean_dec(x_1); x_60 = !lean_is_exclusive(x_40); if (x_60 == 0) { @@ -17281,7 +17038,6 @@ uint8_t x_68; lean_dec(x_38); lean_dec(x_21); lean_dec(x_3); -lean_dec(x_1); x_68 = !lean_is_exclusive(x_40); if (x_68 == 0) { @@ -17309,7 +17065,6 @@ uint8_t x_72; lean_dec(x_10); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_72 = !lean_is_exclusive(x_12); if (x_72 == 0) { @@ -17343,7 +17098,6 @@ uint8_t x_80; lean_dec(x_10); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_80 = !lean_is_exclusive(x_12); if (x_80 == 0) { @@ -17365,7 +17119,16 @@ return x_83; } } } -lean_object* l___private_Init_Lean_Elab_Term_15__synthesizePendingInstMVar___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Elab_Term_synthesizeInstMVarCore(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l___private_Init_Lean_Elab_Term_12__synthesizePendingInstMVar___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; @@ -17505,7 +17268,7 @@ lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; x_41 = lean_ctor_get(x_5, 1); lean_inc(x_41); lean_dec(x_5); -x_42 = l___private_Init_Lean_Elab_Term_14__resumePostponed___lambda__1___closed__1; +x_42 = l___private_Init_Lean_Elab_Term_11__resumePostponed___lambda__1___closed__1; x_43 = l_unreachable_x21___rarg(x_42); x_44 = lean_apply_2(x_43, x_3, x_41); return x_44; @@ -17517,7 +17280,7 @@ lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; x_45 = lean_ctor_get(x_5, 1); lean_inc(x_45); lean_dec(x_5); -x_46 = l___private_Init_Lean_Elab_Term_14__resumePostponed___lambda__1___closed__1; +x_46 = l___private_Init_Lean_Elab_Term_11__resumePostponed___lambda__1___closed__1; x_47 = l_unreachable_x21___rarg(x_46); x_48 = lean_apply_2(x_47, x_3, x_45); return x_48; @@ -17525,12 +17288,12 @@ return x_48; } } } -lean_object* l___private_Init_Lean_Elab_Term_15__synthesizePendingInstMVar(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Elab_Term_12__synthesizePendingInstMVar(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_inc(x_2); -x_5 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Term_15__synthesizePendingInstMVar___lambda__1), 4, 2); +x_5 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Term_12__synthesizePendingInstMVar___lambda__1___boxed), 4, 2); lean_closure_set(x_5, 0, x_1); lean_closure_set(x_5, 1, x_2); x_6 = l_Lean_Elab_Term_withMVarContext___rarg(x_2, x_5, x_3, x_4); @@ -17538,7 +17301,16 @@ lean_dec(x_2); return x_6; } } -lean_object* l___private_Init_Lean_Elab_Term_16__checkWithDefault(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Elab_Term_12__synthesizePendingInstMVar___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Init_Lean_Elab_Term_12__synthesizePendingInstMVar___lambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l___private_Init_Lean_Elab_Term_13__checkWithDefault(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -17605,16 +17377,16 @@ return x_24; } } } -lean_object* l___private_Init_Lean_Elab_Term_16__checkWithDefault___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Elab_Term_13__checkWithDefault___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Init_Lean_Elab_Term_16__checkWithDefault(x_1, x_2, x_3, x_4); +x_5 = l___private_Init_Lean_Elab_Term_13__checkWithDefault(x_1, x_2, x_3, x_4); lean_dec(x_1); return x_5; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVar___closed__1() { +lean_object* _init_l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVar___closed__1() { _start: { lean_object* x_1; @@ -17622,27 +17394,27 @@ x_1 = lean_mk_string("not implemented yet"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVar___closed__2() { +lean_object* _init_l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVar___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVar___closed__1; +x_1 = l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVar___closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVar___closed__3() { +lean_object* _init_l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVar___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVar___closed__2; +x_1 = l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVar___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVar(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVar(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; @@ -17657,7 +17429,7 @@ lean_inc(x_6); x_7 = lean_ctor_get(x_1, 0); lean_inc(x_7); lean_dec(x_1); -x_8 = l___private_Init_Lean_Elab_Term_15__synthesizePendingInstMVar(x_6, x_7, x_3, x_4); +x_8 = l___private_Init_Lean_Elab_Term_12__synthesizePendingInstMVar(x_6, x_7, x_3, x_4); return x_8; } case 1: @@ -17667,8 +17439,9 @@ lean_dec(x_1); x_9 = lean_ctor_get(x_5, 0); lean_inc(x_9); lean_dec(x_5); -x_10 = l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVar___closed__3; +x_10 = l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVar___closed__3; x_11 = l_Lean_Elab_Term_throwError___rarg(x_9, x_10, x_3, x_4); +lean_dec(x_9); return x_11; } case 2: @@ -17682,7 +17455,7 @@ lean_inc(x_13); x_14 = lean_ctor_get(x_1, 0); lean_inc(x_14); lean_dec(x_1); -x_15 = l___private_Init_Lean_Elab_Term_14__resumePostponed(x_12, x_13, x_14, x_2, x_3, x_4); +x_15 = l___private_Init_Lean_Elab_Term_11__resumePostponed(x_12, x_13, x_14, x_2, x_3, x_4); return x_15; } default: @@ -17694,24 +17467,24 @@ lean_inc(x_16); x_17 = lean_ctor_get(x_1, 0); lean_inc(x_17); lean_dec(x_1); -x_18 = l___private_Init_Lean_Elab_Term_16__checkWithDefault(x_16, x_17, x_3, x_4); +x_18 = l___private_Init_Lean_Elab_Term_13__checkWithDefault(x_16, x_17, x_3, x_4); lean_dec(x_16); return x_18; } } } } -lean_object* l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVar___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVar___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { uint8_t x_5; lean_object* x_6; x_5 = lean_unbox(x_2); lean_dec(x_2); -x_6 = l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVar(x_1, x_5, x_3, x_4); +x_6 = l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVar(x_1, x_5, x_3, x_4); return x_6; } } -lean_object* l_Lean_fmt___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__1(lean_object* x_1) { +lean_object* l_Lean_fmt___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__1(lean_object* x_1) { _start: { lean_object* x_2; @@ -17720,7 +17493,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__1() { +lean_object* _init_l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__1() { _start: { lean_object* x_1; @@ -17728,27 +17501,27 @@ x_1 = lean_mk_string("not ready yet"); return x_1; } } -lean_object* _init_l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__2() { +lean_object* _init_l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__1; +x_1 = l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__3() { +lean_object* _init_l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__2; +x_1 = l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__4() { +lean_object* _init_l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__4() { _start: { lean_object* x_1; @@ -17756,27 +17529,27 @@ x_1 = lean_mk_string("succeeded"); return x_1; } } -lean_object* _init_l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__5() { +lean_object* _init_l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__4; +x_1 = l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__4; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__6() { +lean_object* _init_l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__5; +x_1 = l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__5; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__7() { +lean_object* _init_l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__7() { _start: { lean_object* x_1; @@ -17784,27 +17557,27 @@ x_1 = lean_mk_string("resuming ?"); return x_1; } } -lean_object* _init_l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__8() { +lean_object* _init_l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__7; +x_1 = l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__7; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__9() { +lean_object* _init_l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__8; +x_1 = l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__8; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { if (lean_obj_tag(x_3) == 0) @@ -17832,7 +17605,7 @@ if (lean_is_exclusive(x_3)) { lean_dec_ref(x_3); x_10 = lean_box(0); } -x_17 = l___private_Init_Lean_Elab_Term_11__postponeElabTerm___closed__1; +x_17 = l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__1; lean_inc(x_2); x_18 = lean_name_mk_string(x_2, x_17); x_19 = lean_ctor_get(x_8, 0); @@ -17859,7 +17632,7 @@ else lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; x_50 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_50, 0, x_19); -x_51 = l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__9; +x_51 = l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__9; x_52 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_52, 0, x_51); lean_ctor_set(x_52, 1, x_50); @@ -17902,7 +17675,7 @@ block_45: lean_object* x_22; lean_inc(x_5); lean_inc(x_8); -x_22 = l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVar(x_8, x_1, x_5, x_21); +x_22 = l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVar(x_8, x_1, x_5, x_21); if (lean_obj_tag(x_22) == 0) { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; @@ -17952,7 +17725,7 @@ lean_dec(x_23); if (x_32 == 0) { lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; -x_33 = l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__3; +x_33 = l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__3; x_34 = l_Lean_Elab_Term_logTrace(x_18, x_20, x_33, x_5, x_27); lean_dec(x_20); x_35 = lean_ctor_get(x_34, 1); @@ -17966,7 +17739,7 @@ goto block_16; else { lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; -x_37 = l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__6; +x_37 = l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__6; x_38 = l_Lean_Elab_Term_logTrace(x_18, x_20, x_37, x_5, x_27); lean_dec(x_20); x_39 = lean_ctor_get(x_38, 1); @@ -18013,7 +17786,7 @@ return x_44; } } } -lean_object* l_Lean_fmt___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__3(uint8_t x_1) { +lean_object* l_Lean_fmt___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__3(uint8_t x_1) { _start: { if (x_1 == 0) @@ -18030,7 +17803,7 @@ return x_3; } } } -lean_object* _init_l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__1() { +lean_object* _init_l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__1() { _start: { lean_object* x_1; @@ -18038,17 +17811,17 @@ x_1 = lean_mk_string("resuming"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__2() { +lean_object* _init_l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__2; -x_2 = l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__1; +x_2 = l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__3() { +lean_object* _init_l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__3() { _start: { lean_object* x_1; @@ -18056,27 +17829,27 @@ x_1 = lean_mk_string("resuming synthetic metavariables, mayPostpone: "); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__4() { +lean_object* _init_l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__3; +x_1 = l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__3; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__5() { +lean_object* _init_l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__4; +x_1 = l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__4; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__6() { +lean_object* _init_l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__6() { _start: { lean_object* x_1; @@ -18084,27 +17857,27 @@ x_1 = lean_mk_string(", postponeOnError: "); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__7() { +lean_object* _init_l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__6; +x_1 = l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__6; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__8() { +lean_object* _init_l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__7; +x_1 = l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__7; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__9() { +lean_object* _init_l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__9() { _start: { lean_object* x_1; lean_object* x_2; @@ -18114,7 +17887,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__10() { +lean_object* _init_l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__10() { _start: { lean_object* x_1; lean_object* x_2; @@ -18124,7 +17897,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep(uint8_t x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep(uint8_t x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; @@ -18134,7 +17907,7 @@ lean_inc(x_102); x_103 = lean_ctor_get(x_101, 1); lean_inc(x_103); lean_dec(x_101); -x_104 = l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__2; +x_104 = l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__2; x_105 = l_Lean_checkTraceOption(x_102, x_104); lean_dec(x_102); if (x_105 == 0) @@ -18146,21 +17919,21 @@ else { uint8_t x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; x_106 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); -x_107 = l_Lean_fmt___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__3(x_106); +x_107 = l_Lean_fmt___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__3(x_106); x_108 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_108, 0, x_107); -x_109 = l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__5; +x_109 = l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__5; x_110 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_110, 0, x_109); lean_ctor_set(x_110, 1, x_108); -x_111 = l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__8; +x_111 = l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__8; x_112 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_112, 0, x_110); lean_ctor_set(x_112, 1, x_111); if (x_1 == 0) { lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_113 = l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__9; +x_113 = l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__9; x_114 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_114, 0, x_112); lean_ctor_set(x_114, 1, x_113); @@ -18175,7 +17948,7 @@ goto block_100; else { lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; -x_118 = l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__10; +x_118 = l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__10; x_119 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_119, 0, x_112); lean_ctor_set(x_119, 1, x_118); @@ -18202,7 +17975,7 @@ x_9 = lean_box(0); lean_ctor_set(x_4, 1, x_9); x_10 = l_List_reverse___rarg(x_6); x_11 = l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__2; -x_12 = l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2(x_1, x_11, x_10, x_9, x_2, x_4); +x_12 = l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2(x_1, x_11, x_10, x_9, x_2, x_4); if (lean_obj_tag(x_12) == 0) { uint8_t x_13; @@ -18417,7 +18190,7 @@ lean_ctor_set(x_72, 4, x_67); lean_ctor_set(x_72, 5, x_68); x_73 = l_List_reverse___rarg(x_64); x_74 = l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__2; -x_75 = l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2(x_1, x_74, x_73, x_71, x_2, x_72); +x_75 = l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2(x_1, x_74, x_73, x_71, x_2, x_72); if (lean_obj_tag(x_75) == 0) { 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; uint8_t x_89; @@ -18533,33 +18306,33 @@ return x_99; } } } -lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { uint8_t x_7; lean_object* x_8; x_7 = lean_unbox(x_1); lean_dec(x_1); -x_8 = l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2(x_7, x_2, x_3, x_4, x_5, x_6); +x_8 = l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2(x_7, x_2, x_3, x_4, x_5, x_6); return x_8; } } -lean_object* l_Lean_fmt___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__3___boxed(lean_object* x_1) { +lean_object* l_Lean_fmt___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__3___boxed(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; x_2 = lean_unbox(x_1); lean_dec(x_1); -x_3 = l_Lean_fmt___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__3(x_2); +x_3 = l_Lean_fmt___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__3(x_2); return x_3; } } -lean_object* l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; lean_object* x_5; x_4 = lean_unbox(x_1); lean_dec(x_1); -x_5 = l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep(x_4, x_2, x_3); +x_5 = l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep(x_4, x_2, x_3); return x_5; } } @@ -18604,7 +18377,6 @@ uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_8 = 0; x_9 = lean_box(x_8); x_10 = lean_alloc_ctor(0, 2, 0); @@ -18655,7 +18427,6 @@ else { uint8_t x_21; lean_dec(x_4); -lean_dec(x_1); x_21 = !lean_is_exclusive(x_11); if (x_21 == 0) { @@ -18686,7 +18457,6 @@ else { uint8_t x_29; lean_dec(x_4); -lean_dec(x_1); x_29 = !lean_is_exclusive(x_11); if (x_29 == 0) { @@ -18751,7 +18521,7 @@ lean_inc(x_13); x_15 = lean_alloc_closure((void*)(l_Lean_Elab_Term_instantiateMVars___boxed), 4, 2); lean_closure_set(x_15, 0, x_13); lean_closure_set(x_15, 1, x_14); -x_16 = lean_alloc_closure((void*)(l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1), 5, 2); +x_16 = lean_alloc_closure((void*)(l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1___boxed), 5, 2); lean_closure_set(x_16, 0, x_13); lean_closure_set(x_16, 1, x_11); x_17 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Term_TermElabM_MonadLog___spec__2___rarg), 4, 2); @@ -18844,7 +18614,7 @@ lean_inc(x_32); x_34 = lean_alloc_closure((void*)(l_Lean_Elab_Term_instantiateMVars___boxed), 4, 2); lean_closure_set(x_34, 0, x_32); lean_closure_set(x_34, 1, x_33); -x_35 = lean_alloc_closure((void*)(l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1), 5, 2); +x_35 = lean_alloc_closure((void*)(l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1___boxed), 5, 2); lean_closure_set(x_35, 0, x_32); lean_closure_set(x_35, 1, x_30); x_36 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Term_TermElabM_MonadLog___spec__2___rarg), 4, 2); @@ -19145,7 +18915,16 @@ return x_53; } } } -lean_object* _init_l_List_forM___main___at___private_Init_Lean_Elab_Term_19__reportStuckSyntheticMVars___spec__1___lambda__1___closed__1() { +lean_object* l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_1); +return x_6; +} +} +lean_object* _init_l_List_forM___main___at___private_Init_Lean_Elab_Term_16__reportStuckSyntheticMVars___spec__1___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -19153,27 +18932,27 @@ x_1 = lean_mk_string("failed to create type class instance for "); return x_1; } } -lean_object* _init_l_List_forM___main___at___private_Init_Lean_Elab_Term_19__reportStuckSyntheticMVars___spec__1___lambda__1___closed__2() { +lean_object* _init_l_List_forM___main___at___private_Init_Lean_Elab_Term_16__reportStuckSyntheticMVars___spec__1___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_forM___main___at___private_Init_Lean_Elab_Term_19__reportStuckSyntheticMVars___spec__1___lambda__1___closed__1; +x_1 = l_List_forM___main___at___private_Init_Lean_Elab_Term_16__reportStuckSyntheticMVars___spec__1___lambda__1___closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l_List_forM___main___at___private_Init_Lean_Elab_Term_19__reportStuckSyntheticMVars___spec__1___lambda__1___closed__3() { +lean_object* _init_l_List_forM___main___at___private_Init_Lean_Elab_Term_16__reportStuckSyntheticMVars___spec__1___lambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_forM___main___at___private_Init_Lean_Elab_Term_19__reportStuckSyntheticMVars___spec__1___lambda__1___closed__2; +x_1 = l_List_forM___main___at___private_Init_Lean_Elab_Term_16__reportStuckSyntheticMVars___spec__1___lambda__1___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_List_forM___main___at___private_Init_Lean_Elab_Term_19__reportStuckSyntheticMVars___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_List_forM___main___at___private_Init_Lean_Elab_Term_16__reportStuckSyntheticMVars___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; @@ -19183,7 +18962,7 @@ lean_inc(x_6); x_7 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_7, 0, x_6); x_8 = l_Lean_indentExpr(x_7); -x_9 = l_List_forM___main___at___private_Init_Lean_Elab_Term_19__reportStuckSyntheticMVars___spec__1___lambda__1___closed__3; +x_9 = l_List_forM___main___at___private_Init_Lean_Elab_Term_16__reportStuckSyntheticMVars___spec__1___lambda__1___closed__3; x_10 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_10, 0, x_9); lean_ctor_set(x_10, 1, x_8); @@ -19192,7 +18971,7 @@ x_12 = l_Lean_Elab_log___at_Lean_Elab_Term_logTrace___spec__1(x_5, x_11, x_10, x return x_12; } } -lean_object* l_List_forM___main___at___private_Init_Lean_Elab_Term_19__reportStuckSyntheticMVars___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_List_forM___main___at___private_Init_Lean_Elab_Term_16__reportStuckSyntheticMVars___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) @@ -19223,7 +19002,7 @@ lean_inc(x_9); lean_inc(x_9); x_10 = lean_alloc_closure((void*)(l_Lean_Elab_Term_getMVarDecl___boxed), 3, 1); lean_closure_set(x_10, 0, x_9); -x_11 = lean_alloc_closure((void*)(l_List_forM___main___at___private_Init_Lean_Elab_Term_19__reportStuckSyntheticMVars___spec__1___lambda__1___boxed), 4, 1); +x_11 = lean_alloc_closure((void*)(l_List_forM___main___at___private_Init_Lean_Elab_Term_16__reportStuckSyntheticMVars___spec__1___lambda__1___boxed), 4, 1); lean_closure_set(x_11, 0, x_6); x_12 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Term_TermElabM_MonadLog___spec__2___rarg), 4, 2); lean_closure_set(x_12, 0, x_10); @@ -19274,7 +19053,7 @@ lean_dec(x_6); x_20 = lean_ctor_get(x_1, 1); lean_inc(x_20); lean_dec(x_1); -x_21 = l___private_Init_Lean_Elab_Term_14__resumePostponed___lambda__1___closed__1; +x_21 = l___private_Init_Lean_Elab_Term_11__resumePostponed___lambda__1___closed__1; x_22 = l_unreachable_x21___rarg(x_21); lean_inc(x_2); x_23 = lean_apply_2(x_22, x_2, x_3); @@ -19316,28 +19095,28 @@ return x_29; } } } -lean_object* l___private_Init_Lean_Elab_Term_19__reportStuckSyntheticMVars(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Lean_Elab_Term_16__reportStuckSyntheticMVars(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; x_3 = lean_ctor_get(x_2, 1); lean_inc(x_3); -x_4 = l_List_forM___main___at___private_Init_Lean_Elab_Term_19__reportStuckSyntheticMVars___spec__1(x_3, x_1, x_2); +x_4 = l_List_forM___main___at___private_Init_Lean_Elab_Term_16__reportStuckSyntheticMVars___spec__1(x_3, x_1, x_2); return x_4; } } -lean_object* l_List_forM___main___at___private_Init_Lean_Elab_Term_19__reportStuckSyntheticMVars___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_List_forM___main___at___private_Init_Lean_Elab_Term_16__reportStuckSyntheticMVars___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_List_forM___main___at___private_Init_Lean_Elab_Term_19__reportStuckSyntheticMVars___spec__1___lambda__1(x_1, x_2, x_3, x_4); +x_5 = l_List_forM___main___at___private_Init_Lean_Elab_Term_16__reportStuckSyntheticMVars___spec__1___lambda__1(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); return x_5; } } -lean_object* l___private_Init_Lean_Elab_Term_20__synthesizeSyntheticMVarsAux___main(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVarsAux___main(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; uint8_t x_6; @@ -19351,7 +19130,7 @@ if (x_6 == 0) uint8_t x_7; lean_object* x_8; x_7 = 0; lean_inc(x_3); -x_8 = l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep(x_7, x_3, x_4); +x_8 = l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep(x_7, x_3, x_4); if (lean_obj_tag(x_8) == 0) { lean_object* x_9; uint8_t x_10; @@ -19416,7 +19195,7 @@ lean_ctor_set(x_26, 9, x_25); lean_ctor_set_uint8(x_26, sizeof(void*)*10, x_7); x_27 = 1; lean_inc(x_26); -x_28 = l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep(x_27, x_26, x_15); +x_28 = l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep(x_27, x_26, x_15); if (lean_obj_tag(x_28) == 0) { lean_object* x_29; uint8_t x_30; @@ -19430,7 +19209,7 @@ lean_object* x_31; lean_object* x_32; x_31 = lean_ctor_get(x_28, 1); lean_inc(x_31); lean_dec(x_28); -x_32 = l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep(x_7, x_26, x_31); +x_32 = l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep(x_7, x_26, x_31); if (lean_obj_tag(x_32) == 0) { lean_object* x_33; uint8_t x_34; @@ -19444,7 +19223,7 @@ lean_object* x_35; lean_object* x_36; x_35 = lean_ctor_get(x_32, 1); lean_inc(x_35); lean_dec(x_32); -x_36 = l___private_Init_Lean_Elab_Term_19__reportStuckSyntheticMVars(x_3, x_35); +x_36 = l___private_Init_Lean_Elab_Term_16__reportStuckSyntheticMVars(x_3, x_35); return x_36; } else @@ -19633,31 +19412,31 @@ return x_72; } } } -lean_object* l___private_Init_Lean_Elab_Term_20__synthesizeSyntheticMVarsAux___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVarsAux___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { uint8_t x_5; lean_object* x_6; x_5 = lean_unbox(x_1); lean_dec(x_1); -x_6 = l___private_Init_Lean_Elab_Term_20__synthesizeSyntheticMVarsAux___main(x_5, x_2, x_3, x_4); +x_6 = l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVarsAux___main(x_5, x_2, x_3, x_4); return x_6; } } -lean_object* l___private_Init_Lean_Elab_Term_20__synthesizeSyntheticMVarsAux(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVarsAux(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Init_Lean_Elab_Term_20__synthesizeSyntheticMVarsAux___main(x_1, x_2, x_3, x_4); +x_5 = l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVarsAux___main(x_1, x_2, x_3, x_4); return x_5; } } -lean_object* l___private_Init_Lean_Elab_Term_20__synthesizeSyntheticMVarsAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVarsAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { uint8_t x_5; lean_object* x_6; x_5 = lean_unbox(x_1); lean_dec(x_1); -x_6 = l___private_Init_Lean_Elab_Term_20__synthesizeSyntheticMVarsAux(x_5, x_2, x_3, x_4); +x_6 = l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVarsAux(x_5, x_2, x_3, x_4); return x_6; } } @@ -19666,7 +19445,7 @@ _start: { lean_object* x_4; lean_object* x_5; x_4 = lean_box(0); -x_5 = l___private_Init_Lean_Elab_Term_20__synthesizeSyntheticMVarsAux___main(x_1, x_4, x_2, x_3); +x_5 = l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVarsAux___main(x_1, x_4, x_2, x_3); return x_5; } } @@ -20006,7 +19785,6 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_36 = !lean_is_exclusive(x_7); if (x_36 == 0) { @@ -20042,7 +19820,6 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_42 = !lean_is_exclusive(x_7); if (x_42 == 0) { @@ -20064,6 +19841,15 @@ return x_45; } } } +lean_object* l_Lean_Elab_Term_ensureHasType___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Elab_Term_ensureHasType(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_1); +return x_7; +} +} lean_object* l_Lean_Elab_Term_mkInstMVar(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -20082,7 +19868,6 @@ lean_dec(x_8); x_11 = l_Lean_Expr_mvarId_x21(x_9); lean_inc(x_3); lean_inc(x_11); -lean_inc(x_1); x_12 = l_Lean_Elab_Term_synthesizeInstMVarCore(x_1, x_11, x_3, x_10); if (lean_obj_tag(x_12) == 0) { @@ -20443,7 +20228,7 @@ x_5 = l_Lean_Elab_Term_addBuiltinTermElab(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__1() { +lean_object* _init_l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__1() { _start: { lean_object* x_1; @@ -20451,22 +20236,22 @@ x_1 = lean_mk_string("Prod.mk"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__2() { +lean_object* _init_l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__1; +x_1 = l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__3() { +lean_object* _init_l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__1; +x_1 = l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__2; +x_3 = l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__2; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -20474,7 +20259,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__4() { +lean_object* _init_l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__4() { _start: { lean_object* x_1; @@ -20482,17 +20267,17 @@ x_1 = lean_mk_string("Prod"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__5() { +lean_object* _init_l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__4; +x_2 = l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__6() { +lean_object* _init_l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__6() { _start: { lean_object* x_1; @@ -20500,41 +20285,41 @@ x_1 = lean_mk_string("mk"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__7() { +lean_object* _init_l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__5; -x_2 = l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__6; +x_1 = l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__5; +x_2 = l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__8() { +lean_object* _init_l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__7; +x_2 = l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__7; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__9() { +lean_object* _init_l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__8; +x_2 = l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__8; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l___private_Init_Lean_Elab_Term_21__mkPairsAux___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Elab_Term_18__mkPairsAux___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; uint8_t x_7; @@ -20564,10 +20349,10 @@ x_15 = lean_ctor_get(x_13, 1); lean_inc(x_15); lean_dec(x_13); x_16 = lean_box(0); -x_17 = l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__7; +x_17 = l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__7; x_18 = lean_name_mk_numeral(x_17, x_14); -x_19 = l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__3; -x_20 = l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__9; +x_19 = l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__3; +x_20 = l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__9; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_16); lean_ctor_set(x_21, 1, x_19); @@ -20575,7 +20360,7 @@ lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); x_22 = l_Array_empty___closed__1; x_23 = lean_array_push(x_22, x_21); -x_24 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_24 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_25 = lean_array_push(x_23, x_24); x_26 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_27 = lean_alloc_ctor(1, 2, 0); @@ -20599,29 +20384,29 @@ goto _start; } } } -lean_object* l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l___private_Init_Lean_Elab_Term_21__mkPairsAux___main(x_1, x_2, x_3, x_4, x_5); +x_6 = l___private_Init_Lean_Elab_Term_18__mkPairsAux___main(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_1); return x_6; } } -lean_object* l___private_Init_Lean_Elab_Term_21__mkPairsAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Elab_Term_18__mkPairsAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l___private_Init_Lean_Elab_Term_21__mkPairsAux___main(x_1, x_2, x_3, x_4, x_5); +x_6 = l___private_Init_Lean_Elab_Term_18__mkPairsAux___main(x_1, x_2, x_3, x_4, x_5); return x_6; } } -lean_object* l___private_Init_Lean_Elab_Term_21__mkPairsAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Elab_Term_18__mkPairsAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l___private_Init_Lean_Elab_Term_21__mkPairsAux(x_1, x_2, x_3, x_4, x_5); +x_6 = l___private_Init_Lean_Elab_Term_18__mkPairsAux(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_1); return x_6; @@ -20636,7 +20421,7 @@ x_5 = lean_unsigned_to_nat(1u); x_6 = lean_nat_sub(x_4, x_5); lean_dec(x_4); x_7 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__updateCache___spec__1(x_1); -x_8 = l___private_Init_Lean_Elab_Term_21__mkPairsAux___main(x_1, x_6, x_7, x_2, x_3); +x_8 = l___private_Init_Lean_Elab_Term_18__mkPairsAux___main(x_1, x_6, x_7, x_2, x_3); return x_8; } } @@ -20650,7 +20435,7 @@ lean_dec(x_1); return x_4; } } -lean_object* l___private_Init_Lean_Elab_Term_22__elabCDot(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Elab_Term_19__elabCDot(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; @@ -20830,6 +20615,7 @@ lean_object* x_7; lean_object* x_8; lean_dec(x_2); x_7 = l_Lean_Elab_Term_elabParen___closed__3; x_8 = l_Lean_Elab_Term_throwError___rarg(x_1, x_7, x_3, x_4); +lean_dec(x_1); return x_8; } else @@ -20843,7 +20629,7 @@ x_118 = l_Lean_Syntax_isOfKind(x_10, x_117); if (x_118 == 0) { uint8_t x_119; -x_119 = l___private_Init_Lean_Elab_Term_7__hasCDot___main___closed__1; +x_119 = l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; if (x_119 == 0) { uint8_t x_120; @@ -20909,6 +20695,7 @@ lean_dec(x_10); lean_dec(x_2); x_13 = l_Lean_Elab_Term_elabParen___closed__3; x_14 = l_Lean_Elab_Term_throwError___rarg(x_1, x_13, x_3, x_4); +lean_dec(x_1); return x_14; } else @@ -20949,7 +20736,7 @@ if (x_19 == 0) { uint8_t x_22; lean_dec(x_17); -x_22 = l___private_Init_Lean_Elab_Term_7__hasCDot___main___closed__1; +x_22 = l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; if (x_22 == 0) { lean_object* x_23; lean_object* x_24; @@ -20957,13 +20744,14 @@ lean_dec(x_16); lean_dec(x_2); x_23 = l_Lean_Elab_Term_elabParen___closed__3; x_24 = l_Lean_Elab_Term_throwError___rarg(x_1, x_23, x_3, x_4); +lean_dec(x_1); return x_24; } else { lean_object* x_25; lean_dec(x_1); -x_25 = l___private_Init_Lean_Elab_Term_22__elabCDot(x_16, x_2, x_3, x_4); +x_25 = l___private_Init_Lean_Elab_Term_19__elabCDot(x_16, x_2, x_3, x_4); return x_25; } } @@ -20984,13 +20772,14 @@ lean_dec(x_16); lean_dec(x_2); x_30 = l_Lean_Elab_Term_elabParen___closed__3; x_31 = l_Lean_Elab_Term_throwError___rarg(x_1, x_30, x_3, x_4); +lean_dec(x_1); return x_31; } else { lean_object* x_32; lean_dec(x_1); -x_32 = l___private_Init_Lean_Elab_Term_22__elabCDot(x_16, x_2, x_3, x_4); +x_32 = l___private_Init_Lean_Elab_Term_19__elabCDot(x_16, x_2, x_3, x_4); return x_32; } } @@ -21034,6 +20823,7 @@ lean_dec(x_16); lean_dec(x_2); x_36 = l_Lean_Elab_Term_elabParen___closed__3; x_37 = l_Lean_Elab_Term_throwError___rarg(x_1, x_36, x_3, x_4); +lean_dec(x_1); return x_37; } else @@ -21167,7 +20957,7 @@ x_83 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_83, 0, x_81); lean_inc(x_3); lean_inc(x_83); -x_84 = l___private_Init_Lean_Elab_Term_22__elabCDot(x_16, x_83, x_3, x_82); +x_84 = l___private_Init_Lean_Elab_Term_19__elabCDot(x_16, x_83, x_3, x_82); if (lean_obj_tag(x_84) == 0) { lean_object* x_85; lean_object* x_86; lean_object* x_87; @@ -21188,6 +20978,7 @@ x_89 = lean_ctor_get(x_87, 1); lean_inc(x_89); lean_dec(x_87); x_90 = l_Lean_Elab_Term_ensureHasType(x_1, x_83, x_88, x_85, x_3, x_89); +lean_dec(x_1); return x_90; } else @@ -21649,6 +21440,7 @@ lean_object* x_7; lean_object* x_8; lean_dec(x_2); x_7 = l_Lean_Elab_Term_elabArrayLit___closed__3; x_8 = l_Lean_Elab_Term_throwError___rarg(x_1, x_7, x_3, x_4); +lean_dec(x_1); return x_8; } else @@ -21676,7 +21468,7 @@ lean_ctor_set(x_20, 2, x_17); lean_ctor_set(x_20, 3, x_19); x_21 = l_Array_empty___closed__1; x_22 = lean_array_push(x_21, x_20); -x_23 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_23 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_24 = lean_array_push(x_22, x_23); x_25 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_26 = lean_alloc_ctor(1, 2, 0); @@ -21801,7 +21593,7 @@ x_5 = l_Lean_Elab_Term_addBuiltinTermElab(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l___private_Init_Lean_Elab_Term_23__resolveLocalNameAux___main(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Elab_Term_20__resolveLocalNameAux___main(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -21871,15 +21663,15 @@ return x_17; } } } -lean_object* l___private_Init_Lean_Elab_Term_23__resolveLocalNameAux(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Elab_Term_20__resolveLocalNameAux(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l___private_Init_Lean_Elab_Term_23__resolveLocalNameAux___main(x_1, x_2, x_3); +x_4 = l___private_Init_Lean_Elab_Term_20__resolveLocalNameAux___main(x_1, x_2, x_3); return x_4; } } -lean_object* l___private_Init_Lean_Elab_Term_24__resolveLocalName(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Elab_Term_21__resolveLocalName(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -21890,7 +21682,7 @@ if (x_5 == 0) lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = lean_ctor_get(x_4, 0); x_7 = lean_box(0); -x_8 = l___private_Init_Lean_Elab_Term_23__resolveLocalNameAux___main(x_6, x_1, x_7); +x_8 = l___private_Init_Lean_Elab_Term_20__resolveLocalNameAux___main(x_6, x_1, x_7); lean_ctor_set(x_4, 0, x_8); return x_4; } @@ -21903,7 +21695,7 @@ lean_inc(x_10); lean_inc(x_9); lean_dec(x_4); x_11 = lean_box(0); -x_12 = l___private_Init_Lean_Elab_Term_23__resolveLocalNameAux___main(x_9, x_1, x_11); +x_12 = l___private_Init_Lean_Elab_Term_20__resolveLocalNameAux___main(x_9, x_1, x_11); x_13 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_13, 0, x_12); lean_ctor_set(x_13, 1, x_10); @@ -21911,16 +21703,16 @@ return x_13; } } } -lean_object* l___private_Init_Lean_Elab_Term_24__resolveLocalName___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Elab_Term_21__resolveLocalName___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l___private_Init_Lean_Elab_Term_24__resolveLocalName(x_1, x_2, x_3); +x_4 = l___private_Init_Lean_Elab_Term_21__resolveLocalName(x_1, x_2, x_3); lean_dec(x_2); return x_4; } } -lean_object* l_Nat_foldMAux___main___at___private_Init_Lean_Elab_Term_25__mkFreshLevelMVars___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Nat_foldMAux___main___at___private_Init_Lean_Elab_Term_22__mkFreshLevelMVars___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; @@ -21959,32 +21751,32 @@ return x_16; } } } -lean_object* l___private_Init_Lean_Elab_Term_25__mkFreshLevelMVars(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Elab_Term_22__mkFreshLevelMVars(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; x_5 = lean_box(0); lean_inc(x_2); -x_6 = l_Nat_foldMAux___main___at___private_Init_Lean_Elab_Term_25__mkFreshLevelMVars___spec__1(x_1, x_2, x_2, x_5, x_3, x_4); +x_6 = l_Nat_foldMAux___main___at___private_Init_Lean_Elab_Term_22__mkFreshLevelMVars___spec__1(x_1, x_2, x_2, x_5, x_3, x_4); lean_dec(x_2); return x_6; } } -lean_object* l_Nat_foldMAux___main___at___private_Init_Lean_Elab_Term_25__mkFreshLevelMVars___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Nat_foldMAux___main___at___private_Init_Lean_Elab_Term_22__mkFreshLevelMVars___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_Nat_foldMAux___main___at___private_Init_Lean_Elab_Term_25__mkFreshLevelMVars___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Nat_foldMAux___main___at___private_Init_Lean_Elab_Term_22__mkFreshLevelMVars___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_2); lean_dec(x_1); return x_7; } } -lean_object* l___private_Init_Lean_Elab_Term_25__mkFreshLevelMVars___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Elab_Term_22__mkFreshLevelMVars___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Init_Lean_Elab_Term_25__mkFreshLevelMVars(x_1, x_2, x_3, x_4); +x_5 = l___private_Init_Lean_Elab_Term_22__mkFreshLevelMVars(x_1, x_2, x_3, x_4); lean_dec(x_1); return x_5; } @@ -22105,8 +21897,7 @@ lean_object* x_22; lean_object* x_23; uint8_t x_24; x_22 = lean_nat_sub(x_19, x_20); lean_dec(x_20); lean_dec(x_19); -x_23 = l___private_Init_Lean_Elab_Term_25__mkFreshLevelMVars(x_1, x_22, x_4, x_8); -lean_dec(x_1); +x_23 = l___private_Init_Lean_Elab_Term_22__mkFreshLevelMVars(x_1, x_22, x_4, x_8); x_24 = !lean_is_exclusive(x_23); if (x_24 == 0) { @@ -22147,7 +21938,16 @@ return x_34; } } } -lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_Term_26__mkConsts___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Elab_Term_mkConst___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Elab_Term_mkConst(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_1); +return x_6; +} +} +lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_Term_23__mkConsts___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { if (lean_obj_tag(x_4) == 0) @@ -22155,7 +21955,6 @@ if (lean_obj_tag(x_4) == 0) lean_object* x_7; lean_dec(x_5); lean_dec(x_2); -lean_dec(x_1); x_7 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_7, 0, x_3); lean_ctor_set(x_7, 1, x_6); @@ -22178,7 +21977,6 @@ x_12 = lean_ctor_get(x_9, 0); x_13 = lean_ctor_get(x_9, 1); lean_inc(x_5); lean_inc(x_2); -lean_inc(x_1); x_14 = l_Lean_Elab_Term_mkConst(x_1, x_12, x_2, x_5, x_6); if (lean_obj_tag(x_14) == 0) { @@ -22205,7 +22003,6 @@ lean_dec(x_11); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_18 = !lean_is_exclusive(x_14); if (x_18 == 0) { @@ -22237,7 +22034,6 @@ lean_inc(x_23); lean_dec(x_9); lean_inc(x_5); lean_inc(x_2); -lean_inc(x_1); x_25 = l_Lean_Elab_Term_mkConst(x_1, x_23, x_2, x_5, x_6); if (lean_obj_tag(x_25) == 0) { @@ -22266,7 +22062,6 @@ lean_dec(x_22); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_30 = lean_ctor_get(x_25, 0); lean_inc(x_30); x_31 = lean_ctor_get(x_25, 1); @@ -22312,7 +22107,6 @@ if (lean_is_exclusive(x_34)) { } lean_inc(x_5); lean_inc(x_2); -lean_inc(x_1); x_39 = l_Lean_Elab_Term_mkConst(x_1, x_36, x_2, x_5, x_6); if (lean_obj_tag(x_39) == 0) { @@ -22346,7 +22140,6 @@ lean_dec(x_35); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_45 = lean_ctor_get(x_39, 0); lean_inc(x_45); x_46 = lean_ctor_get(x_39, 1); @@ -22372,7 +22165,7 @@ return x_48; } } } -lean_object* l___private_Init_Lean_Elab_Term_26__mkConsts(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Elab_Term_23__mkConsts(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; @@ -22381,10 +22174,28 @@ x_7 = lean_ctor_get(x_6, 1); lean_inc(x_7); lean_dec(x_6); x_8 = lean_box(0); -x_9 = l_List_foldlM___main___at___private_Init_Lean_Elab_Term_26__mkConsts___spec__1(x_1, x_3, x_8, x_2, x_4, x_7); +x_9 = l_List_foldlM___main___at___private_Init_Lean_Elab_Term_23__mkConsts___spec__1(x_1, x_3, x_8, x_2, x_4, x_7); return x_9; } } +lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_Term_23__mkConsts___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_List_foldlM___main___at___private_Init_Lean_Elab_Term_23__mkConsts___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_1); +return x_7; +} +} +lean_object* l___private_Init_Lean_Elab_Term_23__mkConsts___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l___private_Init_Lean_Elab_Term_23__mkConsts(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_1); +return x_6; +} +} lean_object* _init_l_Lean_Elab_Term_resolveName___closed__1() { _start: { @@ -22474,7 +22285,7 @@ _start: { lean_object* x_7; lean_object* x_8; lean_inc(x_2); -x_7 = l___private_Init_Lean_Elab_Term_24__resolveLocalName(x_2, x_5, x_6); +x_7 = l___private_Init_Lean_Elab_Term_21__resolveLocalName(x_2, x_5, x_6); x_8 = lean_ctor_get(x_7, 0); lean_inc(x_8); if (lean_obj_tag(x_8) == 0) @@ -22488,7 +22299,7 @@ if (x_10 == 0) { lean_object* x_11; lean_dec(x_2); -x_11 = l___private_Init_Lean_Elab_Term_26__mkConsts(x_1, x_3, x_4, x_5, x_9); +x_11 = l___private_Init_Lean_Elab_Term_23__mkConsts(x_1, x_3, x_4, x_5, x_9); return x_11; } else @@ -22521,7 +22332,7 @@ if (x_22 == 0) { lean_object* x_23; lean_dec(x_2); -x_23 = l___private_Init_Lean_Elab_Term_26__mkConsts(x_1, x_21, x_4, x_5, x_20); +x_23 = l___private_Init_Lean_Elab_Term_23__mkConsts(x_1, x_21, x_4, x_5, x_20); return x_23; } else @@ -22630,7 +22441,6 @@ else lean_object* x_57; lean_object* x_58; lean_dec(x_41); lean_dec(x_5); -lean_dec(x_1); x_57 = lean_box(0); x_58 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_58, 0, x_37); @@ -22696,7 +22506,6 @@ else lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_dec(x_60); lean_dec(x_5); -lean_dec(x_1); x_76 = lean_box(0); x_77 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_77, 0, x_37); @@ -22710,6 +22519,15 @@ return x_78; } } } +lean_object* l_Lean_Elab_Term_resolveName___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Elab_Term_resolveName(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_1); +return x_7; +} +} lean_object* _init_l_Lean_Elab_Term_elabBadCDot___closed__1() { _start: { @@ -22753,6 +22571,7 @@ _start: lean_object* x_5; x_5 = l_Lean_Elab_Term_elabBadCDot(x_1, x_2, x_3, x_4); lean_dec(x_2); +lean_dec(x_1); return x_5; } } @@ -22840,7 +22659,6 @@ else { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_dec(x_3); -lean_dec(x_1); x_10 = lean_ctor_get(x_7, 0); lean_inc(x_10); lean_dec(x_7); @@ -22858,6 +22676,7 @@ _start: lean_object* x_5; x_5 = l_Lean_Elab_Term_elabStr(x_1, x_2, x_3, x_4); lean_dec(x_2); +lean_dec(x_1); return x_5; } } @@ -22959,6 +22778,7 @@ lean_object* x_66; lean_object* x_67; uint8_t x_68; lean_dec(x_2); x_66 = l_Lean_Elab_Term_elabStr___closed__3; x_67 = l_Lean_Elab_Term_throwError___rarg(x_1, x_66, x_3, x_4); +lean_dec(x_1); x_68 = !lean_is_exclusive(x_67); if (x_68 == 0) { @@ -23078,7 +22898,6 @@ x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); lean_dec(x_15); lean_inc(x_3); -lean_inc(x_1); x_18 = l_Lean_Elab_Term_decLevel(x_1, x_16, x_3, x_17); if (lean_obj_tag(x_18) == 0) { @@ -23305,7 +23124,6 @@ else { lean_object* x_10; uint32_t 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_3); -lean_dec(x_1); x_10 = lean_ctor_get(x_7, 0); lean_inc(x_10); lean_dec(x_7); @@ -23328,6 +23146,7 @@ _start: lean_object* x_5; x_5 = l_Lean_Elab_Term_elabChar(x_1, x_2, x_3, x_4); lean_dec(x_2); +lean_dec(x_1); return x_5; } } @@ -23368,11 +23187,11 @@ x_5 = l_Lean_Elab_Term_addBuiltinTermElab(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l___private_Init_Lean_Elab_Term_27__regTraceClasses(lean_object* x_1) { +lean_object* l___private_Init_Lean_Elab_Term_24__regTraceClasses(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l___private_Init_Lean_Elab_Term_11__postponeElabTerm___closed__2; +x_2 = l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__2; x_3 = l_Lean_registerTraceClass(x_2, x_1); if (lean_obj_tag(x_3) == 0) { @@ -23501,12 +23320,6 @@ l_Lean_Elab_Term_TermElabM_MonadLog___closed__11 = _init_l_Lean_Elab_Term_TermEl lean_mark_persistent(l_Lean_Elab_Term_TermElabM_MonadLog___closed__11); l_Lean_Elab_Term_TermElabM_MonadLog = _init_l_Lean_Elab_Term_TermElabM_MonadLog(); lean_mark_persistent(l_Lean_Elab_Term_TermElabM_MonadLog); -l_List_foldlM___main___at___private_Init_Lean_Elab_Term_3__addMacroStack___spec__1___closed__1 = _init_l_List_foldlM___main___at___private_Init_Lean_Elab_Term_3__addMacroStack___spec__1___closed__1(); -lean_mark_persistent(l_List_foldlM___main___at___private_Init_Lean_Elab_Term_3__addMacroStack___spec__1___closed__1); -l_List_foldlM___main___at___private_Init_Lean_Elab_Term_3__addMacroStack___spec__1___closed__2 = _init_l_List_foldlM___main___at___private_Init_Lean_Elab_Term_3__addMacroStack___spec__1___closed__2(); -lean_mark_persistent(l_List_foldlM___main___at___private_Init_Lean_Elab_Term_3__addMacroStack___spec__1___closed__2); -l_List_foldlM___main___at___private_Init_Lean_Elab_Term_3__addMacroStack___spec__1___closed__3 = _init_l_List_foldlM___main___at___private_Init_Lean_Elab_Term_3__addMacroStack___spec__1___closed__3(); -lean_mark_persistent(l_List_foldlM___main___at___private_Init_Lean_Elab_Term_3__addMacroStack___spec__1___closed__3); l_Lean_Elab_Term_throwUnsupportedSyntax___rarg___closed__1 = _init_l_Lean_Elab_Term_throwUnsupportedSyntax___rarg___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_throwUnsupportedSyntax___rarg___closed__1); l_Lean_Elab_Term_withIncRecDepth___rarg___closed__1 = _init_l_Lean_Elab_Term_withIncRecDepth___rarg___closed__1(); @@ -23640,41 +23453,41 @@ l_Lean_Elab_Term_mkFreshInstanceName___rarg___closed__1 = _init_l_Lean_Elab_Term lean_mark_persistent(l_Lean_Elab_Term_mkFreshInstanceName___rarg___closed__1); l_Lean_Elab_Term_mkFreshInstanceName___rarg___closed__2 = _init_l_Lean_Elab_Term_mkFreshInstanceName___rarg___closed__2(); lean_mark_persistent(l_Lean_Elab_Term_mkFreshInstanceName___rarg___closed__2); -l___private_Init_Lean_Elab_Term_7__hasCDot___main___closed__1 = _init_l___private_Init_Lean_Elab_Term_7__hasCDot___main___closed__1(); -l___private_Init_Lean_Elab_Term_8__expandCDot___closed__1 = _init_l___private_Init_Lean_Elab_Term_8__expandCDot___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_8__expandCDot___closed__1); -l___private_Init_Lean_Elab_Term_8__expandCDot___closed__2 = _init_l___private_Init_Lean_Elab_Term_8__expandCDot___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_8__expandCDot___closed__2); -l___private_Init_Lean_Elab_Term_8__expandCDot___closed__3 = _init_l___private_Init_Lean_Elab_Term_8__expandCDot___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_8__expandCDot___closed__3); -l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4 = _init_l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4); +l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1 = _init_l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1(); +l___private_Init_Lean_Elab_Term_5__expandCDot___closed__1 = _init_l___private_Init_Lean_Elab_Term_5__expandCDot___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_5__expandCDot___closed__1); +l___private_Init_Lean_Elab_Term_5__expandCDot___closed__2 = _init_l___private_Init_Lean_Elab_Term_5__expandCDot___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_5__expandCDot___closed__2); +l___private_Init_Lean_Elab_Term_5__expandCDot___closed__3 = _init_l___private_Init_Lean_Elab_Term_5__expandCDot___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_5__expandCDot___closed__3); +l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4 = _init_l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4); l_Lean_Elab_Term_expandCDot_x3f___closed__1 = _init_l_Lean_Elab_Term_expandCDot_x3f___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_expandCDot_x3f___closed__1); l_Lean_Elab_Term_expandCDot_x3f___closed__2 = _init_l_Lean_Elab_Term_expandCDot_x3f___closed__2(); lean_mark_persistent(l_Lean_Elab_Term_expandCDot_x3f___closed__2); l_Lean_Elab_Term_expandCDot_x3f___closed__3 = _init_l_Lean_Elab_Term_expandCDot_x3f___closed__3(); lean_mark_persistent(l_Lean_Elab_Term_expandCDot_x3f___closed__3); -l___private_Init_Lean_Elab_Term_10__exceptionToSorry___closed__1 = _init_l___private_Init_Lean_Elab_Term_10__exceptionToSorry___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_10__exceptionToSorry___closed__1); -l___private_Init_Lean_Elab_Term_10__exceptionToSorry___closed__2 = _init_l___private_Init_Lean_Elab_Term_10__exceptionToSorry___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_10__exceptionToSorry___closed__2); -l___private_Init_Lean_Elab_Term_10__exceptionToSorry___closed__3 = _init_l___private_Init_Lean_Elab_Term_10__exceptionToSorry___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_10__exceptionToSorry___closed__3); -l___private_Init_Lean_Elab_Term_11__postponeElabTerm___closed__1 = _init_l___private_Init_Lean_Elab_Term_11__postponeElabTerm___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_11__postponeElabTerm___closed__1); -l___private_Init_Lean_Elab_Term_11__postponeElabTerm___closed__2 = _init_l___private_Init_Lean_Elab_Term_11__postponeElabTerm___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_11__postponeElabTerm___closed__2); -l___private_Init_Lean_Elab_Term_11__postponeElabTerm___closed__3 = _init_l___private_Init_Lean_Elab_Term_11__postponeElabTerm___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_11__postponeElabTerm___closed__3); -l___private_Init_Lean_Elab_Term_11__postponeElabTerm___closed__4 = _init_l___private_Init_Lean_Elab_Term_11__postponeElabTerm___closed__4(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_11__postponeElabTerm___closed__4); -l___private_Init_Lean_Elab_Term_12__elabTermUsing___main___closed__1 = _init_l___private_Init_Lean_Elab_Term_12__elabTermUsing___main___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_12__elabTermUsing___main___closed__1); -l___private_Init_Lean_Elab_Term_12__elabTermUsing___main___closed__2 = _init_l___private_Init_Lean_Elab_Term_12__elabTermUsing___main___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_12__elabTermUsing___main___closed__2); -l___private_Init_Lean_Elab_Term_12__elabTermUsing___main___closed__3 = _init_l___private_Init_Lean_Elab_Term_12__elabTermUsing___main___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_12__elabTermUsing___main___closed__3); +l___private_Init_Lean_Elab_Term_7__exceptionToSorry___closed__1 = _init_l___private_Init_Lean_Elab_Term_7__exceptionToSorry___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_7__exceptionToSorry___closed__1); +l___private_Init_Lean_Elab_Term_7__exceptionToSorry___closed__2 = _init_l___private_Init_Lean_Elab_Term_7__exceptionToSorry___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_7__exceptionToSorry___closed__2); +l___private_Init_Lean_Elab_Term_7__exceptionToSorry___closed__3 = _init_l___private_Init_Lean_Elab_Term_7__exceptionToSorry___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_7__exceptionToSorry___closed__3); +l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__1 = _init_l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__1); +l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__2 = _init_l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__2); +l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__3 = _init_l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__3); +l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__4 = _init_l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__4(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__4); +l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__1 = _init_l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__1); +l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__2 = _init_l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__2); +l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__3 = _init_l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__3); l_Lean_Elab_Term_elabTermAux___main___closed__1 = _init_l_Lean_Elab_Term_elabTermAux___main___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_elabTermAux___main___closed__1); l_Lean_Elab_Term_elabTermAux___main___closed__2 = _init_l_Lean_Elab_Term_elabTermAux___main___closed__2(); @@ -23691,10 +23504,10 @@ l_Lean_Elab_Term_ensureType___closed__1 = _init_l_Lean_Elab_Term_ensureType___cl lean_mark_persistent(l_Lean_Elab_Term_ensureType___closed__1); l_Lean_Elab_Term_ensureType___closed__2 = _init_l_Lean_Elab_Term_ensureType___closed__2(); lean_mark_persistent(l_Lean_Elab_Term_ensureType___closed__2); -l___private_Init_Lean_Elab_Term_14__resumePostponed___lambda__1___closed__1 = _init_l___private_Init_Lean_Elab_Term_14__resumePostponed___lambda__1___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_14__resumePostponed___lambda__1___closed__1); -l___private_Init_Lean_Elab_Term_14__resumePostponed___closed__1 = _init_l___private_Init_Lean_Elab_Term_14__resumePostponed___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_14__resumePostponed___closed__1); +l___private_Init_Lean_Elab_Term_11__resumePostponed___lambda__1___closed__1 = _init_l___private_Init_Lean_Elab_Term_11__resumePostponed___lambda__1___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_11__resumePostponed___lambda__1___closed__1); +l___private_Init_Lean_Elab_Term_11__resumePostponed___closed__1 = _init_l___private_Init_Lean_Elab_Term_11__resumePostponed___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_11__resumePostponed___closed__1); l_Lean_Elab_Term_synthesizeInstMVarCore___closed__1 = _init_l_Lean_Elab_Term_synthesizeInstMVarCore___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_synthesizeInstMVarCore___closed__1); l_Lean_Elab_Term_synthesizeInstMVarCore___closed__2 = _init_l_Lean_Elab_Term_synthesizeInstMVarCore___closed__2(); @@ -23721,62 +23534,62 @@ l_Lean_Elab_Term_synthesizeInstMVarCore___closed__12 = _init_l_Lean_Elab_Term_sy lean_mark_persistent(l_Lean_Elab_Term_synthesizeInstMVarCore___closed__12); l_Lean_Elab_Term_synthesizeInstMVarCore___closed__13 = _init_l_Lean_Elab_Term_synthesizeInstMVarCore___closed__13(); lean_mark_persistent(l_Lean_Elab_Term_synthesizeInstMVarCore___closed__13); -l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVar___closed__1 = _init_l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVar___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVar___closed__1); -l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVar___closed__2 = _init_l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVar___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVar___closed__2); -l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVar___closed__3 = _init_l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVar___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVar___closed__3); -l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__1 = _init_l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__1(); -lean_mark_persistent(l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__1); -l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__2 = _init_l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__2(); -lean_mark_persistent(l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__2); -l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__3 = _init_l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__3(); -lean_mark_persistent(l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__3); -l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__4 = _init_l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__4(); -lean_mark_persistent(l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__4); -l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__5 = _init_l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__5(); -lean_mark_persistent(l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__5); -l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__6 = _init_l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__6(); -lean_mark_persistent(l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__6); -l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__7 = _init_l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__7(); -lean_mark_persistent(l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__7); -l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__8 = _init_l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__8(); -lean_mark_persistent(l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__8); -l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__9 = _init_l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__9(); -lean_mark_persistent(l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___spec__2___closed__9); -l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__1 = _init_l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__1); -l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__2 = _init_l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__2); -l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__3 = _init_l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__3); -l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__4 = _init_l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__4(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__4); -l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__5 = _init_l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__5(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__5); -l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__6 = _init_l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__6(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__6); -l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__7 = _init_l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__7(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__7); -l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__8 = _init_l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__8(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__8); -l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__9 = _init_l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__9(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__9); -l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__10 = _init_l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__10(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_18__synthesizeSyntheticMVarsStep___closed__10); +l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVar___closed__1 = _init_l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVar___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVar___closed__1); +l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVar___closed__2 = _init_l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVar___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVar___closed__2); +l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVar___closed__3 = _init_l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVar___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVar___closed__3); +l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__1 = _init_l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__1(); +lean_mark_persistent(l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__1); +l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__2 = _init_l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__2(); +lean_mark_persistent(l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__2); +l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__3 = _init_l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__3(); +lean_mark_persistent(l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__3); +l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__4 = _init_l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__4(); +lean_mark_persistent(l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__4); +l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__5 = _init_l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__5(); +lean_mark_persistent(l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__5); +l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__6 = _init_l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__6(); +lean_mark_persistent(l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__6); +l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__7 = _init_l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__7(); +lean_mark_persistent(l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__7); +l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__8 = _init_l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__8(); +lean_mark_persistent(l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__8); +l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__9 = _init_l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__9(); +lean_mark_persistent(l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___spec__2___closed__9); +l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__1 = _init_l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__1); +l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__2 = _init_l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__2); +l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__3 = _init_l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__3); +l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__4 = _init_l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__4(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__4); +l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__5 = _init_l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__5(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__5); +l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__6 = _init_l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__6(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__6); +l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__7 = _init_l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__7(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__7); +l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__8 = _init_l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__8(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__8); +l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__9 = _init_l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__9(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__9); +l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__10 = _init_l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__10(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_15__synthesizeSyntheticMVarsStep___closed__10); l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1___closed__1 = _init_l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1___closed__1(); lean_mark_persistent(l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1___closed__1); l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1___closed__2 = _init_l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1___closed__2(); lean_mark_persistent(l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1___closed__2); l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1___closed__3 = _init_l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1___closed__3(); lean_mark_persistent(l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1___closed__3); -l_List_forM___main___at___private_Init_Lean_Elab_Term_19__reportStuckSyntheticMVars___spec__1___lambda__1___closed__1 = _init_l_List_forM___main___at___private_Init_Lean_Elab_Term_19__reportStuckSyntheticMVars___spec__1___lambda__1___closed__1(); -lean_mark_persistent(l_List_forM___main___at___private_Init_Lean_Elab_Term_19__reportStuckSyntheticMVars___spec__1___lambda__1___closed__1); -l_List_forM___main___at___private_Init_Lean_Elab_Term_19__reportStuckSyntheticMVars___spec__1___lambda__1___closed__2 = _init_l_List_forM___main___at___private_Init_Lean_Elab_Term_19__reportStuckSyntheticMVars___spec__1___lambda__1___closed__2(); -lean_mark_persistent(l_List_forM___main___at___private_Init_Lean_Elab_Term_19__reportStuckSyntheticMVars___spec__1___lambda__1___closed__2); -l_List_forM___main___at___private_Init_Lean_Elab_Term_19__reportStuckSyntheticMVars___spec__1___lambda__1___closed__3 = _init_l_List_forM___main___at___private_Init_Lean_Elab_Term_19__reportStuckSyntheticMVars___spec__1___lambda__1___closed__3(); -lean_mark_persistent(l_List_forM___main___at___private_Init_Lean_Elab_Term_19__reportStuckSyntheticMVars___spec__1___lambda__1___closed__3); +l_List_forM___main___at___private_Init_Lean_Elab_Term_16__reportStuckSyntheticMVars___spec__1___lambda__1___closed__1 = _init_l_List_forM___main___at___private_Init_Lean_Elab_Term_16__reportStuckSyntheticMVars___spec__1___lambda__1___closed__1(); +lean_mark_persistent(l_List_forM___main___at___private_Init_Lean_Elab_Term_16__reportStuckSyntheticMVars___spec__1___lambda__1___closed__1); +l_List_forM___main___at___private_Init_Lean_Elab_Term_16__reportStuckSyntheticMVars___spec__1___lambda__1___closed__2 = _init_l_List_forM___main___at___private_Init_Lean_Elab_Term_16__reportStuckSyntheticMVars___spec__1___lambda__1___closed__2(); +lean_mark_persistent(l_List_forM___main___at___private_Init_Lean_Elab_Term_16__reportStuckSyntheticMVars___spec__1___lambda__1___closed__2); +l_List_forM___main___at___private_Init_Lean_Elab_Term_16__reportStuckSyntheticMVars___spec__1___lambda__1___closed__3 = _init_l_List_forM___main___at___private_Init_Lean_Elab_Term_16__reportStuckSyntheticMVars___spec__1___lambda__1___closed__3(); +lean_mark_persistent(l_List_forM___main___at___private_Init_Lean_Elab_Term_16__reportStuckSyntheticMVars___spec__1___lambda__1___closed__3); l_Lean_Elab_Term_ensureHasType___closed__1 = _init_l_Lean_Elab_Term_ensureHasType___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_ensureHasType___closed__1); l_Lean_Elab_Term_ensureHasType___closed__2 = _init_l_Lean_Elab_Term_ensureHasType___closed__2(); @@ -23821,24 +23634,24 @@ lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabHole___closed__3) res = l___regBuiltinTermElab_Lean_Elab_Term_elabHole(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__1 = _init_l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__1); -l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__2 = _init_l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__2); -l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__3 = _init_l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__3); -l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__4 = _init_l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__4(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__4); -l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__5 = _init_l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__5(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__5); -l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__6 = _init_l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__6(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__6); -l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__7 = _init_l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__7(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__7); -l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__8 = _init_l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__8(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__8); -l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__9 = _init_l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__9(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_21__mkPairsAux___main___closed__9); +l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__1 = _init_l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__1); +l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__2 = _init_l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__2); +l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__3 = _init_l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__3); +l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__4 = _init_l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__4(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__4); +l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__5 = _init_l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__5(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__5); +l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__6 = _init_l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__6(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__6); +l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__7 = _init_l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__7(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__7); +l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__8 = _init_l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__8(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__8); +l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__9 = _init_l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__9(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_18__mkPairsAux___main___closed__9); l_Lean_Elab_Term_elabParen___closed__1 = _init_l_Lean_Elab_Term_elabParen___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_elabParen___closed__1); l_Lean_Elab_Term_elabParen___closed__2 = _init_l_Lean_Elab_Term_elabParen___closed__2(); @@ -24012,7 +23825,7 @@ lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabChar___closed__3) res = l___regBuiltinTermElab_Lean_Elab_Term_elabChar(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = l___private_Init_Lean_Elab_Term_27__regTraceClasses(lean_io_mk_world()); +res = l___private_Init_Lean_Elab_Term_24__regTraceClasses(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_mk_io_result(lean_box(0)); diff --git a/stage0/stdlib/Init/Lean/Elab/TermApp.c b/stage0/stdlib/Init/Lean/Elab/TermApp.c index a507b2f6ba..43ee619154 100644 --- a/stage0/stdlib/Init/Lean/Elab/TermApp.c +++ b/stage0/stdlib/Init/Lean/Elab/TermApp.c @@ -72,6 +72,7 @@ lean_object* l_Lean_Elab_Term_NamedArg_hasToString(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___private_Init_Lean_Elab_TermApp_3__elabArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermApp_16__toMessageData___closed__1; lean_object* l_Lean_Expr_getOptParamDefault_x3f(lean_object*); lean_object* l___private_Init_Lean_Elab_TermApp_7__resolveLValAux___closed__20; @@ -92,6 +93,7 @@ lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_TermApp_14__elab lean_object* l___private_Init_Lean_Elab_TermApp_7__resolveLValAux___closed__14; extern lean_object* l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; lean_object* l___private_Init_Lean_Elab_TermApp_16__toMessageData___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_TermApp_8__resolveLValLoop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_NamedArg_inhabited; extern lean_object* l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__2; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabId___closed__3; @@ -119,6 +121,7 @@ extern lean_object* l_Lean_Syntax_getKind___closed__4; lean_object* l___private_Init_Lean_Elab_TermApp_3__elabArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_mkProj(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_TermApp_8__resolveLValLoop___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabArrayRef(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermApp_19__expandApp___main(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermApp_12__elabAppLValsAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -139,7 +142,6 @@ lean_object* l_Lean_Elab_Term_elabId(lean_object*, lean_object*, lean_object*, l lean_object* l_Lean_Name_append___main(lean_object*, lean_object*); lean_object* l_Array_shrink___main___rarg(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermApp_11__addLValArg___main___closed__2; -extern lean_object* l___private_Init_Lean_Elab_Term_14__resumePostponed___lambda__1___closed__1; lean_object* l___private_Init_Lean_Elab_TermApp_7__resolveLValAux___closed__26; lean_object* l___private_Init_Lean_Elab_TermApp_17__mergeFailures___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabChoice___closed__1; @@ -151,6 +153,7 @@ extern lean_object* l_Lean_Elab_Term_mkConst___closed__4; lean_object* l___private_Init_Lean_Elab_TermApp_13__elabAppLVals___closed__3; lean_object* l___private_Init_Lean_Elab_TermApp_4__elabAppArgsAux___main(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermApp_11__addLValArg___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_TermApp_2__ensureArgType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___main___at___private_Init_Lean_Elab_TermApp_14__elabAppFn___main___spec__4(lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabArrayRef___closed__2; lean_object* l_Lean_Elab_Term_NamedArg_inhabited___closed__1; @@ -168,6 +171,7 @@ lean_object* lean_name_mk_string(lean_object*, lean_object*); extern lean_object* l_Lean_choiceKind; lean_object* l_Lean_Elab_Term_throwError___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermApp_7__resolveLValAux___closed__12; +extern lean_object* l___private_Init_Lean_Elab_Term_11__resumePostponed___lambda__1___closed__1; lean_object* l_Lean_Elab_Term_resolveName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getStructureFields(lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabSortApp___closed__1; @@ -235,8 +239,8 @@ lean_object* l_Array_forMAux___main___at___private_Init_Lean_Elab_TermApp_1__syn lean_object* l___private_Init_Lean_Elab_TermApp_16__toMessageData___closed__2; lean_object* l_Lean_Elab_Term_elabSortApp(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermApp_4__elabAppArgsAux___main___closed__3; -extern uint8_t l___private_Init_Lean_Elab_Term_7__hasCDot___main___closed__1; lean_object* l_Lean_mkApp(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_TermApp_9__resolveLVal___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabExplicit___closed__3; lean_object* l___private_Init_Lean_Elab_TermApp_9__resolveLVal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabProj___closed__2; @@ -245,10 +249,12 @@ uint8_t l_Lean_BinderInfo_isExplicit(uint8_t); lean_object* l_Lean_Elab_Term_registerSyntheticMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_TermApp_6__throwLValError___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabChoice(lean_object*); lean_object* l_Lean_Elab_getPos___at_Lean_Elab_Term_throwError___spec__2(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_app___elambda__1___closed__2; +lean_object* l___private_Init_Lean_Elab_TermApp_7__resolveLValAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermApp_7__resolveLValAux___closed__2; lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_TermApp_14__elabAppFn___main___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermApp_7__resolveLValAux___closed__9; @@ -278,6 +284,7 @@ lean_object* l_Lean_Expr_consumeMData___main(lean_object*); lean_object* l_Lean_Elab_Term_addNamedArg___closed__1; lean_object* l___private_Init_Lean_Elab_TermApp_4__elabAppArgsAux___main___closed__4; lean_object* l_Array_toList___rarg(lean_object*); +lean_object* l_Lean_Elab_Term_addNamedArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermApp_18__elabAppAux___closed__2; lean_object* l_Lean_Elab_Term_addBuiltinTermElab(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabApp___closed__2; @@ -288,6 +295,7 @@ lean_object* l_Lean_Elab_Term_Arg_inhabited___closed__1; lean_object* l___private_Init_Lean_Elab_TermApp_7__resolveLValAux___closed__6; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabApp___closed__1; lean_object* l___private_Init_Lean_Elab_TermApp_17__mergeFailures___rarg___closed__2; +lean_object* l___private_Init_Lean_Elab_TermApp_17__mergeFailures___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermApp_11__addLValArg___main___closed__9; lean_object* l___private_Init_Lean_Elab_TermApp_10__mkBaseProjections___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryEnsureHasType_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -316,6 +324,7 @@ lean_object* l___private_Init_Lean_Elab_TermApp_12__elabAppLValsAux___main___box lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabSortApp(lean_object*); lean_object* l___private_Init_Lean_Elab_TermApp_1__synthesizeAppInstMVars(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermApp_7__resolveLValAux___closed__22; +extern uint8_t l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; lean_object* l_List_map___main___at___private_Init_Lean_Elab_TermApp_14__elabAppFn___main___spec__1(lean_object*); lean_object* l_Array_insertAt___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_findField_x3f___main(lean_object*, lean_object*, lean_object*); @@ -555,7 +564,6 @@ if (x_8 == 0) { lean_object* x_9; lean_object* x_10; lean_dec(x_4); -lean_dec(x_1); x_9 = lean_array_push(x_2, x_3); x_10 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_10, 0, x_9); @@ -618,6 +626,15 @@ x_7 = lean_box(x_6); return x_7; } } +lean_object* l_Lean_Elab_Term_addNamedArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Elab_Term_addNamedArg(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_1); +return x_6; +} +} lean_object* l_Array_forMAux___main___at___private_Init_Lean_Elab_TermApp_1__synthesizeAppInstMVars___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -643,7 +660,6 @@ lean_object* x_10; lean_object* x_11; x_10 = lean_array_fget(x_2, x_3); lean_inc(x_4); lean_inc(x_10); -lean_inc(x_1); x_11 = l_Lean_Elab_Term_synthesizeInstMVarCore(x_1, x_10, x_4, x_5); if (lean_obj_tag(x_11) == 0) { @@ -812,7 +828,6 @@ uint8_t x_29; lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_29 = !lean_is_exclusive(x_11); if (x_29 == 0) { @@ -847,7 +862,6 @@ uint8_t x_35; lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_35 = !lean_is_exclusive(x_11); if (x_35 == 0) { @@ -875,7 +889,6 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_39 = !lean_is_exclusive(x_7); if (x_39 == 0) { @@ -897,6 +910,15 @@ return x_42; } } } +lean_object* l___private_Init_Lean_Elab_TermApp_2__ensureArgType___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l___private_Init_Lean_Elab_TermApp_2__ensureArgType(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_1); +return x_7; +} +} lean_object* l___private_Init_Lean_Elab_TermApp_3__elabArg(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: { @@ -929,7 +951,6 @@ uint8_t x_14; lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -lean_dec(x_1); x_14 = !lean_is_exclusive(x_10); if (x_14 == 0) { @@ -961,6 +982,15 @@ return x_19; } } } +lean_object* l___private_Init_Lean_Elab_TermApp_3__elabArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l___private_Init_Lean_Elab_TermApp_3__elabArg(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_1); +return x_7; +} +} lean_object* l_Array_findIdxAux___main___at___private_Init_Lean_Elab_TermApp_4__elabAppArgsAux___main___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -1260,6 +1290,7 @@ x_85 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_85, 0, x_77); lean_ctor_set(x_85, 1, x_84); x_86 = l_Lean_Elab_Term_throwError___rarg(x_1, x_85, x_10, x_14); +lean_dec(x_1); return x_86; } else @@ -1268,7 +1299,6 @@ lean_object* x_87; lean_dec(x_41); lean_dec(x_6); lean_inc(x_10); -lean_inc(x_1); x_87 = l_Lean_Elab_Term_ensureHasType(x_1, x_3, x_8, x_9, x_10, x_14); if (lean_obj_tag(x_87) == 0) { @@ -1380,7 +1410,6 @@ lean_dec(x_8); x_107 = lean_array_fget(x_2, x_5); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_1); x_108 = l___private_Init_Lean_Elab_TermApp_3__elabArg(x_1, x_9, x_107, x_42, x_10, x_14); if (lean_obj_tag(x_108) == 0) { @@ -1485,6 +1514,7 @@ x_136 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_136, 0, x_128); lean_ctor_set(x_136, 1, x_135); x_137 = l_Lean_Elab_Term_throwError___rarg(x_1, x_136, x_10, x_14); +lean_dec(x_1); return x_137; } else @@ -1493,7 +1523,6 @@ lean_object* x_138; lean_dec(x_41); lean_dec(x_6); lean_inc(x_10); -lean_inc(x_1); x_138 = l_Lean_Elab_Term_ensureHasType(x_1, x_3, x_8, x_9, x_10, x_14); if (lean_obj_tag(x_138) == 0) { @@ -1605,7 +1634,6 @@ lean_dec(x_8); x_158 = lean_array_fget(x_2, x_5); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_1); x_159 = l___private_Init_Lean_Elab_TermApp_3__elabArg(x_1, x_9, x_158, x_42, x_10, x_14); if (lean_obj_tag(x_159) == 0) { @@ -1677,7 +1705,6 @@ lean_inc(x_175); lean_dec(x_173); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_1); x_176 = l___private_Init_Lean_Elab_TermApp_3__elabArg(x_1, x_9, x_175, x_42, x_10, x_14); if (lean_obj_tag(x_176) == 0) { @@ -1752,6 +1779,7 @@ lean_dec(x_5); lean_dec(x_3); x_17 = l___private_Init_Lean_Elab_TermApp_4__elabAppArgsAux___main___closed__3; x_18 = l_Lean_Elab_Term_throwError___rarg(x_1, x_17, x_10, x_14); +lean_dec(x_1); return x_18; } else @@ -1770,13 +1798,13 @@ lean_dec(x_7); lean_dec(x_3); x_21 = l___private_Init_Lean_Elab_TermApp_4__elabAppArgsAux___main___closed__3; x_22 = l_Lean_Elab_Term_throwError___rarg(x_1, x_21, x_10, x_14); +lean_dec(x_1); return x_22; } else { lean_object* x_23; lean_inc(x_10); -lean_inc(x_1); x_23 = l_Lean_Elab_Term_ensureHasType(x_1, x_3, x_8, x_9, x_10, x_14); if (lean_obj_tag(x_23) == 0) { @@ -2073,10 +2101,19 @@ lean_object* l___private_Init_Lean_Elab_TermApp_6__throwLValError(lean_object* x _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_TermApp_6__throwLValError___rarg), 6, 0); +x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_TermApp_6__throwLValError___rarg___boxed), 6, 0); return x_2; } } +lean_object* l___private_Init_Lean_Elab_TermApp_6__throwLValError___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) { +_start: +{ +lean_object* x_7; +x_7 = l___private_Init_Lean_Elab_TermApp_6__throwLValError___rarg(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_1); +return x_7; +} +} lean_object* _init_l___private_Init_Lean_Elab_TermApp_7__resolveLValAux___closed__1() { _start: { @@ -2450,7 +2487,6 @@ lean_dec(x_26); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); lean_inc(x_14); x_36 = l_Lean_isStructure(x_19, x_14); if (x_36 == 0) @@ -2607,7 +2643,6 @@ lean_dec(x_57); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_87 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_87, 0, x_56); lean_ctor_set(x_87, 1, x_65); @@ -2667,7 +2702,6 @@ lean_dec(x_57); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_104 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_104, 0, x_56); lean_ctor_set(x_104, 1, x_65); @@ -2683,7 +2717,6 @@ lean_dec(x_57); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_105 = l_Lean_LocalDecl_toExpr(x_88); lean_dec(x_88); x_106 = lean_alloc_ctor(3, 3, 0); @@ -2745,7 +2778,6 @@ lean_dec(x_57); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_122 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_122, 0, x_56); lean_ctor_set(x_122, 1, x_65); @@ -2806,7 +2838,6 @@ lean_dec(x_57); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_140 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_140, 0, x_56); lean_ctor_set(x_140, 1, x_65); @@ -2824,7 +2855,6 @@ lean_dec(x_57); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_142 = l_Lean_LocalDecl_toExpr(x_124); lean_dec(x_124); x_143 = lean_alloc_ctor(3, 3, 0); @@ -2912,7 +2942,6 @@ lean_dec(x_57); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_170 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_170, 0, x_56); lean_ctor_set(x_170, 1, x_148); @@ -2972,7 +3001,6 @@ lean_dec(x_57); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_187 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_187, 0, x_56); lean_ctor_set(x_187, 1, x_148); @@ -2988,7 +3016,6 @@ lean_dec(x_57); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_188 = l_Lean_LocalDecl_toExpr(x_171); lean_dec(x_171); x_189 = lean_alloc_ctor(3, 3, 0); @@ -3050,7 +3077,6 @@ lean_dec(x_57); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_205 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_205, 0, x_56); lean_ctor_set(x_205, 1, x_148); @@ -3111,7 +3137,6 @@ lean_dec(x_57); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_223 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_223, 0, x_56); lean_ctor_set(x_223, 1, x_148); @@ -3129,7 +3154,6 @@ lean_dec(x_57); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_225 = l_Lean_LocalDecl_toExpr(x_207); lean_dec(x_207); x_226 = lean_alloc_ctor(3, 3, 0); @@ -3152,7 +3176,6 @@ lean_dec(x_57); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_228 = lean_ctor_get(x_147, 0); lean_inc(x_228); lean_dec(x_147); @@ -3248,7 +3271,6 @@ lean_dec(x_57); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_257 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_257, 0, x_56); lean_ctor_set(x_257, 1, x_235); @@ -3314,7 +3336,6 @@ lean_dec(x_57); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_275 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_275, 0, x_56); lean_ctor_set(x_275, 1, x_235); @@ -3336,7 +3357,6 @@ lean_dec(x_57); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_277 = l_Lean_LocalDecl_toExpr(x_259); lean_dec(x_259); x_278 = lean_alloc_ctor(3, 3, 0); @@ -3432,7 +3452,6 @@ lean_dec(x_57); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_305 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_305, 0, x_56); lean_ctor_set(x_305, 1, x_283); @@ -3498,7 +3517,6 @@ lean_dec(x_57); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_323 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_323, 0, x_56); lean_ctor_set(x_323, 1, x_283); @@ -3520,7 +3538,6 @@ lean_dec(x_57); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_325 = l_Lean_LocalDecl_toExpr(x_307); lean_dec(x_307); x_326 = lean_alloc_ctor(3, 3, 0); @@ -3546,7 +3563,6 @@ lean_dec(x_57); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_328 = lean_ctor_get(x_282, 0); lean_inc(x_328); lean_dec(x_282); @@ -3607,7 +3623,6 @@ lean_dec(x_339); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_346 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_346, 0, x_338); lean_ctor_set(x_346, 1, x_332); @@ -3651,7 +3666,6 @@ lean_dec(x_351); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_358 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_358, 0, x_350); lean_ctor_set(x_358, 1, x_332); @@ -3694,6 +3708,15 @@ return x_11; } } } +lean_object* l___private_Init_Lean_Elab_TermApp_7__resolveLValAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l___private_Init_Lean_Elab_TermApp_7__resolveLValAux(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_1); +return x_7; +} +} lean_object* l_Array_forMAux___main___at___private_Init_Lean_Elab_TermApp_8__resolveLValLoop___main___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -3789,7 +3812,6 @@ lean_inc(x_6); lean_inc(x_3); lean_inc(x_9); lean_inc(x_2); -lean_inc(x_1); x_13 = l___private_Init_Lean_Elab_TermApp_7__resolveLValAux(x_1, x_2, x_9, x_3, x_6, x_12); if (lean_obj_tag(x_13) == 0) { @@ -3798,7 +3820,6 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); return x_13; } else @@ -3829,7 +3850,6 @@ if (lean_obj_tag(x_19) == 0) lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_20 = lean_ctor_get(x_18, 1); lean_inc(x_20); lean_dec(x_18); @@ -3885,7 +3905,6 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_31 = !lean_is_exclusive(x_18); if (x_31 == 0) { @@ -3914,7 +3933,6 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_35 = !lean_is_exclusive(x_13); if (x_35 == 0) { @@ -3945,7 +3963,6 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_39 = !lean_is_exclusive(x_11); if (x_39 == 0) { @@ -3973,7 +3990,6 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_43 = !lean_is_exclusive(x_8); if (x_43 == 0) { @@ -4005,6 +4021,15 @@ lean_dec(x_2); return x_6; } } +lean_object* l___private_Init_Lean_Elab_TermApp_8__resolveLValLoop___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l___private_Init_Lean_Elab_TermApp_8__resolveLValLoop___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_1); +return x_8; +} +} lean_object* l___private_Init_Lean_Elab_TermApp_8__resolveLValLoop(lean_object* x_1, 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: { @@ -4013,6 +4038,15 @@ x_8 = l___private_Init_Lean_Elab_TermApp_8__resolveLValLoop___main(x_1, x_2, x_3 return x_8; } } +lean_object* l___private_Init_Lean_Elab_TermApp_8__resolveLValLoop___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l___private_Init_Lean_Elab_TermApp_8__resolveLValLoop(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_1); +return x_8; +} +} lean_object* l___private_Init_Lean_Elab_TermApp_9__resolveLVal(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -4038,7 +4072,6 @@ uint8_t x_11; lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_11 = !lean_is_exclusive(x_6); if (x_11 == 0) { @@ -4060,6 +4093,15 @@ return x_14; } } } +lean_object* l___private_Init_Lean_Elab_TermApp_9__resolveLVal___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l___private_Init_Lean_Elab_TermApp_9__resolveLVal(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_1); +return x_6; +} +} lean_object* _init_l_List_foldlM___main___at___private_Init_Lean_Elab_TermApp_10__mkBaseProjections___spec__1___closed__1() { _start: { @@ -4101,7 +4143,6 @@ lean_inc(x_8); lean_dec(x_3); x_9 = lean_box(0); lean_inc(x_4); -lean_inc(x_1); x_10 = l_Lean_Elab_Term_mkConst(x_1, x_7, x_9, x_4, x_5); if (lean_obj_tag(x_10) == 0) { @@ -4238,6 +4279,7 @@ lean_object* x_11; lean_object* x_12; lean_dec(x_4); x_11 = l___private_Init_Lean_Elab_TermApp_10__mkBaseProjections___closed__3; x_12 = l_Lean_Elab_Term_throwError___rarg(x_1, x_11, x_5, x_9); +lean_dec(x_1); return x_12; } else @@ -4488,7 +4530,6 @@ lean_dec(x_9); lean_dec(x_7); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); x_45 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_45, 0, x_4); x_46 = l_Array_insertAt___rarg(x_5, x_6, x_45); @@ -4568,6 +4609,7 @@ _start: lean_object* x_11; x_11 = l___private_Init_Lean_Elab_TermApp_11__addLValArg___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_8); +lean_dec(x_1); return x_11; } } @@ -4585,6 +4627,7 @@ _start: lean_object* x_11; x_11 = l___private_Init_Lean_Elab_TermApp_11__addLValArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_8); +lean_dec(x_1); return x_11; } } @@ -4626,7 +4669,6 @@ lean_inc(x_12); lean_dec(x_7); lean_inc(x_8); lean_inc(x_6); -lean_inc(x_1); x_13 = l___private_Init_Lean_Elab_TermApp_9__resolveLVal(x_1, x_6, x_11, x_8, x_9); if (lean_obj_tag(x_13) == 0) { @@ -4662,7 +4704,6 @@ x_22 = l_Lean_Name_append___main(x_16, x_18); lean_dec(x_16); x_23 = lean_box(0); lean_inc(x_8); -lean_inc(x_1); x_24 = l_Lean_Elab_Term_mkConst(x_1, x_22, x_23, x_8, x_21); if (lean_obj_tag(x_24) == 0) { @@ -4743,7 +4784,6 @@ x_46 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_46, 0, x_45); lean_ctor_set(x_46, 1, x_44); lean_inc(x_8); -lean_inc(x_1); x_47 = l_Lean_Elab_Term_addNamedArg(x_1, x_2, x_46, x_8, x_26); if (lean_obj_tag(x_47) == 0) { @@ -4878,7 +4918,6 @@ lean_dec(x_14); x_71 = lean_box(0); lean_inc(x_8); lean_inc(x_70); -lean_inc(x_1); x_72 = l_Lean_Elab_Term_mkConst(x_1, x_70, x_71, x_8, x_68); if (lean_obj_tag(x_72) == 0) { @@ -4965,7 +5004,6 @@ lean_dec(x_90); x_93 = lean_unsigned_to_nat(0u); lean_inc(x_8); lean_inc(x_2); -lean_inc(x_1); x_94 = l___private_Init_Lean_Elab_TermApp_11__addLValArg___main(x_1, x_69, x_70, x_6, x_3, x_93, x_2, x_91, x_8, x_92); lean_dec(x_91); if (lean_obj_tag(x_94) == 0) @@ -5163,7 +5201,6 @@ lean_dec(x_129); x_132 = lean_unsigned_to_nat(0u); lean_inc(x_8); lean_inc(x_2); -lean_inc(x_1); x_133 = l___private_Init_Lean_Elab_TermApp_11__addLValArg___main(x_1, x_111, x_112, x_6, x_3, x_132, x_2, x_130, x_8, x_131); lean_dec(x_130); if (lean_obj_tag(x_133) == 0) @@ -5252,7 +5289,6 @@ lean_inc(x_147); lean_dec(x_14); x_148 = lean_box(0); lean_inc(x_8); -lean_inc(x_1); x_149 = l_Lean_Elab_Term_mkConst(x_1, x_146, x_148, x_8, x_145); if (lean_obj_tag(x_149) == 0) { @@ -5340,7 +5376,6 @@ x_175 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_175, 0, x_174); lean_ctor_set(x_175, 1, x_173); lean_inc(x_8); -lean_inc(x_1); x_176 = l_Lean_Elab_Term_addNamedArg(x_1, x_2, x_175, x_8, x_151); if (lean_obj_tag(x_176) == 0) { @@ -5357,7 +5392,6 @@ x_181 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_181, 0, x_180); lean_ctor_set(x_181, 1, x_179); lean_inc(x_8); -lean_inc(x_1); x_182 = l_Lean_Elab_Term_addNamedArg(x_1, x_177, x_181, x_8, x_178); if (lean_obj_tag(x_182) == 0) { @@ -5573,6 +5607,7 @@ lean_dec(x_3); lean_dec(x_2); x_12 = l___private_Init_Lean_Elab_TermApp_13__elabAppLVals___closed__3; x_13 = l_Lean_Elab_Term_throwError___rarg(x_1, x_12, x_8, x_9); +lean_dec(x_1); x_14 = !lean_is_exclusive(x_13); if (x_14 == 0) { @@ -6309,7 +6344,7 @@ x_172 = l_Lean_Syntax_isOfKind(x_2, x_171); if (x_172 == 0) { uint8_t x_173; -x_173 = l___private_Init_Lean_Elab_Term_7__hasCDot___main___closed__1; +x_173 = l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; if (x_173 == 0) { lean_object* x_174; uint8_t x_175; @@ -7799,6 +7834,7 @@ lean_inc(x_142); lean_dec(x_140); lean_inc(x_9); x_143 = l_Lean_Elab_Term_resolveName(x_2, x_132, x_133, x_141, x_9, x_142); +lean_dec(x_2); if (lean_obj_tag(x_143) == 0) { lean_object* x_144; lean_object* x_145; lean_object* x_146; @@ -7880,6 +7916,7 @@ lean_dec(x_136); x_155 = lean_box(0); lean_inc(x_9); x_156 = l_Lean_Elab_Term_resolveName(x_2, x_132, x_133, x_155, x_9, x_10); +lean_dec(x_2); if (lean_obj_tag(x_156) == 0) { lean_object* x_157; lean_object* x_158; lean_object* x_159; @@ -8310,7 +8347,7 @@ x_14 = lean_array_fset(x_3, x_2, x_13); if (lean_obj_tag(x_11) == 0) { lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = l___private_Init_Lean_Elab_Term_14__resumePostponed___lambda__1___closed__1; +x_15 = l___private_Init_Lean_Elab_Term_11__resumePostponed___lambda__1___closed__1; x_16 = l_unreachable_x21___rarg(x_15); lean_inc(x_4); x_17 = lean_apply_2(x_16, x_4, x_5); @@ -8441,7 +8478,6 @@ else { uint8_t x_13; lean_dec(x_3); -lean_dec(x_2); x_13 = !lean_is_exclusive(x_6); if (x_13 == 0) { @@ -8467,7 +8503,7 @@ lean_object* l___private_Init_Lean_Elab_TermApp_17__mergeFailures(lean_object* x _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_TermApp_17__mergeFailures___rarg), 4, 0); +x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_TermApp_17__mergeFailures___rarg___boxed), 4, 0); return x_2; } } @@ -8480,6 +8516,15 @@ lean_dec(x_1); return x_6; } } +lean_object* l___private_Init_Lean_Elab_TermApp_17__mergeFailures___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Init_Lean_Elab_TermApp_17__mergeFailures___rarg(x_1, x_2, x_3, x_4); +lean_dec(x_2); +return x_5; +} +} lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_TermApp_18__elabAppAux___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -8625,6 +8670,7 @@ if (x_21 == 0) lean_object* x_22; lean_dec(x_18); x_22 = l___private_Init_Lean_Elab_TermApp_17__mergeFailures___rarg(x_12, x_2, x_6, x_13); +lean_dec(x_2); return x_22; } else @@ -8651,6 +8697,7 @@ x_32 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_32, 0, x_31); lean_ctor_set(x_32, 1, x_30); x_33 = l_Lean_Elab_Term_throwError___rarg(x_2, x_32, x_6, x_28); +lean_dec(x_2); return x_33; } } @@ -8998,6 +9045,7 @@ x_69 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_69, 0, x_67); lean_ctor_set(x_69, 1, x_68); x_70 = l_Lean_Elab_Term_addNamedArg(x_54, x_65, x_69, x_2, x_60); +lean_dec(x_54); if (lean_obj_tag(x_70) == 0) { uint8_t x_71; @@ -9067,6 +9115,7 @@ x_84 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_84, 0, x_82); lean_ctor_set(x_84, 1, x_83); x_85 = l_Lean_Elab_Term_addNamedArg(x_54, x_80, x_84, x_2, x_60); +lean_dec(x_54); if (lean_obj_tag(x_85) == 0) { lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; @@ -9149,6 +9198,7 @@ x_101 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_101, 0, x_99); lean_ctor_set(x_101, 1, x_100); x_102 = l_Lean_Elab_Term_addNamedArg(x_54, x_96, x_101, x_2, x_60); +lean_dec(x_54); if (lean_obj_tag(x_102) == 0) { lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; diff --git a/stage0/stdlib/Init/Lean/Elab/TermBinders.c b/stage0/stdlib/Init/Lean/Elab/TermBinders.c index 468f465803..60f47b530c 100644 --- a/stage0/stdlib/Init/Lean/Elab/TermBinders.c +++ b/stage0/stdlib/Init/Lean/Elab/TermBinders.c @@ -61,7 +61,6 @@ lean_object* l___private_Init_Lean_Elab_TermBinders_4__expandBinderModifier___cl lean_object* l___private_Init_Lean_Elab_TermBinders_9__getFunBinderIds_x3f(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabForall(lean_object*); -extern lean_object* l___private_Init_Lean_Elab_Term_8__expandCDot___closed__2; lean_object* l_Lean_Elab_Term_elabLetPatDecl(lean_object*); lean_object* l_Lean_Elab_Term_mkLambda(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); @@ -72,6 +71,7 @@ lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_TermBinders_5 extern lean_object* l_Lean_Parser_Term_letEqns___elambda__1___closed__2; lean_object* l___private_Init_Lean_Elab_TermBinders_7__elabBindersAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabLetPatDecl___boxed(lean_object*); +extern lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___closed__3; lean_object* l_Lean_Elab_Term_elabLetEqnsDecl___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabLetPatDecl___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabLet___closed__2; @@ -81,7 +81,6 @@ lean_object* l___private_Init_Lean_Elab_TermBinders_4__expandBinderModifier___bo lean_object* l___private_Init_Lean_Elab_TermBinders_4__expandBinderModifier___closed__1; lean_object* l_Lean_Elab_Term_withLetDecl___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__2; -extern lean_object* l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermBinders_11__expandFunBinders(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermBinders_4__expandBinderModifier___closed__2; @@ -109,6 +108,7 @@ lean_object* l_Lean_Elab_Term_throwUnsupportedSyntax___rarg(lean_object*); lean_object* l___private_Init_Lean_Elab_TermBinders_8__getFunBinderIdsAux_x3f___main(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_instBinder___elambda__1___closed__2; lean_object* l___private_Init_Lean_Elab_TermBinders_6__elabBinderViews(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__4; lean_object* l_Lean_Elab_Term_elabForall___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_TermBinders_5__matchBinder___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -141,6 +141,7 @@ lean_object* l_Lean_Elab_Term_elabBinder___rarg___lambda__1(lean_object*, lean_o lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__2; lean_object* l_Lean_Elab_Term_expandOptType(lean_object*, lean_object*); +extern lean_object* l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVar___closed__3; extern lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1___closed__1; lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__6; extern lean_object* l_Lean_Options_empty; @@ -148,7 +149,6 @@ lean_object* l_Lean_Elab_Term_mkFreshFVarId(lean_object*); lean_object* l_Lean_Elab_Term_elabLet___closed__8; uint8_t l_coeDecidableEq(uint8_t); lean_object* l___private_Init_Lean_Elab_TermBinders_1__expandBinderType(lean_object*); -extern lean_object* l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVar___closed__3; lean_object* l_Lean_Elab_Term_elabLetIdDecl___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabLetEqnsDecl___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_isEmpty___rarg(lean_object*); @@ -179,7 +179,6 @@ lean_object* l___private_Init_Lean_Elab_TermBinders_5__matchBinder(lean_object*, lean_object* lean_local_ctx_mk_local_decl(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Elab_Term_elabLetEqnsDecl___boxed(lean_object*); extern lean_object* l_Option_HasRepr___rarg___closed__3; -extern lean_object* l___private_Init_Lean_Elab_Term_8__expandCDot___closed__3; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabForall___closed__1; extern lean_object* l_Lean_Parser_Term_implicitBinder___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_elabArrow(lean_object*, lean_object*, lean_object*, lean_object*); @@ -194,13 +193,13 @@ lean_object* l_Lean_Syntax_getNumArgs(lean_object*); extern lean_object* l_Lean_Parser_Term_letPatDecl___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_getLCtx(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermBinders_2__expandBinderIdent___boxed(lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___closed__2; lean_object* l___private_Init_Lean_Elab_TermBinders_6__elabBinderViews___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabLet(lean_object*); extern lean_object* l_Lean_Expr_getOptParamDefault_x3f___closed__1; lean_object* l_Lean_Elab_Term_mkHole(lean_object*); lean_object* l_Lean_Elab_Term_elabLetIdDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_match___elambda__1___closed__2; -extern uint8_t l___private_Init_Lean_Elab_Term_7__hasCDot___main___closed__1; lean_object* l_Lean_Syntax_isTermId_x3f(lean_object*); extern lean_object* l_Lean_Parser_Term_let___elambda__1___closed__1; lean_object* l_Lean_Syntax_getArgs(lean_object*); @@ -235,6 +234,7 @@ lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabDepArrow___closed__2; lean_object* l___private_Init_Lean_Elab_TermBinders_2__expandBinderIdent(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermBinders_4__expandBinderModifier___closed__3; +extern lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; lean_object* l___private_Init_Lean_Elab_TermBinders_5__matchBinder___closed__3; lean_object* l_Lean_Elab_Term_elabLet___closed__6; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); @@ -252,7 +252,7 @@ lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__3; extern lean_object* l_Lean_Parser_Term_simpleBinder___elambda__1___closed__2; extern lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__1; lean_object* l___private_Init_Lean_Elab_TermBinders_6__elabBinderViews___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Init_Lean_Elab_Term_11__postponeElabTerm___closed__4; +extern uint8_t l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; lean_object* lean_name_mk_numeral(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermBinders_3__expandOptIdent(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabLet___closed__2; @@ -301,7 +301,7 @@ x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) { uint8_t x_6; -x_6 = l___private_Init_Lean_Elab_Term_7__hasCDot___main___closed__1; +x_6 = l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; if (x_6 == 0) { lean_object* x_7; @@ -491,8 +491,9 @@ return x_13; else { lean_object* x_14; lean_object* x_15; -x_14 = l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVar___closed__3; +x_14 = l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVar___closed__3; x_15 = l_Lean_Elab_Term_throwError___rarg(x_7, x_14, x_3, x_4); +lean_dec(x_7); return x_15; } } @@ -522,7 +523,7 @@ lean_ctor_set(x_26, 2, x_23); lean_ctor_set(x_26, 3, x_25); x_27 = l_Array_empty___closed__1; x_28 = lean_array_push(x_27, x_26); -x_29 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_29 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_30 = lean_array_push(x_28, x_29); x_31 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_32 = lean_alloc_ctor(1, 2, 0); @@ -562,7 +563,7 @@ lean_ctor_set(x_47, 2, x_44); lean_ctor_set(x_47, 3, x_46); x_48 = l_Array_empty___closed__1; x_49 = lean_array_push(x_48, x_47); -x_50 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_50 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_51 = lean_array_push(x_49, x_50); x_52 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_53 = lean_alloc_ctor(1, 2, 0); @@ -822,6 +823,7 @@ if (x_24 == 0) lean_object* x_25; lean_object* x_26; x_25 = l___private_Init_Lean_Elab_TermBinders_5__matchBinder___closed__3; x_26 = l_Lean_Elab_Term_throwError___rarg(x_1, x_25, x_2, x_3); +lean_dec(x_1); return x_26; } else @@ -992,6 +994,7 @@ x_13 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_13, 0, x_12); lean_ctor_set(x_13, 1, x_11); x_14 = l_Lean_Elab_Term_throwError___rarg(x_1, x_13, x_2, x_3); +lean_dec(x_1); return x_14; } } @@ -3421,7 +3424,7 @@ x_6 = l_Lean_Syntax_isOfKind(x_1, x_5); if (x_6 == 0) { uint8_t x_7; -x_7 = l___private_Init_Lean_Elab_Term_7__hasCDot___main___closed__1; +x_7 = l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; if (x_7 == 0) { lean_object* x_8; @@ -3681,10 +3684,10 @@ if (x_12 == 0) lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; x_13 = lean_ctor_get(x_11, 0); x_14 = lean_box(0); -x_15 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__3; +x_15 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__3; x_16 = lean_name_mk_numeral(x_15, x_13); x_17 = lean_box(0); -x_18 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__2; +x_18 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__2; x_19 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_19, 0, x_14); lean_ctor_set(x_19, 1, x_18); @@ -3704,7 +3707,7 @@ x_28 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_28, 0, x_22); lean_ctor_set(x_28, 1, x_27); x_29 = lean_array_push(x_25, x_28); -x_30 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_30 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_31 = lean_array_push(x_29, x_30); x_32 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__7; x_33 = lean_array_push(x_31, x_32); @@ -3737,10 +3740,10 @@ lean_inc(x_46); lean_inc(x_45); lean_dec(x_11); x_47 = lean_box(0); -x_48 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__3; +x_48 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__3; x_49 = lean_name_mk_numeral(x_48, x_45); x_50 = lean_box(0); -x_51 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__2; +x_51 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__2; x_52 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_52, 0, x_47); lean_ctor_set(x_52, 1, x_51); @@ -3760,7 +3763,7 @@ x_61 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_61, 0, x_55); lean_ctor_set(x_61, 1, x_60); x_62 = lean_array_push(x_58, x_61); -x_63 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_63 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_64 = lean_array_push(x_62, x_63); x_65 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__7; x_66 = lean_array_push(x_64, x_65); @@ -3956,7 +3959,7 @@ x_9 = l_Lean_Syntax_isOfKind(x_2, x_8); if (x_9 == 0) { uint8_t x_10; -x_10 = l___private_Init_Lean_Elab_Term_7__hasCDot___main___closed__1; +x_10 = l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; if (x_10 == 0) { lean_object* x_11; @@ -4531,7 +4534,7 @@ lean_ctor_set(x_53, 0, x_52); lean_ctor_set(x_53, 1, x_51); x_54 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_55 = lean_array_push(x_54, x_53); -x_56 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_56 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_57 = lean_array_push(x_55, x_56); x_58 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_59 = lean_array_push(x_57, x_58); @@ -4613,7 +4616,7 @@ lean_ctor_set(x_93, 0, x_92); lean_ctor_set(x_93, 1, x_91); x_94 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_95 = lean_array_push(x_94, x_93); -x_96 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_96 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_97 = lean_array_push(x_95, x_96); x_98 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_99 = lean_array_push(x_97, x_98); @@ -4688,7 +4691,7 @@ lean_ctor_set(x_125, 0, x_124); lean_ctor_set(x_125, 1, x_123); x_126 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_127 = lean_array_push(x_126, x_125); -x_128 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_128 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_129 = lean_array_push(x_127, x_128); x_130 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_131 = lean_array_push(x_129, x_130); @@ -4788,6 +4791,7 @@ lean_dec(x_3); lean_dec(x_2); x_157 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__10; x_158 = l_Lean_Elab_Term_throwError___rarg(x_11, x_157, x_5, x_6); +lean_dec(x_11); x_159 = !lean_is_exclusive(x_158); if (x_159 == 0) { @@ -4885,7 +4889,7 @@ lean_ctor_set(x_193, 0, x_192); lean_ctor_set(x_193, 1, x_191); x_194 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_195 = lean_array_push(x_194, x_193); -x_196 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_196 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_197 = lean_array_push(x_195, x_196); x_198 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_199 = lean_array_push(x_197, x_198); @@ -4967,7 +4971,7 @@ lean_ctor_set(x_233, 0, x_232); lean_ctor_set(x_233, 1, x_231); x_234 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_235 = lean_array_push(x_234, x_233); -x_236 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_236 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_237 = lean_array_push(x_235, x_236); x_238 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_239 = lean_array_push(x_237, x_238); @@ -5042,7 +5046,7 @@ lean_ctor_set(x_265, 0, x_264); lean_ctor_set(x_265, 1, x_263); x_266 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_267 = lean_array_push(x_266, x_265); -x_268 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_268 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_269 = lean_array_push(x_267, x_268); x_270 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_271 = lean_array_push(x_269, x_270); @@ -5143,6 +5147,7 @@ lean_dec(x_3); lean_dec(x_2); x_297 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__10; x_298 = l_Lean_Elab_Term_throwError___rarg(x_171, x_297, x_5, x_6); +lean_dec(x_171); x_299 = !lean_is_exclusive(x_298); if (x_299 == 0) { @@ -5242,7 +5247,7 @@ lean_ctor_set(x_333, 0, x_332); lean_ctor_set(x_333, 1, x_331); x_334 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_335 = lean_array_push(x_334, x_333); -x_336 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_336 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_337 = lean_array_push(x_335, x_336); x_338 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_339 = lean_array_push(x_337, x_338); @@ -5324,7 +5329,7 @@ lean_ctor_set(x_373, 0, x_372); lean_ctor_set(x_373, 1, x_371); x_374 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_375 = lean_array_push(x_374, x_373); -x_376 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_376 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_377 = lean_array_push(x_375, x_376); x_378 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_379 = lean_array_push(x_377, x_378); @@ -5399,7 +5404,7 @@ lean_ctor_set(x_405, 0, x_404); lean_ctor_set(x_405, 1, x_403); x_406 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_407 = lean_array_push(x_406, x_405); -x_408 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_408 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_409 = lean_array_push(x_407, x_408); x_410 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_411 = lean_array_push(x_409, x_410); @@ -5500,6 +5505,7 @@ lean_dec(x_3); lean_dec(x_2); x_437 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__10; x_438 = l_Lean_Elab_Term_throwError___rarg(x_311, x_437, x_5, x_6); +lean_dec(x_311); x_439 = !lean_is_exclusive(x_438); if (x_439 == 0) { @@ -5605,7 +5611,7 @@ lean_ctor_set(x_475, 0, x_474); lean_ctor_set(x_475, 1, x_473); x_476 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_477 = lean_array_push(x_476, x_475); -x_478 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_478 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_479 = lean_array_push(x_477, x_478); x_480 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_481 = lean_array_push(x_479, x_480); @@ -5687,7 +5693,7 @@ lean_ctor_set(x_515, 0, x_514); lean_ctor_set(x_515, 1, x_513); x_516 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_517 = lean_array_push(x_516, x_515); -x_518 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_518 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_519 = lean_array_push(x_517, x_518); x_520 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_521 = lean_array_push(x_519, x_520); @@ -5762,7 +5768,7 @@ lean_ctor_set(x_547, 0, x_546); lean_ctor_set(x_547, 1, x_545); x_548 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_549 = lean_array_push(x_548, x_547); -x_550 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_550 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_551 = lean_array_push(x_549, x_550); x_552 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_553 = lean_array_push(x_551, x_552); @@ -5863,6 +5869,7 @@ lean_dec(x_3); lean_dec(x_2); x_579 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__10; x_580 = l_Lean_Elab_Term_throwError___rarg(x_453, x_579, x_5, x_6); +lean_dec(x_453); x_581 = !lean_is_exclusive(x_580); if (x_581 == 0) { @@ -5982,7 +5989,7 @@ lean_ctor_set(x_625, 0, x_624); lean_ctor_set(x_625, 1, x_623); x_626 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_627 = lean_array_push(x_626, x_625); -x_628 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_628 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_629 = lean_array_push(x_627, x_628); x_630 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_631 = lean_array_push(x_629, x_630); @@ -6064,7 +6071,7 @@ lean_ctor_set(x_665, 0, x_664); lean_ctor_set(x_665, 1, x_663); x_666 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_667 = lean_array_push(x_666, x_665); -x_668 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_668 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_669 = lean_array_push(x_667, x_668); x_670 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_671 = lean_array_push(x_669, x_670); @@ -6139,7 +6146,7 @@ lean_ctor_set(x_697, 0, x_696); lean_ctor_set(x_697, 1, x_695); x_698 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_699 = lean_array_push(x_698, x_697); -x_700 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_700 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_701 = lean_array_push(x_699, x_700); x_702 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_703 = lean_array_push(x_701, x_702); @@ -6276,7 +6283,7 @@ lean_ctor_set(x_748, 0, x_747); lean_ctor_set(x_748, 1, x_746); x_749 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_750 = lean_array_push(x_749, x_748); -x_751 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_751 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_752 = lean_array_push(x_750, x_751); x_753 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_754 = lean_array_push(x_752, x_753); @@ -6358,7 +6365,7 @@ lean_ctor_set(x_788, 0, x_787); lean_ctor_set(x_788, 1, x_786); x_789 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_790 = lean_array_push(x_789, x_788); -x_791 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_791 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_792 = lean_array_push(x_790, x_791); x_793 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_794 = lean_array_push(x_792, x_793); @@ -6433,7 +6440,7 @@ lean_ctor_set(x_820, 0, x_819); lean_ctor_set(x_820, 1, x_818); x_821 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_822 = lean_array_push(x_821, x_820); -x_823 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_823 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_824 = lean_array_push(x_822, x_823); x_825 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_826 = lean_array_push(x_824, x_825); @@ -6582,7 +6589,7 @@ lean_ctor_set(x_873, 0, x_872); lean_ctor_set(x_873, 1, x_871); x_874 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_875 = lean_array_push(x_874, x_873); -x_876 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_876 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_877 = lean_array_push(x_875, x_876); x_878 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_879 = lean_array_push(x_877, x_878); @@ -6664,7 +6671,7 @@ lean_ctor_set(x_913, 0, x_912); lean_ctor_set(x_913, 1, x_911); x_914 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_915 = lean_array_push(x_914, x_913); -x_916 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_916 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_917 = lean_array_push(x_915, x_916); x_918 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_919 = lean_array_push(x_917, x_918); @@ -6739,7 +6746,7 @@ lean_ctor_set(x_945, 0, x_944); lean_ctor_set(x_945, 1, x_943); x_946 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_947 = lean_array_push(x_946, x_945); -x_948 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_948 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_949 = lean_array_push(x_947, x_948); x_950 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_951 = lean_array_push(x_949, x_950); @@ -6866,7 +6873,7 @@ lean_ctor_set(x_992, 0, x_991); lean_ctor_set(x_992, 1, x_990); x_993 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_994 = lean_array_push(x_993, x_992); -x_995 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_995 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_996 = lean_array_push(x_994, x_995); x_997 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_998 = lean_array_push(x_996, x_997); @@ -6948,7 +6955,7 @@ lean_ctor_set(x_1032, 0, x_1031); lean_ctor_set(x_1032, 1, x_1030); x_1033 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_1034 = lean_array_push(x_1033, x_1032); -x_1035 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_1035 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_1036 = lean_array_push(x_1034, x_1035); x_1037 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_1038 = lean_array_push(x_1036, x_1037); @@ -7023,7 +7030,7 @@ lean_ctor_set(x_1064, 0, x_1063); lean_ctor_set(x_1064, 1, x_1062); x_1065 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_1066 = lean_array_push(x_1065, x_1064); -x_1067 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_1067 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_1068 = lean_array_push(x_1066, x_1067); x_1069 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_1070 = lean_array_push(x_1068, x_1069); @@ -7212,7 +7219,7 @@ lean_ctor_set(x_1126, 0, x_1125); lean_ctor_set(x_1126, 1, x_1124); x_1127 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_1128 = lean_array_push(x_1127, x_1126); -x_1129 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_1129 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_1130 = lean_array_push(x_1128, x_1129); x_1131 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_1132 = lean_array_push(x_1130, x_1131); @@ -7317,6 +7324,7 @@ lean_dec(x_3); lean_dec(x_2); x_1158 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__10; x_1159 = l_Lean_Elab_Term_throwError___rarg(x_11, x_1158, x_5, x_6); +lean_dec(x_11); x_1160 = lean_ctor_get(x_1159, 0); lean_inc(x_1160); x_1161 = lean_ctor_get(x_1159, 1); @@ -7431,7 +7439,7 @@ lean_ctor_set(x_1196, 0, x_1195); lean_ctor_set(x_1196, 1, x_1194); x_1197 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_1198 = lean_array_push(x_1197, x_1196); -x_1199 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_1199 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_1200 = lean_array_push(x_1198, x_1199); x_1201 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_1202 = lean_array_push(x_1200, x_1201); @@ -7537,6 +7545,7 @@ lean_dec(x_3); lean_dec(x_2); x_1228 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__10; x_1229 = l_Lean_Elab_Term_throwError___rarg(x_1173, x_1228, x_5, x_6); +lean_dec(x_1173); x_1230 = lean_ctor_get(x_1229, 0); lean_inc(x_1230); x_1231 = lean_ctor_get(x_1229, 1); @@ -7653,7 +7662,7 @@ lean_ctor_set(x_1266, 0, x_1265); lean_ctor_set(x_1266, 1, x_1264); x_1267 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_1268 = lean_array_push(x_1267, x_1266); -x_1269 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_1269 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_1270 = lean_array_push(x_1268, x_1269); x_1271 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_1272 = lean_array_push(x_1270, x_1271); @@ -7759,6 +7768,7 @@ lean_dec(x_3); lean_dec(x_2); x_1298 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__10; x_1299 = l_Lean_Elab_Term_throwError___rarg(x_1243, x_1298, x_5, x_6); +lean_dec(x_1243); x_1300 = lean_ctor_get(x_1299, 0); lean_inc(x_1300); x_1301 = lean_ctor_get(x_1299, 1); @@ -7881,7 +7891,7 @@ lean_ctor_set(x_1338, 0, x_1337); lean_ctor_set(x_1338, 1, x_1336); x_1339 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_1340 = lean_array_push(x_1339, x_1338); -x_1341 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_1341 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_1342 = lean_array_push(x_1340, x_1341); x_1343 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_1344 = lean_array_push(x_1342, x_1343); @@ -7987,6 +7997,7 @@ lean_dec(x_3); lean_dec(x_2); x_1370 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__10; x_1371 = l_Lean_Elab_Term_throwError___rarg(x_1315, x_1370, x_5, x_6); +lean_dec(x_1315); x_1372 = lean_ctor_get(x_1371, 0); lean_inc(x_1372); x_1373 = lean_ctor_get(x_1371, 1); @@ -8118,7 +8129,7 @@ lean_ctor_set(x_1417, 0, x_1416); lean_ctor_set(x_1417, 1, x_1415); x_1418 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_1419 = lean_array_push(x_1418, x_1417); -x_1420 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_1420 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_1421 = lean_array_push(x_1419, x_1420); x_1422 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_1423 = lean_array_push(x_1421, x_1422); @@ -8271,7 +8282,7 @@ lean_ctor_set(x_1469, 0, x_1468); lean_ctor_set(x_1469, 1, x_1467); x_1470 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_1471 = lean_array_push(x_1470, x_1469); -x_1472 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_1472 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_1473 = lean_array_push(x_1471, x_1472); x_1474 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_1475 = lean_array_push(x_1473, x_1474); @@ -8436,7 +8447,7 @@ lean_ctor_set(x_1523, 0, x_1522); lean_ctor_set(x_1523, 1, x_1521); x_1524 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_1525 = lean_array_push(x_1524, x_1523); -x_1526 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_1526 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_1527 = lean_array_push(x_1525, x_1526); x_1528 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_1529 = lean_array_push(x_1527, x_1528); @@ -8579,7 +8590,7 @@ lean_ctor_set(x_1571, 0, x_1570); lean_ctor_set(x_1571, 1, x_1569); x_1572 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_1573 = lean_array_push(x_1572, x_1571); -x_1574 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_1574 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_1575 = lean_array_push(x_1573, x_1574); x_1576 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_1577 = lean_array_push(x_1575, x_1576); @@ -8784,7 +8795,7 @@ lean_ctor_set(x_1636, 0, x_1635); lean_ctor_set(x_1636, 1, x_1634); x_1637 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_1638 = lean_array_push(x_1637, x_1636); -x_1639 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_1639 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_1640 = lean_array_push(x_1638, x_1639); x_1641 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_1642 = lean_array_push(x_1640, x_1641); @@ -8889,6 +8900,7 @@ lean_dec(x_3); lean_dec(x_2); x_1668 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__10; x_1669 = l_Lean_Elab_Term_throwError___rarg(x_11, x_1668, x_5, x_6); +lean_dec(x_11); x_1670 = lean_ctor_get(x_1669, 0); lean_inc(x_1670); x_1671 = lean_ctor_get(x_1669, 1); @@ -9011,7 +9023,7 @@ lean_ctor_set(x_1707, 0, x_1706); lean_ctor_set(x_1707, 1, x_1705); x_1708 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_1709 = lean_array_push(x_1708, x_1707); -x_1710 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_1710 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_1711 = lean_array_push(x_1709, x_1710); x_1712 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_1713 = lean_array_push(x_1711, x_1712); @@ -9117,6 +9129,7 @@ lean_dec(x_3); lean_dec(x_2); x_1739 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__10; x_1740 = l_Lean_Elab_Term_throwError___rarg(x_1684, x_1739, x_5, x_6); +lean_dec(x_1684); x_1741 = lean_ctor_get(x_1740, 0); lean_inc(x_1741); x_1742 = lean_ctor_get(x_1740, 1); @@ -9240,7 +9253,7 @@ lean_ctor_set(x_1778, 0, x_1777); lean_ctor_set(x_1778, 1, x_1776); x_1779 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_1780 = lean_array_push(x_1779, x_1778); -x_1781 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_1781 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_1782 = lean_array_push(x_1780, x_1781); x_1783 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_1784 = lean_array_push(x_1782, x_1783); @@ -9346,6 +9359,7 @@ lean_dec(x_3); lean_dec(x_2); x_1810 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__10; x_1811 = l_Lean_Elab_Term_throwError___rarg(x_1755, x_1810, x_5, x_6); +lean_dec(x_1755); x_1812 = lean_ctor_get(x_1811, 0); lean_inc(x_1812); x_1813 = lean_ctor_get(x_1811, 1); @@ -9475,7 +9489,7 @@ lean_ctor_set(x_1851, 0, x_1850); lean_ctor_set(x_1851, 1, x_1849); x_1852 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_1853 = lean_array_push(x_1852, x_1851); -x_1854 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_1854 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_1855 = lean_array_push(x_1853, x_1854); x_1856 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_1857 = lean_array_push(x_1855, x_1856); @@ -9581,6 +9595,7 @@ lean_dec(x_3); lean_dec(x_2); x_1883 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__10; x_1884 = l_Lean_Elab_Term_throwError___rarg(x_1828, x_1883, x_5, x_6); +lean_dec(x_1828); x_1885 = lean_ctor_get(x_1884, 0); lean_inc(x_1885); x_1886 = lean_ctor_get(x_1884, 1); @@ -9712,7 +9727,7 @@ lean_ctor_set(x_1930, 0, x_1929); lean_ctor_set(x_1930, 1, x_1928); x_1931 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_1932 = lean_array_push(x_1931, x_1930); -x_1933 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_1933 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_1934 = lean_array_push(x_1932, x_1933); x_1935 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_1936 = lean_array_push(x_1934, x_1935); @@ -9865,7 +9880,7 @@ lean_ctor_set(x_1982, 0, x_1981); lean_ctor_set(x_1982, 1, x_1980); x_1983 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_1984 = lean_array_push(x_1983, x_1982); -x_1985 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_1985 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_1986 = lean_array_push(x_1984, x_1985); x_1987 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_1988 = lean_array_push(x_1986, x_1987); @@ -10030,7 +10045,7 @@ lean_ctor_set(x_2036, 0, x_2035); lean_ctor_set(x_2036, 1, x_2034); x_2037 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_2038 = lean_array_push(x_2037, x_2036); -x_2039 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_2039 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_2040 = lean_array_push(x_2038, x_2039); x_2041 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_2042 = lean_array_push(x_2040, x_2041); @@ -10173,7 +10188,7 @@ lean_ctor_set(x_2084, 0, x_2083); lean_ctor_set(x_2084, 1, x_2082); x_2085 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_2086 = lean_array_push(x_2085, x_2084); -x_2087 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_2087 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_2088 = lean_array_push(x_2086, x_2087); x_2089 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_2090 = lean_array_push(x_2088, x_2089); @@ -10389,7 +10404,7 @@ lean_ctor_set(x_2152, 0, x_2151); lean_ctor_set(x_2152, 1, x_2150); x_2153 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_2154 = lean_array_push(x_2153, x_2152); -x_2155 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_2155 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_2156 = lean_array_push(x_2154, x_2155); x_2157 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_2158 = lean_array_push(x_2156, x_2157); @@ -10494,6 +10509,7 @@ lean_dec(x_3); lean_dec(x_2); x_2184 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__10; x_2185 = l_Lean_Elab_Term_throwError___rarg(x_11, x_2184, x_5, x_6); +lean_dec(x_11); x_2186 = lean_ctor_get(x_2185, 0); lean_inc(x_2186); x_2187 = lean_ctor_get(x_2185, 1); @@ -10624,7 +10640,7 @@ lean_ctor_set(x_2224, 0, x_2223); lean_ctor_set(x_2224, 1, x_2222); x_2225 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_2226 = lean_array_push(x_2225, x_2224); -x_2227 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_2227 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_2228 = lean_array_push(x_2226, x_2227); x_2229 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_2230 = lean_array_push(x_2228, x_2229); @@ -10730,6 +10746,7 @@ lean_dec(x_3); lean_dec(x_2); x_2256 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__10; x_2257 = l_Lean_Elab_Term_throwError___rarg(x_2201, x_2256, x_5, x_6); +lean_dec(x_2201); x_2258 = lean_ctor_get(x_2257, 0); lean_inc(x_2258); x_2259 = lean_ctor_get(x_2257, 1); @@ -10861,7 +10878,7 @@ lean_ctor_set(x_2296, 0, x_2295); lean_ctor_set(x_2296, 1, x_2294); x_2297 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_2298 = lean_array_push(x_2297, x_2296); -x_2299 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_2299 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_2300 = lean_array_push(x_2298, x_2299); x_2301 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_2302 = lean_array_push(x_2300, x_2301); @@ -10967,6 +10984,7 @@ lean_dec(x_3); lean_dec(x_2); x_2328 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__10; x_2329 = l_Lean_Elab_Term_throwError___rarg(x_2273, x_2328, x_5, x_6); +lean_dec(x_2273); x_2330 = lean_ctor_get(x_2329, 0); lean_inc(x_2330); x_2331 = lean_ctor_get(x_2329, 1); @@ -11103,7 +11121,7 @@ lean_ctor_set(x_2370, 0, x_2369); lean_ctor_set(x_2370, 1, x_2368); x_2371 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_2372 = lean_array_push(x_2371, x_2370); -x_2373 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_2373 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_2374 = lean_array_push(x_2372, x_2373); x_2375 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_2376 = lean_array_push(x_2374, x_2375); @@ -11209,6 +11227,7 @@ lean_dec(x_3); lean_dec(x_2); x_2402 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__10; x_2403 = l_Lean_Elab_Term_throwError___rarg(x_2347, x_2402, x_5, x_6); +lean_dec(x_2347); x_2404 = lean_ctor_get(x_2403, 0); lean_inc(x_2404); x_2405 = lean_ctor_get(x_2403, 1); @@ -11340,7 +11359,7 @@ lean_ctor_set(x_2449, 0, x_2448); lean_ctor_set(x_2449, 1, x_2447); x_2450 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_2451 = lean_array_push(x_2450, x_2449); -x_2452 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_2452 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_2453 = lean_array_push(x_2451, x_2452); x_2454 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_2455 = lean_array_push(x_2453, x_2454); @@ -11493,7 +11512,7 @@ lean_ctor_set(x_2501, 0, x_2500); lean_ctor_set(x_2501, 1, x_2499); x_2502 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_2503 = lean_array_push(x_2502, x_2501); -x_2504 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_2504 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_2505 = lean_array_push(x_2503, x_2504); x_2506 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_2507 = lean_array_push(x_2505, x_2506); @@ -11658,7 +11677,7 @@ lean_ctor_set(x_2555, 0, x_2554); lean_ctor_set(x_2555, 1, x_2553); x_2556 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_2557 = lean_array_push(x_2556, x_2555); -x_2558 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_2558 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_2559 = lean_array_push(x_2557, x_2558); x_2560 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_2561 = lean_array_push(x_2559, x_2560); @@ -11801,7 +11820,7 @@ lean_ctor_set(x_2603, 0, x_2602); lean_ctor_set(x_2603, 1, x_2601); x_2604 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_2605 = lean_array_push(x_2604, x_2603); -x_2606 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_2606 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_2607 = lean_array_push(x_2605, x_2606); x_2608 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_2609 = lean_array_push(x_2607, x_2608); @@ -12028,7 +12047,7 @@ lean_ctor_set(x_2674, 0, x_2673); lean_ctor_set(x_2674, 1, x_2672); x_2675 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_2676 = lean_array_push(x_2675, x_2674); -x_2677 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_2677 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_2678 = lean_array_push(x_2676, x_2677); x_2679 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_2680 = lean_array_push(x_2678, x_2679); @@ -12133,6 +12152,7 @@ lean_dec(x_3); lean_dec(x_2); x_2706 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__10; x_2707 = l_Lean_Elab_Term_throwError___rarg(x_11, x_2706, x_5, x_6); +lean_dec(x_11); x_2708 = lean_ctor_get(x_2707, 0); lean_inc(x_2708); x_2709 = lean_ctor_get(x_2707, 1); @@ -12270,7 +12290,7 @@ lean_ctor_set(x_2747, 0, x_2746); lean_ctor_set(x_2747, 1, x_2745); x_2748 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_2749 = lean_array_push(x_2748, x_2747); -x_2750 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_2750 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_2751 = lean_array_push(x_2749, x_2750); x_2752 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_2753 = lean_array_push(x_2751, x_2752); @@ -12376,6 +12396,7 @@ lean_dec(x_3); lean_dec(x_2); x_2779 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__10; x_2780 = l_Lean_Elab_Term_throwError___rarg(x_2724, x_2779, x_5, x_6); +lean_dec(x_2724); x_2781 = lean_ctor_get(x_2780, 0); lean_inc(x_2781); x_2782 = lean_ctor_get(x_2780, 1); @@ -12514,7 +12535,7 @@ lean_ctor_set(x_2820, 0, x_2819); lean_ctor_set(x_2820, 1, x_2818); x_2821 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_2822 = lean_array_push(x_2821, x_2820); -x_2823 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_2823 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_2824 = lean_array_push(x_2822, x_2823); x_2825 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_2826 = lean_array_push(x_2824, x_2825); @@ -12620,6 +12641,7 @@ lean_dec(x_3); lean_dec(x_2); x_2852 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__10; x_2853 = l_Lean_Elab_Term_throwError___rarg(x_2797, x_2852, x_5, x_6); +lean_dec(x_2797); x_2854 = lean_ctor_get(x_2853, 0); lean_inc(x_2854); x_2855 = lean_ctor_get(x_2853, 1); @@ -12763,7 +12785,7 @@ lean_ctor_set(x_2895, 0, x_2894); lean_ctor_set(x_2895, 1, x_2893); x_2896 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_2897 = lean_array_push(x_2896, x_2895); -x_2898 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_2898 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_2899 = lean_array_push(x_2897, x_2898); x_2900 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_2901 = lean_array_push(x_2899, x_2900); @@ -12869,6 +12891,7 @@ lean_dec(x_3); lean_dec(x_2); x_2927 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__10; x_2928 = l_Lean_Elab_Term_throwError___rarg(x_2872, x_2927, x_5, x_6); +lean_dec(x_2872); x_2929 = lean_ctor_get(x_2928, 0); lean_inc(x_2929); x_2930 = lean_ctor_get(x_2928, 1); @@ -13000,7 +13023,7 @@ lean_ctor_set(x_2974, 0, x_2973); lean_ctor_set(x_2974, 1, x_2972); x_2975 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_2976 = lean_array_push(x_2975, x_2974); -x_2977 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_2977 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_2978 = lean_array_push(x_2976, x_2977); x_2979 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_2980 = lean_array_push(x_2978, x_2979); @@ -13153,7 +13176,7 @@ lean_ctor_set(x_3026, 0, x_3025); lean_ctor_set(x_3026, 1, x_3024); x_3027 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_3028 = lean_array_push(x_3027, x_3026); -x_3029 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_3029 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_3030 = lean_array_push(x_3028, x_3029); x_3031 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_3032 = lean_array_push(x_3030, x_3031); @@ -13318,7 +13341,7 @@ lean_ctor_set(x_3080, 0, x_3079); lean_ctor_set(x_3080, 1, x_3078); x_3081 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_3082 = lean_array_push(x_3081, x_3080); -x_3083 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_3083 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_3084 = lean_array_push(x_3082, x_3083); x_3085 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_3086 = lean_array_push(x_3084, x_3085); @@ -13461,7 +13484,7 @@ lean_ctor_set(x_3128, 0, x_3127); lean_ctor_set(x_3128, 1, x_3126); x_3129 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_3130 = lean_array_push(x_3129, x_3128); -x_3131 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_3131 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_3132 = lean_array_push(x_3130, x_3131); x_3133 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_3134 = lean_array_push(x_3132, x_3133); @@ -13632,7 +13655,7 @@ lean_ctor_set(x_3185, 0, x_3184); lean_ctor_set(x_3185, 1, x_3183); x_3186 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_3187 = lean_array_push(x_3186, x_3185); -x_3188 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_3188 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_3189 = lean_array_push(x_3187, x_3188); x_3190 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_3191 = lean_array_push(x_3189, x_3190); @@ -13714,7 +13737,7 @@ lean_ctor_set(x_3225, 0, x_3224); lean_ctor_set(x_3225, 1, x_3223); x_3226 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_3227 = lean_array_push(x_3226, x_3225); -x_3228 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_3228 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_3229 = lean_array_push(x_3227, x_3228); x_3230 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_3231 = lean_array_push(x_3229, x_3230); @@ -13789,7 +13812,7 @@ lean_ctor_set(x_3257, 0, x_3256); lean_ctor_set(x_3257, 1, x_3255); x_3258 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_3259 = lean_array_push(x_3258, x_3257); -x_3260 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_3260 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_3261 = lean_array_push(x_3259, x_3260); x_3262 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_3263 = lean_array_push(x_3261, x_3262); @@ -13889,6 +13912,7 @@ lean_dec(x_3); lean_dec(x_2); x_3289 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__10; x_3290 = l_Lean_Elab_Term_throwError___rarg(x_11, x_3289, x_5, x_6); +lean_dec(x_11); x_3291 = !lean_is_exclusive(x_3290); if (x_3291 == 0) { @@ -13981,7 +14005,7 @@ lean_ctor_set(x_3322, 0, x_3321); lean_ctor_set(x_3322, 1, x_3320); x_3323 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_3324 = lean_array_push(x_3323, x_3322); -x_3325 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_3325 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_3326 = lean_array_push(x_3324, x_3325); x_3327 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_3328 = lean_array_push(x_3326, x_3327); @@ -14063,7 +14087,7 @@ lean_ctor_set(x_3362, 0, x_3361); lean_ctor_set(x_3362, 1, x_3360); x_3363 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_3364 = lean_array_push(x_3363, x_3362); -x_3365 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_3365 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_3366 = lean_array_push(x_3364, x_3365); x_3367 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_3368 = lean_array_push(x_3366, x_3367); @@ -14138,7 +14162,7 @@ lean_ctor_set(x_3394, 0, x_3393); lean_ctor_set(x_3394, 1, x_3392); x_3395 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_3396 = lean_array_push(x_3395, x_3394); -x_3397 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_3397 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_3398 = lean_array_push(x_3396, x_3397); x_3399 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_3400 = lean_array_push(x_3398, x_3399); @@ -14238,6 +14262,7 @@ lean_dec(x_3); lean_dec(x_2); x_3426 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__10; x_3427 = l_Lean_Elab_Term_throwError___rarg(x_11, x_3426, x_5, x_6); +lean_dec(x_11); x_3428 = !lean_is_exclusive(x_3427); if (x_3428 == 0) { @@ -14329,7 +14354,7 @@ lean_ctor_set(x_3459, 0, x_3458); lean_ctor_set(x_3459, 1, x_3457); x_3460 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_3461 = lean_array_push(x_3460, x_3459); -x_3462 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_3462 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_3463 = lean_array_push(x_3461, x_3462); x_3464 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_3465 = lean_array_push(x_3463, x_3464); @@ -14411,7 +14436,7 @@ lean_ctor_set(x_3499, 0, x_3498); lean_ctor_set(x_3499, 1, x_3497); x_3500 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_3501 = lean_array_push(x_3500, x_3499); -x_3502 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_3502 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_3503 = lean_array_push(x_3501, x_3502); x_3504 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_3505 = lean_array_push(x_3503, x_3504); @@ -14486,7 +14511,7 @@ lean_ctor_set(x_3531, 0, x_3530); lean_ctor_set(x_3531, 1, x_3529); x_3532 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_3533 = lean_array_push(x_3532, x_3531); -x_3534 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_3534 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_3535 = lean_array_push(x_3533, x_3534); x_3536 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_3537 = lean_array_push(x_3535, x_3536); @@ -14586,6 +14611,7 @@ lean_dec(x_3); lean_dec(x_2); x_3563 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__10; x_3564 = l_Lean_Elab_Term_throwError___rarg(x_11, x_3563, x_5, x_6); +lean_dec(x_11); x_3565 = !lean_is_exclusive(x_3564); if (x_3565 == 0) { @@ -14676,7 +14702,7 @@ lean_ctor_set(x_3596, 0, x_3595); lean_ctor_set(x_3596, 1, x_3594); x_3597 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_3598 = lean_array_push(x_3597, x_3596); -x_3599 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_3599 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_3600 = lean_array_push(x_3598, x_3599); x_3601 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_3602 = lean_array_push(x_3600, x_3601); @@ -14758,7 +14784,7 @@ lean_ctor_set(x_3636, 0, x_3635); lean_ctor_set(x_3636, 1, x_3634); x_3637 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_3638 = lean_array_push(x_3637, x_3636); -x_3639 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_3639 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_3640 = lean_array_push(x_3638, x_3639); x_3641 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_3642 = lean_array_push(x_3640, x_3641); @@ -14833,7 +14859,7 @@ lean_ctor_set(x_3668, 0, x_3667); lean_ctor_set(x_3668, 1, x_3666); x_3669 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_3670 = lean_array_push(x_3669, x_3668); -x_3671 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_3671 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_3672 = lean_array_push(x_3670, x_3671); x_3673 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_3674 = lean_array_push(x_3672, x_3673); @@ -14933,6 +14959,7 @@ lean_dec(x_3); lean_dec(x_2); x_3700 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__10; x_3701 = l_Lean_Elab_Term_throwError___rarg(x_11, x_3700, x_5, x_6); +lean_dec(x_11); x_3702 = !lean_is_exclusive(x_3701); if (x_3702 == 0) { @@ -15022,7 +15049,7 @@ lean_ctor_set(x_3733, 0, x_3732); lean_ctor_set(x_3733, 1, x_3731); x_3734 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_3735 = lean_array_push(x_3734, x_3733); -x_3736 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_3736 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_3737 = lean_array_push(x_3735, x_3736); x_3738 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_3739 = lean_array_push(x_3737, x_3738); @@ -15104,7 +15131,7 @@ lean_ctor_set(x_3773, 0, x_3772); lean_ctor_set(x_3773, 1, x_3771); x_3774 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_3775 = lean_array_push(x_3774, x_3773); -x_3776 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_3776 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_3777 = lean_array_push(x_3775, x_3776); x_3778 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_3779 = lean_array_push(x_3777, x_3778); @@ -15179,7 +15206,7 @@ lean_ctor_set(x_3805, 0, x_3804); lean_ctor_set(x_3805, 1, x_3803); x_3806 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_3807 = lean_array_push(x_3806, x_3805); -x_3808 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_3808 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_3809 = lean_array_push(x_3807, x_3808); x_3810 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_3811 = lean_array_push(x_3809, x_3810); @@ -15279,6 +15306,7 @@ lean_dec(x_3); lean_dec(x_2); x_3837 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__10; x_3838 = l_Lean_Elab_Term_throwError___rarg(x_11, x_3837, x_5, x_6); +lean_dec(x_11); x_3839 = !lean_is_exclusive(x_3838); if (x_3839 == 0) { @@ -15367,7 +15395,7 @@ lean_ctor_set(x_3870, 0, x_3869); lean_ctor_set(x_3870, 1, x_3868); x_3871 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_3872 = lean_array_push(x_3871, x_3870); -x_3873 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_3873 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_3874 = lean_array_push(x_3872, x_3873); x_3875 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_3876 = lean_array_push(x_3874, x_3875); @@ -15450,7 +15478,7 @@ lean_ctor_set(x_3910, 0, x_3909); lean_ctor_set(x_3910, 1, x_3908); x_3911 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_3912 = lean_array_push(x_3911, x_3910); -x_3913 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_3913 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_3914 = lean_array_push(x_3912, x_3913); x_3915 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_3916 = lean_array_push(x_3914, x_3915); @@ -15526,7 +15554,7 @@ lean_ctor_set(x_3942, 0, x_3941); lean_ctor_set(x_3942, 1, x_3940); x_3943 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_3944 = lean_array_push(x_3943, x_3942); -x_3945 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_3945 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_3946 = lean_array_push(x_3944, x_3945); x_3947 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_3948 = lean_array_push(x_3946, x_3947); @@ -15627,6 +15655,7 @@ lean_dec(x_3); lean_dec(x_2); x_3974 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__10; x_3975 = l_Lean_Elab_Term_throwError___rarg(x_11, x_3974, x_5, x_6); +lean_dec(x_11); x_3976 = !lean_is_exclusive(x_3975); if (x_3976 == 0) { @@ -15714,7 +15743,7 @@ lean_ctor_set(x_4007, 0, x_4006); lean_ctor_set(x_4007, 1, x_4005); x_4008 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_4009 = lean_array_push(x_4008, x_4007); -x_4010 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_4010 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_4011 = lean_array_push(x_4009, x_4010); x_4012 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_4013 = lean_array_push(x_4011, x_4012); @@ -15758,7 +15787,7 @@ lean_ctor_set(x_4032, 0, x_4031); lean_ctor_set(x_4032, 1, x_4030); x_4033 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_4034 = lean_array_push(x_4033, x_4032); -x_4035 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_4035 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_4036 = lean_array_push(x_4034, x_4035); x_4037 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_4038 = lean_array_push(x_4036, x_4037); @@ -15820,7 +15849,7 @@ lean_ctor_set(x_4063, 0, x_4062); lean_ctor_set(x_4063, 1, x_4061); x_4064 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_4065 = lean_array_push(x_4064, x_4063); -x_4066 = l___private_Init_Lean_Elab_Term_8__expandCDot___closed__4; +x_4066 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_4067 = lean_array_push(x_4065, x_4066); x_4068 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; x_4069 = lean_array_push(x_4067, x_4068); @@ -15907,6 +15936,7 @@ lean_dec(x_3); lean_dec(x_2); x_4094 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__10; x_4095 = l_Lean_Elab_Term_throwError___rarg(x_11, x_4094, x_5, x_6); +lean_dec(x_11); x_4096 = !lean_is_exclusive(x_4095); if (x_4096 == 0) { @@ -16925,7 +16955,7 @@ lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean lean_inc(x_8); x_30 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_30, 0, x_8); -x_31 = l___private_Init_Lean_Elab_Term_11__postponeElabTerm___closed__4; +x_31 = l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__4; x_32 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_32, 0, x_30); lean_ctor_set(x_32, 1, x_31); @@ -17019,7 +17049,7 @@ lean_object* l_Lean_Elab_Term_elabLetEqnsDecl___rarg(lean_object* x_1, lean_obje _start: { lean_object* x_6; lean_object* x_7; -x_6 = l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVar___closed__3; +x_6 = l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVar___closed__3; x_7 = l_Lean_Elab_Term_throwError___rarg(x_1, x_6, x_4, x_5); return x_7; } @@ -17039,6 +17069,7 @@ lean_object* x_6; x_6 = l_Lean_Elab_Term_elabLetEqnsDecl___rarg(x_1, x_2, x_3, x_4, x_5); lean_dec(x_3); lean_dec(x_2); +lean_dec(x_1); return x_6; } } @@ -17055,7 +17086,7 @@ lean_object* l_Lean_Elab_Term_elabLetPatDecl___rarg(lean_object* x_1, lean_objec _start: { lean_object* x_6; lean_object* x_7; -x_6 = l___private_Init_Lean_Elab_Term_17__synthesizeSyntheticMVar___closed__3; +x_6 = l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVar___closed__3; x_7 = l_Lean_Elab_Term_throwError___rarg(x_1, x_6, x_4, x_5); return x_7; } @@ -17075,6 +17106,7 @@ lean_object* x_6; x_6 = l_Lean_Elab_Term_elabLetPatDecl___rarg(x_1, x_2, x_3, x_4, x_5); lean_dec(x_3); lean_dec(x_2); +lean_dec(x_1); return x_6; } } @@ -17249,6 +17281,7 @@ lean_dec(x_8); lean_dec(x_2); x_18 = l_Lean_Elab_Term_elabLet___closed__3; x_19 = l_Lean_Elab_Term_throwError___rarg(x_1, x_18, x_3, x_4); +lean_dec(x_1); return x_19; } else @@ -17258,6 +17291,7 @@ lean_dec(x_1); x_20 = l_Lean_Elab_Term_elabLetPatDecl___rarg(x_8, x_10, x_2, x_3, x_4); lean_dec(x_2); lean_dec(x_10); +lean_dec(x_8); return x_20; } } @@ -17269,6 +17303,7 @@ lean_dec(x_1); x_21 = l_Lean_Elab_Term_elabLetEqnsDecl___rarg(x_8, x_10, x_2, x_3, x_4); lean_dec(x_2); lean_dec(x_10); +lean_dec(x_8); return x_21; } } @@ -17340,6 +17375,7 @@ lean_dec(x_24); lean_dec(x_2); x_36 = l_Lean_Elab_Term_elabLet___closed__3; x_37 = l_Lean_Elab_Term_throwError___rarg(x_1, x_36, x_3, x_4); +lean_dec(x_1); return x_37; } else @@ -17349,6 +17385,7 @@ lean_dec(x_1); x_38 = l_Lean_Elab_Term_elabLetPatDecl___rarg(x_24, x_28, x_2, x_3, x_4); lean_dec(x_2); lean_dec(x_28); +lean_dec(x_24); return x_38; } } @@ -17360,6 +17397,7 @@ lean_dec(x_1); x_39 = l_Lean_Elab_Term_elabLetEqnsDecl___rarg(x_24, x_28, x_2, x_3, x_4); lean_dec(x_2); lean_dec(x_28); +lean_dec(x_24); return x_39; } } @@ -17410,6 +17448,7 @@ lean_dec(x_24); lean_dec(x_2); x_55 = l_Lean_Elab_Term_elabLet___closed__3; x_56 = l_Lean_Elab_Term_throwError___rarg(x_1, x_55, x_3, x_4); +lean_dec(x_1); return x_56; } else @@ -17419,6 +17458,7 @@ lean_dec(x_1); x_57 = l_Lean_Elab_Term_elabLetPatDecl___rarg(x_24, x_47, x_2, x_3, x_4); lean_dec(x_2); lean_dec(x_47); +lean_dec(x_24); return x_57; } } @@ -17430,6 +17470,7 @@ lean_dec(x_1); x_58 = l_Lean_Elab_Term_elabLetEqnsDecl___rarg(x_24, x_47, x_2, x_3, x_4); lean_dec(x_2); lean_dec(x_47); +lean_dec(x_24); return x_58; } } @@ -17502,6 +17543,7 @@ lean_dec(x_24); lean_dec(x_2); x_72 = l_Lean_Elab_Term_elabLet___closed__3; x_73 = l_Lean_Elab_Term_throwError___rarg(x_1, x_72, x_3, x_4); +lean_dec(x_1); return x_73; } else @@ -17511,6 +17553,7 @@ lean_dec(x_1); x_74 = l_Lean_Elab_Term_elabLetPatDecl___rarg(x_24, x_64, x_2, x_3, x_4); lean_dec(x_2); lean_dec(x_64); +lean_dec(x_24); return x_74; } } @@ -17522,6 +17565,7 @@ lean_dec(x_1); x_75 = l_Lean_Elab_Term_elabLetEqnsDecl___rarg(x_24, x_64, x_2, x_3, x_4); lean_dec(x_2); lean_dec(x_64); +lean_dec(x_24); return x_75; } } diff --git a/stage0/stdlib/Init/Lean/Elab/Util.c b/stage0/stdlib/Init/Lean/Elab/Util.c index a3734d0ab6..7c14b3bdcd 100644 --- a/stage0/stdlib/Init/Lean/Elab/Util.c +++ b/stage0/stdlib/Init/Lean/Elab/Util.c @@ -32,6 +32,8 @@ lean_object* l_Lean_Elab_mkElabAttributeAux___rarg(lean_object*, lean_object*, l lean_object* l___private_Init_Lean_Elab_Util_2__throwUnexpectedElabType(lean_object*); lean_object* l_Lean_Elab_macroAttribute___closed__2; lean_object* l_Array_iterateMAux___main___at_Lean_Elab_ElabFnTable_insert___spec__24___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_String_toFormat(lean_object*); +extern lean_object* l_Lean_MessageData_ofList___closed__3; lean_object* l_PersistentHashMap_insertAux___main___at_Lean_Elab_ElabFnTable_insert___spec__22(lean_object*); lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Array_iterateMAux___main___at_Lean_Elab_ElabFnTable_insert___spec__13___rarg(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -60,9 +62,11 @@ lean_object* l_PersistentHashMap_find_x3f___at_Lean_Elab_ElabFnTable_insert___sp lean_object* l___private_Init_Lean_Elab_Util_8__regTraceClasses(lean_object*); lean_object* lean_get_namespaces(lean_object*); lean_object* l_HashMapImp_find_x3f___at_Lean_Elab_ElabFnTable_insert___spec__7(lean_object*); +lean_object* l_Lean_Syntax_reprint___main(lean_object*); lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_Elab_expandMacro___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); +lean_object* l_List_find_x3f___main___rarg(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Util_4__ElabAttribute_addImportedParsers(lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l_PersistentHashMap_find_x3f___at_Lean_Elab_expandMacro___spec__2___boxed(lean_object*, lean_object*); @@ -96,6 +100,7 @@ lean_object* l_Lean_Elab_mkElabAttributeAux___rarg___lambda__1(lean_object*); lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_Elab_mkElabAttributeAux___spec__3___rarg___closed__3; lean_object* l_IO_ofExcept___at___private_Init_Lean_Elab_Util_6__ElabAttribute_add___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_ElabAttribute_inhabited___closed__6; +lean_object* l_List_foldl___main___at_Lean_Elab_addMacroStack___spec__1___closed__1; extern lean_object* l_Lean_PersistentEnvExtension_inhabited___rarg___closed__1; extern lean_object* l_Lean_mkAttributeImplOfConstant___closed__1; lean_object* l_Lean_Elab_macroAttribute___closed__5; @@ -105,11 +110,14 @@ lean_object* l___private_Init_Lean_Elab_Util_7__expandMacroFns___main___lambda__ lean_object* l_Lean_Elab_ElabAttribute_inhabited___closed__5; lean_object* l___private_Init_Lean_Elab_Util_5__ElabAttribute_addExtensionEntry(lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespaces(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SMap_empty___at_Lean_Elab_ElabAttributeExtensionState_inhabited___spec__1(lean_object*); lean_object* l___private_Init_Lean_Elab_Util_6__ElabAttribute_add(lean_object*); +uint8_t l_Lean_Elab_getBetterRef___lambda__1(lean_object*, lean_object*); lean_object* l_PersistentHashMap_empty___at_Lean_Elab_ElabAttributeExtensionState_inhabited___spec__3(lean_object*); extern lean_object* l_Lean_EnvExtension_Inhabited___rarg___closed__1; +lean_object* l_List_foldl___main___at_Lean_Elab_addMacroStack___spec__1(lean_object*, lean_object*); lean_object* l_EStateM_bind___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Elab_mkElabAttributeAux___spec__1(lean_object*); lean_object* l_Lean_SMap_empty___at_Lean_Elab_mkElabAttributeAux___spec__4___closed__1; @@ -126,6 +134,7 @@ lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespaces___boxed(lean_object*, l lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_Elab_mkElabAttributeAux___spec__3(lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); uint8_t l_AssocList_contains___main___at_Lean_Elab_ElabFnTable_insert___spec__15___rarg(lean_object*, lean_object*); +lean_object* l_List_foldl___main___at_Lean_Elab_addMacroStack___spec__1___closed__3; lean_object* l_PersistentHashMap_insertAux___main___at_Lean_Elab_ElabFnTable_insert___spec__22___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); lean_object* l_List_lengthAux___main___rarg(lean_object*, lean_object*); @@ -140,11 +149,13 @@ lean_object* l_Nat_repr(lean_object*); lean_object* l___private_Init_Lean_Elab_Util_4__ElabAttribute_addImportedParsers___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Char_HasRepr___closed__1; extern lean_object* l_PersistentHashMap_insertAux___main___rarg___closed__3; +lean_object* l_Lean_Syntax_prettyPrint(lean_object*); lean_object* l_mkHashMap___at_Lean_Elab_mkBuiltinMacroFnTable___spec__2(lean_object*); lean_object* l_AssocList_find___main___at_Lean_Elab_ElabFnTable_insert___spec__6___rarg___boxed(lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_SMap_empty___at_Lean_Elab_mkElabAttributeAux___spec__4___closed__3; lean_object* l_Lean_Elab_mkElabAttributeAux___rarg___lambda__2(lean_object*); +lean_object* l_List_foldl___main___at_Lean_Elab_addMacroStack___spec__1___closed__2; lean_object* lean_eval_const(lean_object*, lean_object*); lean_object* l_PersistentHashMap_find_x3f___at_Lean_Elab_expandMacro___spec__2(lean_object*, lean_object*); lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_Elab_mkElabAttributeAux___spec__3___rarg___closed__2; @@ -163,6 +174,7 @@ lean_object* l_Lean_registerBuiltinAttribute(lean_object*, lean_object*); lean_object* l_mkHashMap___at_Lean_Elab_ElabAttribute_inhabited___spec__2(lean_object*); lean_object* l_AssocList_find___main___at_Lean_Elab_expandMacro___spec__6(lean_object*, lean_object*); lean_object* l_mkHashMap___at_Lean_Elab_mkElabAttributeAux___spec__5(lean_object*); +lean_object* l_Lean_Elab_addMacroStack(lean_object*, lean_object*); lean_object* l_HashMapImp_moveEntries___main___at_Lean_Elab_ElabFnTable_insert___spec__28(lean_object*); lean_object* l_Lean_Elab_mkElabAttribute___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SMap_empty___at_Lean_Elab_mkBuiltinMacroFnTable___spec__1___closed__1; @@ -172,6 +184,7 @@ lean_object* l_mkHashMapImp___rarg(lean_object*); lean_object* l_PersistentHashMap_findAux___main___at_Lean_Elab_expandMacro___spec__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_syntaxNodeKindOfAttrParam___closed__3; lean_object* l_mkHashMap___at_Lean_Elab_ElabAttributeExtensionState_inhabited___spec__2(lean_object*); +lean_object* l_Lean_Elab_getBetterRef___lambda__1___boxed(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Util_5__ElabAttribute_addExtensionEntry___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_ElabFnTable_insert(lean_object*); lean_object* l_AssocList_find___main___at_Lean_Elab_ElabFnTable_insert___spec__8(lean_object*); @@ -240,6 +253,8 @@ lean_object* l_PersistentHashMap_insert___at_Lean_Elab_ElabFnTable_insert___spec extern lean_object* l_Lean_registerEnvExtensionUnsafe___rarg___closed__2; lean_object* l_AssocList_replace___main___at_Lean_Elab_ElabFnTable_insert___spec__19___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_mul(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getPos(lean_object*); +lean_object* l_Lean_Elab_getBetterRef___boxed(lean_object*, lean_object*); lean_object* l_AssocList_contains___main___at_Lean_Elab_ElabFnTable_insert___spec__15___rarg___boxed(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Util_1__ElabAttribute_mkInitial___rarg(lean_object*, lean_object*); lean_object* lean_io_ref_set(lean_object*, lean_object*, lean_object*); @@ -269,10 +284,12 @@ lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_Elab_ElabFnTable_ins lean_object* l_AssocList_contains___main___at_Lean_Elab_ElabFnTable_insert___spec__26(lean_object*); lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespaces___main___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_AssocList_foldlM___main___at_Lean_Elab_ElabFnTable_insert___spec__18(lean_object*); +lean_object* l_Lean_Syntax_formatStxAux___main(lean_object*, lean_object*, lean_object*); lean_object* l_List_toArrayAux___main___rarg(lean_object*, lean_object*); lean_object* l_HashMapImp_find_x3f___at_Lean_Elab_ElabFnTable_insert___spec__7___rarg(lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_ElabAttributeExtensionState_inhabited(lean_object*); +uint8_t l_List_isEmpty___rarg(lean_object*); lean_object* l_Lean_Name_toStringWithSep___main(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__1; lean_object* lean_usize_to_nat(size_t); @@ -299,12 +316,234 @@ lean_object* l_AssocList_find___main___at_Lean_Elab_ElabFnTable_insert___spec__6 lean_object* l_Lean_Elab_expandMacro___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_HashMapImp_expand___at_Lean_Elab_ElabFnTable_insert___spec__27(lean_object*); lean_object* l_Lean_Elab_mkElabFnOfConstant___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); lean_object* l_Lean_Elab_expandMacro(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_PersistentHashMap_insertAtCollisionNodeAux___main___at_Lean_Elab_ElabFnTable_insert___spec__12___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__3; lean_object* l_PersistentHashMap_insert___at_Lean_Elab_ElabFnTable_insert___spec__21___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_insertAtCollisionNodeAux___main___at_Lean_Elab_ElabFnTable_insert___spec__12(lean_object*); +lean_object* l_Lean_Syntax_prettyPrint(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Syntax_reprint___main(x_1); +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_box(0); +x_4 = lean_unsigned_to_nat(0u); +x_5 = l_Lean_Syntax_formatStxAux___main(x_3, x_4, x_1); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_1); +x_6 = lean_ctor_get(x_2, 0); +lean_inc(x_6); +lean_dec(x_2); +x_7 = l_String_toFormat(x_6); +return x_7; +} +} +} +uint8_t l_Lean_Elab_getBetterRef___lambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Syntax_getPos(x_2); +if (lean_obj_tag(x_3) == 0) +{ +if (lean_obj_tag(x_1) == 0) +{ +uint8_t x_4; +x_4 = 0; +return x_4; +} +else +{ +uint8_t x_5; +x_5 = 1; +return x_5; +} +} +else +{ +if (lean_obj_tag(x_1) == 0) +{ +uint8_t x_6; +lean_dec(x_3); +x_6 = 1; +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_7 = lean_ctor_get(x_3, 0); +lean_inc(x_7); +lean_dec(x_3); +x_8 = lean_ctor_get(x_1, 0); +x_9 = lean_nat_dec_eq(x_7, x_8); +lean_dec(x_7); +if (x_9 == 0) +{ +uint8_t x_10; +x_10 = 1; +return x_10; +} +else +{ +uint8_t x_11; +x_11 = 0; +return x_11; +} +} +} +} +} +lean_object* l_Lean_Elab_getBetterRef(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Syntax_getPos(x_1); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; lean_object* x_5; +x_4 = lean_alloc_closure((void*)(l_Lean_Elab_getBetterRef___lambda__1___boxed), 2, 1); +lean_closure_set(x_4, 0, x_3); +x_5 = l_List_find_x3f___main___rarg(x_4, x_2); +if (lean_obj_tag(x_5) == 0) +{ +lean_inc(x_1); +return x_1; +} +else +{ +lean_object* x_6; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +lean_dec(x_5); +return x_6; +} +} +else +{ +lean_dec(x_3); +lean_dec(x_2); +lean_inc(x_1); +return x_1; +} +} +} +lean_object* l_Lean_Elab_getBetterRef___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Lean_Elab_getBetterRef___lambda__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +lean_object* l_Lean_Elab_getBetterRef___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_getBetterRef(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* _init_l_List_foldl___main___at_Lean_Elab_addMacroStack___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("while expanding"); +return x_1; +} +} +lean_object* _init_l_List_foldl___main___at_Lean_Elab_addMacroStack___spec__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_foldl___main___at_Lean_Elab_addMacroStack___spec__1___closed__1; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_List_foldl___main___at_Lean_Elab_addMacroStack___spec__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_foldl___main___at_Lean_Elab_addMacroStack___spec__1___closed__2; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* l_List_foldl___main___at_Lean_Elab_addMacroStack___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +return x_1; +} +else +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_2, 1); +lean_inc(x_4); +lean_dec(x_2); +x_5 = l_Lean_Syntax_prettyPrint(x_3); +x_6 = l_Lean_MessageData_ofList___closed__3; +x_7 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_7, 0, x_1); +lean_ctor_set(x_7, 1, x_6); +x_8 = l_List_foldl___main___at_Lean_Elab_addMacroStack___spec__1___closed__3; +x_9 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_9, 0, x_7); +lean_ctor_set(x_9, 1, x_8); +x_10 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_10, 0, x_5); +x_11 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_11, 0, x_6); +lean_ctor_set(x_11, 1, x_10); +x_12 = lean_unsigned_to_nat(2u); +x_13 = lean_alloc_ctor(6, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +x_14 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_14, 0, x_9); +lean_ctor_set(x_14, 1, x_13); +x_1 = x_14; +x_2 = x_4; +goto _start; +} +} +} +lean_object* l_Lean_Elab_addMacroStack(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; +x_3 = l_List_isEmpty___rarg(x_2); +if (x_3 == 0) +{ +lean_object* x_4; +x_4 = l_List_foldl___main___at_Lean_Elab_addMacroStack___spec__1(x_1, x_2); +return x_4; +} +else +{ +lean_dec(x_2); +return x_1; +} +} +} lean_object* _init_l_Lean_Elab_checkSyntaxNodeKind___closed__1() { _start: { @@ -5725,6 +5964,12 @@ lean_dec_ref(res); res = initialize_Init_Lean_Parser(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_List_foldl___main___at_Lean_Elab_addMacroStack___spec__1___closed__1 = _init_l_List_foldl___main___at_Lean_Elab_addMacroStack___spec__1___closed__1(); +lean_mark_persistent(l_List_foldl___main___at_Lean_Elab_addMacroStack___spec__1___closed__1); +l_List_foldl___main___at_Lean_Elab_addMacroStack___spec__1___closed__2 = _init_l_List_foldl___main___at_Lean_Elab_addMacroStack___spec__1___closed__2(); +lean_mark_persistent(l_List_foldl___main___at_Lean_Elab_addMacroStack___spec__1___closed__2); +l_List_foldl___main___at_Lean_Elab_addMacroStack___spec__1___closed__3 = _init_l_List_foldl___main___at_Lean_Elab_addMacroStack___spec__1___closed__3(); +lean_mark_persistent(l_List_foldl___main___at_Lean_Elab_addMacroStack___spec__1___closed__3); l_Lean_Elab_checkSyntaxNodeKind___closed__1 = _init_l_Lean_Elab_checkSyntaxNodeKind___closed__1(); lean_mark_persistent(l_Lean_Elab_checkSyntaxNodeKind___closed__1); l_Lean_Elab_checkSyntaxNodeKind___closed__2 = _init_l_Lean_Elab_checkSyntaxNodeKind___closed__2(); diff --git a/stage0/stdlib/Init/Lean/Parser/Command.c b/stage0/stdlib/Init/Lean/Parser/Command.c index ffbdf36718..3b0ae6850f 100644 --- a/stage0/stdlib/Init/Lean/Parser/Command.c +++ b/stage0/stdlib/Init/Lean/Parser/Command.c @@ -97,7 +97,6 @@ lean_object* l_Lean_Parser_Command_introRule___elambda__1___closed__2; lean_object* l_Lean_Parser_Command_export___closed__3; lean_object* l_Lean_Parser_Command_attribute___closed__7; lean_object* l_Lean_Parser_Command_protected___elambda__1___closed__8; -lean_object* l_Lean_Parser_Command_symbol___closed__3; lean_object* l_Lean_Parser_Command_noncomputable; lean_object* l_Lean_Parser_Command_section___elambda__1___closed__9; lean_object* l_Lean_Parser_Command_docComment___closed__5; @@ -228,6 +227,7 @@ lean_object* l_Lean_Parser_Command_set__option___elambda__1___closed__3; lean_object* l_Lean_Parser_Command_constant___closed__9; lean_object* l_Lean_Parser_Command_structure___closed__1; lean_object* l_Lean_Parser_Command_structureTk___elambda__1___closed__1; +lean_object* l_Lean_Parser_Command_strLitPrec___closed__1; lean_object* l_Lean_Parser_Command_check___closed__5; lean_object* l_Lean_Parser_Command_def___elambda__1___closed__3; lean_object* l_Lean_Parser_Command_attrArg___elambda__1(lean_object*, lean_object*, lean_object*); @@ -237,6 +237,7 @@ lean_object* l_Lean_Parser_Command_exit___elambda__1___closed__9; extern lean_object* l_Lean_Parser_manyAux___main___at_Lean_Parser_Term_match___elambda__1___spec__1___closed__1; lean_object* l_Lean_Parser_Command_structExplicitBinder___elambda__1___closed__3; extern lean_object* l_Lean_Parser_Term_typeAscription___elambda__1___closed__6; +lean_object* l_Lean_Parser_Command_strLitPrec___elambda__1___closed__3; lean_object* l_Lean_Parser_Command_syntaxCat___elambda__1___closed__7; lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Command_attributes___elambda__1___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_example; @@ -364,6 +365,7 @@ lean_object* l_Lean_Parser_Command_example___elambda__1___closed__1; lean_object* l_Lean_Parser_manyAux___main___at_Lean_Parser_Command_structFields___elambda__1___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_openRenamingItem___closed__4; lean_object* l_Lean_Parser_Command_open___elambda__1___closed__6; +lean_object* l_Lean_Parser_Command_strLitPrec___closed__2; lean_object* l_Lean_Parser_Command_extends___closed__5; lean_object* l_Lean_Parser_Command_postfix___elambda__1___closed__8; lean_object* l_Lean_Parser_Command_private___closed__5; @@ -431,6 +433,7 @@ lean_object* l_Lean_Parser_Command_noncomputable___elambda__1(lean_object*, lean lean_object* l_Lean_Parser_Command_resolve__name___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_macro___closed__3; lean_object* l_Lean_Parser_Command_variables___closed__5; +lean_object* l_Lean_Parser_Command_strLitPrec___elambda__1___closed__1; lean_object* l_Lean_Parser_Command_attributes___elambda__1___closed__3; extern lean_object* l_Lean_Parser_Term_cons___elambda__1___closed__3; lean_object* l_Lean_Parser_Command_synth; @@ -493,8 +496,11 @@ lean_object* l_Lean_Parser_Command_infix___closed__1; lean_object* l_Lean_Parser_manyAux___main___at_Lean_Parser_Command_macro___elambda__1___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_commandParser___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_stxQuot___elambda__1___closed__2; +lean_object* l_Lean_Parser_Command_strLitPrec; lean_object* l_Lean_Parser_Command_postfix___elambda__1___closed__1; lean_object* l_Lean_Parser_Command_abbrev___elambda__1___closed__1; +lean_object* l_Lean_Parser_Command_mixfixSymbol___closed__4; +lean_object* l_Lean_Parser_Command_strLitPrec___elambda__1___closed__2; lean_object* l_Lean_Parser_quotedSymbol(uint8_t); lean_object* l_Lean_Parser_Command_declModifiers___closed__5; lean_object* l_Lean_Parser_Command_structureTk___closed__1; @@ -512,6 +518,7 @@ lean_object* l_Lean_Parser_Command_postfix; lean_object* l_Lean_Parser_Command_infix___closed__2; lean_object* l_Lean_Parser_Command_export___closed__9; lean_object* l_Lean_Parser_Command_postfix___elambda__1___closed__4; +lean_object* l_Lean_Parser_Command_strLitPrec___closed__4; lean_object* l_Lean_Parser_noFirstTokenInfo(lean_object*); lean_object* l_Lean_Parser_Command_infix___elambda__1___closed__8; lean_object* l_Lean_Parser_Command_prefix___elambda__1___closed__7; @@ -557,6 +564,7 @@ lean_object* l_Lean_Parser_Command_postfix___closed__5; lean_object* l_Lean_Parser_Command_postfix___elambda__1___closed__3; lean_object* l_Lean_Parser_Command_structureTk___elambda__1___closed__5; lean_object* l___regBuiltinParser_Lean_Parser_Command_exit(lean_object*); +lean_object* l_Lean_Parser_Command_strLitPrec___closed__5; lean_object* l_Lean_Parser_Command_mixfixSymbol___closed__1; lean_object* l_Lean_Parser_Command_attrInstance; lean_object* l_Lean_Parser_Command_namespace___elambda__1___closed__8; @@ -729,6 +737,7 @@ lean_object* l_Lean_Parser_Command_structCtor___elambda__1___closed__3; lean_object* l_Lean_Parser_Command_resolve__name___elambda__1___closed__6; lean_object* l_Lean_Parser_Command_commentBody___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_open___elambda__1___closed__4; +lean_object* l_Lean_Parser_Command_mixfixSymbol___closed__3; lean_object* l_Lean_Parser_Command_quotedSymbolPrec___closed__4; lean_object* l_Lean_Parser_Command_attributes___elambda__1___closed__5; lean_object* l_Lean_Parser_Command_declModifiers; @@ -899,7 +908,6 @@ lean_object* l_Lean_Parser_Command_example___elambda__1___closed__9; lean_object* l_Lean_Parser_Command_declVal___closed__1; lean_object* l_Lean_Parser_Command_openRenaming___closed__1; lean_object* l_Lean_Parser_Command_strictInferMod___closed__3; -lean_object* l_Lean_Parser_Command_symbol___elambda__1(lean_object*, lean_object*, lean_object*); extern lean_object* l_Bool_HasRepr___closed__1; lean_object* l_Lean_Parser_Command_check; lean_object* l_Lean_Parser_Command_inductive___elambda__1___closed__4; @@ -1055,6 +1063,7 @@ lean_object* l_Lean_Parser_Command_maxPrec___elambda__1___closed__3; extern lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_explicitUniv___elambda__1___spec__2___closed__1; lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__8; lean_object* l_Lean_Parser_Command_reserve___elambda__1___closed__1; +lean_object* l_Lean_Parser_Command_strLitPrec___closed__3; lean_object* l_Lean_Parser_Command_variable___elambda__1___closed__6; lean_object* l_Lean_Parser_Command_classInductive___elambda__1___closed__1; lean_object* l_Lean_Parser_Command_end___elambda__1___closed__9; @@ -1130,6 +1139,7 @@ extern lean_object* l_Lean_Parser_Term_matchAlt___closed__2; lean_object* l_Lean_Parser_Command_optDeclSig___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__7; lean_object* l_String_trim(lean_object*); +lean_object* l_Lean_Parser_Command_strLitPrec___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_postfix___closed__3; lean_object* l_Lean_Parser_Command_structure___elambda__1(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Level_paren___elambda__1___closed__8; @@ -1141,7 +1151,6 @@ lean_object* l_Lean_Parser_Command_attributes; lean_object* l_Lean_Parser_Command_resolve__name___closed__5; lean_object* l_Lean_Parser_Command_relaxedInferMod___closed__1; lean_object* l_Lean_Parser_Command_openOnly___elambda__1___closed__2; -lean_object* l_Lean_Parser_Command_symbol___closed__2; lean_object* l_Lean_Parser_Command_declaration___elambda__1___closed__1; lean_object* l_Lean_Parser_Command_attribute___elambda__1___closed__1; lean_object* l_Lean_Parser_Command_axiom___closed__1; @@ -1151,7 +1160,6 @@ lean_object* l_Lean_Parser_Command_mixfixKind___closed__3; lean_object* l_Lean_Parser_Command_infixr___elambda__1___closed__1; extern lean_object* l_Lean_Parser_Term_typeAscription___closed__2; lean_object* l_Lean_Parser_Command_private___elambda__1___closed__7; -lean_object* l_Lean_Parser_Command_symbol; lean_object* l_Lean_Parser_Command_noncomputable___elambda__1___closed__6; lean_object* l_Lean_Parser_Command_structure___closed__13; lean_object* l_Lean_Parser_Command_check___closed__2; @@ -1338,7 +1346,6 @@ lean_object* l_Lean_Parser_Command_open___closed__9; lean_object* l_Lean_Parser_Command_example___closed__2; lean_object* l_Lean_Parser_Command_syntaxCat; lean_object* l_Lean_Parser_Command_reserve___closed__5; -lean_object* l_Lean_Parser_Command_symbol___closed__4; lean_object* l_Lean_Parser_Command_instance___closed__7; lean_object* l_Lean_Parser_Command_attribute___closed__4; lean_object* l_Lean_Parser_Command_precedenceLit___closed__3; @@ -1404,7 +1411,6 @@ extern lean_object* l_Lean_Parser_Term_listLit___elambda__1___closed__6; extern lean_object* l_Lean_Parser_Level_paren___closed__1; lean_object* l_Lean_Parser_Command_attribute___elambda__1___closed__3; lean_object* l___regBuiltinParser_Lean_Parser_Command_synth(lean_object*); -lean_object* l_Lean_Parser_Command_symbol___closed__1; lean_object* l_Lean_Parser_Command_attributes___elambda__1___closed__1; lean_object* l_Lean_Parser_Command_end___closed__2; lean_object* l_Lean_Parser_Term_stxQuot___elambda__1___closed__7; @@ -1423,6 +1429,7 @@ lean_object* l_Lean_Parser_Command_instance___elambda__1___closed__6; lean_object* l_Lean_Parser_Command_set__option___closed__11; lean_object* l_Lean_Parser_Command_open___elambda__1___closed__9; lean_object* l_Lean_Parser_Command_theorem___closed__2; +lean_object* l_Lean_Parser_Command_strLitPrec___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_declId___elambda__1___closed__2; extern lean_object* l_Lean_Parser_mkAntiquot___closed__1; lean_object* l_Lean_Parser_Command_constant; @@ -26886,110 +26893,6 @@ x_1 = l_Lean_Parser_Command_quotedSymbolPrec___closed__7; return x_1; } } -lean_object* l_Lean_Parser_Command_symbol___elambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_4 = lean_ctor_get(x_3, 0); -lean_inc(x_4); -x_5 = lean_array_get_size(x_4); -lean_dec(x_4); -x_6 = lean_ctor_get(x_3, 1); -lean_inc(x_6); -lean_inc(x_2); -x_7 = l_Lean_Parser_Command_quotedSymbolPrec___elambda__1(x_1, x_2, x_3); -x_8 = lean_ctor_get(x_7, 3); -lean_inc(x_8); -if (lean_obj_tag(x_8) == 0) -{ -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -return x_7; -} -else -{ -lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -lean_dec(x_8); -x_10 = lean_ctor_get(x_7, 1); -lean_inc(x_10); -x_11 = lean_nat_dec_eq(x_10, x_6); -lean_dec(x_10); -if (x_11 == 0) -{ -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -return x_7; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -lean_inc(x_6); -x_12 = l_Lean_Parser_ParserState_restore(x_7, x_5, x_6); -lean_dec(x_5); -x_13 = l_Lean_Parser_unquotedSymbolFn___rarg(x_2, x_12); -x_14 = l_Lean_Parser_mergeOrElseErrors(x_13, x_9, x_6); -lean_dec(x_6); -return x_14; -} -} -} -} -lean_object* _init_l_Lean_Parser_Command_symbol___closed__1() { -_start: -{ -uint8_t x_1; lean_object* x_2; -x_1 = 0; -x_2 = l_Lean_Parser_unquotedSymbol(x_1); -return x_2; -} -} -lean_object* _init_l_Lean_Parser_Command_symbol___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Parser_Command_quotedSymbolPrec; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = l_Lean_Parser_Command_symbol___closed__1; -x_4 = lean_ctor_get(x_3, 0); -lean_inc(x_4); -x_5 = l_Lean_Parser_orelseInfo(x_2, x_4); -return x_5; -} -} -lean_object* _init_l_Lean_Parser_Command_symbol___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_symbol___elambda__1), 3, 0); -return x_1; -} -} -lean_object* _init_l_Lean_Parser_Command_symbol___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_symbol___closed__2; -x_2 = l_Lean_Parser_Command_symbol___closed__3; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Parser_Command_symbol() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Parser_Command_symbol___closed__4; -return x_1; -} -} lean_object* _init_l_Lean_Parser_Command_prefix___elambda__1___closed__1() { _start: { @@ -29007,17 +28910,40 @@ return x_14; lean_object* _init_l_Lean_Parser_Command_mixfixSymbol___closed__1() { _start: { -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_mixfixSymbol___elambda__1), 3, 0); -return x_1; +uint8_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = l_Lean_Parser_unquotedSymbol(x_1); +return x_2; } } lean_object* _init_l_Lean_Parser_Command_mixfixSymbol___closed__2() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Parser_Command_quotedSymbolPrec; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Command_mixfixSymbol___closed__1; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = l_Lean_Parser_orelseInfo(x_2, x_4); +return x_5; +} +} +lean_object* _init_l_Lean_Parser_Command_mixfixSymbol___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_mixfixSymbol___elambda__1), 3, 0); +return x_1; +} +} +lean_object* _init_l_Lean_Parser_Command_mixfixSymbol___closed__4() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_symbol___closed__2; -x_2 = l_Lean_Parser_Command_mixfixSymbol___closed__1; +x_1 = l_Lean_Parser_Command_mixfixSymbol___closed__2; +x_2 = l_Lean_Parser_Command_mixfixSymbol___closed__3; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -29028,7 +28954,7 @@ lean_object* _init_l_Lean_Parser_Command_mixfixSymbol() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Command_mixfixSymbol___closed__2; +x_1 = l_Lean_Parser_Command_mixfixSymbol___closed__4; return x_1; } } @@ -29332,6 +29258,239 @@ x_6 = l_Lean_Parser_addBuiltinParser(x_2, x_3, x_4, x_5, x_1); return x_6; } } +lean_object* _init_l_Lean_Parser_Command_strLitPrec___elambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("strLitPrec"); +return x_1; +} +} +lean_object* _init_l_Lean_Parser_Command_strLitPrec___elambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltinParser_Lean_Parser_Command_antiquot___closed__2; +x_2 = l_Lean_Parser_Command_strLitPrec___elambda__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Command_strLitPrec___elambda__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_strLitPrec___elambda__1___closed__2; +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_Command_strLitPrec___elambda__1___closed__4() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; +x_1 = 0; +x_2 = l_Lean_Parser_Command_strLitPrec___elambda__1___closed__1; +x_3 = l_Lean_Parser_Command_strLitPrec___elambda__1___closed__3; +x_4 = 1; +x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4); +return x_5; +} +} +lean_object* l_Lean_Parser_Command_strLitPrec___elambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_4 = l_Lean_Parser_Command_strLitPrec___elambda__1___closed__4; +x_5 = lean_ctor_get(x_4, 1); +lean_inc(x_5); +x_6 = lean_ctor_get(x_3, 0); +lean_inc(x_6); +x_7 = lean_array_get_size(x_6); +lean_dec(x_6); +x_8 = lean_ctor_get(x_3, 1); +lean_inc(x_8); +lean_inc(x_2); +lean_inc(x_1); +x_9 = lean_apply_3(x_5, x_1, x_2, x_3); +x_10 = lean_ctor_get(x_9, 3); +lean_inc(x_10); +if (lean_obj_tag(x_10) == 0) +{ +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_2); +lean_dec(x_1); +return x_9; +} +else +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_ctor_get(x_9, 1); +lean_inc(x_12); +x_13 = lean_nat_dec_eq(x_12, x_8); +lean_dec(x_12); +if (x_13 == 0) +{ +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_2); +lean_dec(x_1); +return x_9; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +lean_inc(x_8); +x_14 = l_Lean_Parser_ParserState_restore(x_9, x_7, x_8); +lean_dec(x_7); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_array_get_size(x_15); +lean_dec(x_15); +lean_inc(x_2); +x_17 = l_Lean_Parser_strLitFn___rarg(x_2, x_14); +x_18 = lean_ctor_get(x_17, 3); +lean_inc(x_18); +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; +x_19 = lean_ctor_get(x_17, 0); +lean_inc(x_19); +x_20 = lean_array_get_size(x_19); +lean_dec(x_19); +x_21 = lean_ctor_get(x_17, 1); +lean_inc(x_21); +x_22 = l_Lean_Parser_Command_precedence___elambda__1(x_1, x_2, x_17); +x_23 = lean_ctor_get(x_22, 3); +lean_inc(x_23); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_dec(x_21); +x_24 = l_Lean_nullKind; +x_25 = l_Lean_Parser_ParserState_mkNode(x_22, x_24, x_20); +x_26 = l_Lean_Parser_Command_strLitPrec___elambda__1___closed__2; +x_27 = l_Lean_Parser_ParserState_mkNode(x_25, x_26, x_16); +x_28 = l_Lean_Parser_mergeOrElseErrors(x_27, x_11, x_8); +lean_dec(x_8); +return x_28; +} +else +{ +lean_object* x_29; uint8_t x_30; +lean_dec(x_23); +x_29 = lean_ctor_get(x_22, 1); +lean_inc(x_29); +x_30 = lean_nat_dec_eq(x_29, x_21); +lean_dec(x_29); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +lean_dec(x_21); +x_31 = l_Lean_nullKind; +x_32 = l_Lean_Parser_ParserState_mkNode(x_22, x_31, x_20); +x_33 = l_Lean_Parser_Command_strLitPrec___elambda__1___closed__2; +x_34 = l_Lean_Parser_ParserState_mkNode(x_32, x_33, x_16); +x_35 = l_Lean_Parser_mergeOrElseErrors(x_34, x_11, x_8); +lean_dec(x_8); +return x_35; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_36 = l_Lean_Parser_ParserState_restore(x_22, x_20, x_21); +x_37 = l_Lean_nullKind; +x_38 = l_Lean_Parser_ParserState_mkNode(x_36, x_37, x_20); +x_39 = l_Lean_Parser_Command_strLitPrec___elambda__1___closed__2; +x_40 = l_Lean_Parser_ParserState_mkNode(x_38, x_39, x_16); +x_41 = l_Lean_Parser_mergeOrElseErrors(x_40, x_11, x_8); +lean_dec(x_8); +return x_41; +} +} +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +lean_dec(x_18); +lean_dec(x_2); +lean_dec(x_1); +x_42 = l_Lean_Parser_Command_strLitPrec___elambda__1___closed__2; +x_43 = l_Lean_Parser_ParserState_mkNode(x_17, x_42, x_16); +x_44 = l_Lean_Parser_mergeOrElseErrors(x_43, x_11, x_8); +lean_dec(x_8); +return x_44; +} +} +} +} +} +lean_object* _init_l_Lean_Parser_Command_strLitPrec___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_strLit___closed__1; +x_2 = l_Lean_Parser_Command_quotedSymbolPrec___closed__2; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Command_strLitPrec___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_strLitPrec___elambda__1___closed__2; +x_2 = l_Lean_Parser_Command_strLitPrec___closed__1; +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Command_strLitPrec___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_strLitPrec___elambda__1___closed__4; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Command_strLitPrec___closed__2; +x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); +return x_4; +} +} +lean_object* _init_l_Lean_Parser_Command_strLitPrec___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_strLitPrec___elambda__1), 3, 0); +return x_1; +} +} +lean_object* _init_l_Lean_Parser_Command_strLitPrec___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_strLitPrec___closed__3; +x_2 = l_Lean_Parser_Command_strLitPrec___closed__4; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Command_strLitPrec() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Command_strLitPrec___closed__5; +return x_1; +} +} lean_object* _init_l_Lean_Parser_Command_identPrec___elambda__1___closed__1() { _start: { @@ -29585,7 +29744,7 @@ x_7 = lean_ctor_get(x_4, 1); lean_inc(x_7); lean_inc(x_3); lean_inc(x_2); -x_19 = l_Lean_Parser_Command_quotedSymbolPrec___elambda__1(x_2, x_3, x_4); +x_19 = l_Lean_Parser_Command_strLitPrec___elambda__1(x_2, x_3, x_4); x_20 = lean_ctor_get(x_19, 3); lean_inc(x_20); if (lean_obj_tag(x_20) == 0) @@ -29611,16 +29770,61 @@ goto block_18; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_inc(x_7); x_24 = l_Lean_Parser_ParserState_restore(x_19, x_6, x_7); +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_array_get_size(x_25); +lean_dec(x_25); lean_inc(x_3); lean_inc(x_2); -x_25 = l_Lean_Parser_Command_identPrec___elambda__1(x_2, x_3, x_24); -x_26 = l_Lean_Parser_mergeOrElseErrors(x_25, x_21, x_7); -x_8 = x_26; +x_27 = l_Lean_Parser_Command_quotedSymbolPrec___elambda__1(x_2, x_3, x_24); +x_28 = lean_ctor_get(x_27, 3); +lean_inc(x_28); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; +lean_dec(x_26); +x_29 = l_Lean_Parser_mergeOrElseErrors(x_27, x_21, x_7); +x_8 = x_29; goto block_18; } +else +{ +lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_30 = lean_ctor_get(x_28, 0); +lean_inc(x_30); +lean_dec(x_28); +x_31 = lean_ctor_get(x_27, 1); +lean_inc(x_31); +x_32 = lean_nat_dec_eq(x_31, x_7); +lean_dec(x_31); +if (x_32 == 0) +{ +lean_object* x_33; +lean_dec(x_30); +lean_dec(x_26); +x_33 = l_Lean_Parser_mergeOrElseErrors(x_27, x_21, x_7); +x_8 = x_33; +goto block_18; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +lean_inc(x_7); +x_34 = l_Lean_Parser_ParserState_restore(x_27, x_26, x_7); +lean_dec(x_26); +lean_inc(x_3); +lean_inc(x_2); +x_35 = l_Lean_Parser_Command_identPrec___elambda__1(x_2, x_3, x_34); +x_36 = l_Lean_Parser_mergeOrElseErrors(x_35, x_30, x_7); +x_37 = l_Lean_Parser_mergeOrElseErrors(x_36, x_21, x_7); +x_8 = x_37; +goto block_18; +} +} +} } block_18: { @@ -29762,426 +29966,235 @@ return x_3; lean_object* l_Lean_Parser_Command_notation___elambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_4 = l_Lean_Parser_Level_ident___elambda__1___closed__4; +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_4 = l_Lean_Parser_Command_notation___elambda__1___closed__4; x_5 = lean_ctor_get(x_4, 1); lean_inc(x_5); -x_6 = l_Lean_Parser_Command_notation___elambda__1___closed__4; -x_7 = lean_ctor_get(x_6, 1); -lean_inc(x_7); -x_8 = lean_ctor_get(x_3, 0); +x_6 = lean_ctor_get(x_3, 0); +lean_inc(x_6); +x_7 = lean_array_get_size(x_6); +lean_dec(x_6); +x_8 = lean_ctor_get(x_3, 1); lean_inc(x_8); -x_9 = lean_array_get_size(x_8); -lean_dec(x_8); -x_10 = lean_ctor_get(x_3, 1); -lean_inc(x_10); lean_inc(x_2); lean_inc(x_1); -x_11 = lean_apply_3(x_7, x_1, x_2, x_3); -x_12 = lean_ctor_get(x_11, 3); +x_9 = lean_apply_3(x_5, x_1, x_2, x_3); +x_10 = lean_ctor_get(x_9, 3); +lean_inc(x_10); +if (lean_obj_tag(x_10) == 0) +{ +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_2); +lean_dec(x_1); +return x_9; +} +else +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_ctor_get(x_9, 1); lean_inc(x_12); -if (lean_obj_tag(x_12) == 0) -{ -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_5); -lean_dec(x_2); -lean_dec(x_1); -return x_11; -} -else -{ -lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); +x_13 = lean_nat_dec_eq(x_12, x_8); lean_dec(x_12); -x_14 = lean_ctor_get(x_11, 1); -lean_inc(x_14); -x_15 = lean_nat_dec_eq(x_14, x_10); -lean_dec(x_14); -if (x_15 == 0) +if (x_13 == 0) { -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_5); +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_7); lean_dec(x_2); lean_dec(x_1); -return x_11; +return x_9; } else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_64; lean_object* x_126; lean_object* x_127; -lean_inc(x_10); -x_16 = l_Lean_Parser_ParserState_restore(x_11, x_9, x_10); -lean_dec(x_9); -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_array_get_size(x_17); -lean_dec(x_17); +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_62; lean_object* x_63; +lean_inc(x_8); +x_14 = l_Lean_Parser_ParserState_restore(x_9, x_7, x_8); +lean_dec(x_7); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_array_get_size(x_15); +lean_dec(x_15); lean_inc(x_2); -x_126 = l_Lean_Parser_tokenFn(x_2, x_16); -x_127 = lean_ctor_get(x_126, 3); -lean_inc(x_127); -if (lean_obj_tag(x_127) == 0) +x_62 = l_Lean_Parser_tokenFn(x_2, x_14); +x_63 = lean_ctor_get(x_62, 3); +lean_inc(x_63); +if (lean_obj_tag(x_63) == 0) { -lean_object* x_128; lean_object* x_129; -x_128 = lean_ctor_get(x_126, 0); -lean_inc(x_128); -x_129 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__updateCache___spec__1(x_128); -lean_dec(x_128); -if (lean_obj_tag(x_129) == 2) +lean_object* x_64; lean_object* x_65; +x_64 = lean_ctor_get(x_62, 0); +lean_inc(x_64); +x_65 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__updateCache___spec__1(x_64); +lean_dec(x_64); +if (lean_obj_tag(x_65) == 2) { -lean_object* x_130; lean_object* x_131; uint8_t x_132; -x_130 = lean_ctor_get(x_129, 1); -lean_inc(x_130); -lean_dec(x_129); -x_131 = l_Lean_Parser_Command_notation___elambda__1___closed__5; -x_132 = lean_string_dec_eq(x_130, x_131); -lean_dec(x_130); -if (x_132 == 0) +lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_66 = lean_ctor_get(x_65, 1); +lean_inc(x_66); +lean_dec(x_65); +x_67 = l_Lean_Parser_Command_notation___elambda__1___closed__5; +x_68 = lean_string_dec_eq(x_66, x_67); +lean_dec(x_66); +if (x_68 == 0) { -lean_object* x_133; lean_object* x_134; -x_133 = l_Lean_Parser_Command_notation___elambda__1___closed__8; -lean_inc(x_10); -x_134 = l_Lean_Parser_ParserState_mkErrorsAt(x_126, x_133, x_10); -x_64 = x_134; -goto block_125; +lean_object* x_69; lean_object* x_70; +x_69 = l_Lean_Parser_Command_notation___elambda__1___closed__8; +lean_inc(x_8); +x_70 = l_Lean_Parser_ParserState_mkErrorsAt(x_62, x_69, x_8); +x_17 = x_70; +goto block_61; } else { -x_64 = x_126; -goto block_125; +x_17 = x_62; +goto block_61; } } else { -lean_object* x_135; lean_object* x_136; -lean_dec(x_129); -x_135 = l_Lean_Parser_Command_notation___elambda__1___closed__8; -lean_inc(x_10); -x_136 = l_Lean_Parser_ParserState_mkErrorsAt(x_126, x_135, x_10); -x_64 = x_136; -goto block_125; +lean_object* x_71; lean_object* x_72; +lean_dec(x_65); +x_71 = l_Lean_Parser_Command_notation___elambda__1___closed__8; +lean_inc(x_8); +x_72 = l_Lean_Parser_ParserState_mkErrorsAt(x_62, x_71, x_8); +x_17 = x_72; +goto block_61; } } else { -lean_object* x_137; lean_object* x_138; -lean_dec(x_127); -x_137 = l_Lean_Parser_Command_notation___elambda__1___closed__8; -lean_inc(x_10); -x_138 = l_Lean_Parser_ParserState_mkErrorsAt(x_126, x_137, x_10); -x_64 = x_138; -goto block_125; +lean_object* x_73; lean_object* x_74; +lean_dec(x_63); +x_73 = l_Lean_Parser_Command_notation___elambda__1___closed__8; +lean_inc(x_8); +x_74 = l_Lean_Parser_ParserState_mkErrorsAt(x_62, x_73, x_8); +x_17 = x_74; +goto block_61; } -block_63: +block_61: { -lean_object* x_20; -x_20 = lean_ctor_get(x_19, 3); -lean_inc(x_20); -if (lean_obj_tag(x_20) == 0) +lean_object* x_18; +x_18 = lean_ctor_get(x_17, 3); +lean_inc(x_18); +if (lean_obj_tag(x_18) == 0) { -lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_21 = lean_ctor_get(x_19, 0); -lean_inc(x_21); -x_22 = lean_array_get_size(x_21); -lean_dec(x_21); -x_23 = 0; +lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_19 = lean_ctor_get(x_17, 0); +lean_inc(x_19); +x_20 = lean_array_get_size(x_19); +lean_dec(x_19); +x_21 = 0; lean_inc(x_2); -x_24 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Command_notation___elambda__1___spec__1(x_23, x_1, x_2, x_19); -x_25 = l_Lean_nullKind; -x_26 = l_Lean_Parser_ParserState_mkNode(x_24, x_25, x_22); -x_27 = lean_ctor_get(x_26, 3); -lean_inc(x_27); -if (lean_obj_tag(x_27) == 0) +x_22 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Command_notation___elambda__1___spec__1(x_21, x_1, x_2, x_17); +x_23 = l_Lean_nullKind; +x_24 = l_Lean_Parser_ParserState_mkNode(x_22, x_23, x_20); +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; lean_object* x_30; -x_28 = lean_ctor_get(x_26, 1); +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_inc(x_2); +x_27 = l_Lean_Parser_tokenFn(x_2, x_24); +x_28 = lean_ctor_get(x_27, 3); lean_inc(x_28); -lean_inc(x_2); -x_29 = l_Lean_Parser_tokenFn(x_2, x_26); -x_30 = lean_ctor_get(x_29, 3); -lean_inc(x_30); -if (lean_obj_tag(x_30) == 0) +if (lean_obj_tag(x_28) == 0) { -lean_object* x_31; lean_object* x_32; -x_31 = lean_ctor_get(x_29, 0); +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_27, 0); +lean_inc(x_29); +x_30 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__updateCache___spec__1(x_29); +lean_dec(x_29); +if (lean_obj_tag(x_30) == 2) +{ +lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_31 = lean_ctor_get(x_30, 1); lean_inc(x_31); -x_32 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__updateCache___spec__1(x_31); +lean_dec(x_30); +x_32 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__5; +x_33 = lean_string_dec_eq(x_31, x_32); lean_dec(x_31); -if (lean_obj_tag(x_32) == 2) +if (x_33 == 0) { -lean_object* x_33; lean_object* x_34; uint8_t x_35; -x_33 = lean_ctor_get(x_32, 1); -lean_inc(x_33); -lean_dec(x_32); -x_34 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__5; -x_35 = lean_string_dec_eq(x_33, x_34); -lean_dec(x_33); -if (x_35 == 0) -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_dec(x_2); -x_36 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__8; -x_37 = l_Lean_Parser_ParserState_mkErrorsAt(x_29, x_36, x_28); -x_38 = l_Lean_Parser_Command_notation___elambda__1___closed__2; -x_39 = l_Lean_Parser_ParserState_mkNode(x_37, x_38, x_18); -x_40 = l_Lean_Parser_mergeOrElseErrors(x_39, x_13, x_10); -lean_dec(x_10); -return x_40; +x_34 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__8; +x_35 = l_Lean_Parser_ParserState_mkErrorsAt(x_27, x_34, x_26); +x_36 = l_Lean_Parser_Command_notation___elambda__1___closed__2; +x_37 = l_Lean_Parser_ParserState_mkNode(x_35, x_36, x_16); +x_38 = l_Lean_Parser_mergeOrElseErrors(x_37, x_11, x_8); +lean_dec(x_8); +return x_38; } 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_dec(x_28); -x_41 = l_Lean_Parser_regBuiltinTermParserAttr___closed__4; -x_42 = lean_unsigned_to_nat(0u); -x_43 = l_Lean_Parser_categoryParserFn(x_41, x_42, x_2, x_29); -x_44 = l_Lean_Parser_Command_notation___elambda__1___closed__2; -x_45 = l_Lean_Parser_ParserState_mkNode(x_43, x_44, x_18); -x_46 = l_Lean_Parser_mergeOrElseErrors(x_45, x_13, x_10); -lean_dec(x_10); -return x_46; +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +lean_dec(x_26); +x_39 = l_Lean_Parser_regBuiltinTermParserAttr___closed__4; +x_40 = lean_unsigned_to_nat(0u); +x_41 = l_Lean_Parser_categoryParserFn(x_39, x_40, x_2, x_27); +x_42 = l_Lean_Parser_Command_notation___elambda__1___closed__2; +x_43 = l_Lean_Parser_ParserState_mkNode(x_41, x_42, x_16); +x_44 = l_Lean_Parser_mergeOrElseErrors(x_43, x_11, x_8); +lean_dec(x_8); +return x_44; } } else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -lean_dec(x_32); -lean_dec(x_2); -x_47 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__8; -x_48 = l_Lean_Parser_ParserState_mkErrorsAt(x_29, x_47, x_28); -x_49 = l_Lean_Parser_Command_notation___elambda__1___closed__2; -x_50 = l_Lean_Parser_ParserState_mkNode(x_48, x_49, x_18); -x_51 = l_Lean_Parser_mergeOrElseErrors(x_50, x_13, x_10); -lean_dec(x_10); -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_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_dec(x_30); lean_dec(x_2); -x_52 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__8; -x_53 = l_Lean_Parser_ParserState_mkErrorsAt(x_29, x_52, x_28); -x_54 = l_Lean_Parser_Command_notation___elambda__1___closed__2; -x_55 = l_Lean_Parser_ParserState_mkNode(x_53, x_54, x_18); -x_56 = l_Lean_Parser_mergeOrElseErrors(x_55, x_13, x_10); -lean_dec(x_10); -return x_56; +x_45 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__8; +x_46 = l_Lean_Parser_ParserState_mkErrorsAt(x_27, x_45, x_26); +x_47 = l_Lean_Parser_Command_notation___elambda__1___closed__2; +x_48 = l_Lean_Parser_ParserState_mkNode(x_46, x_47, x_16); +x_49 = l_Lean_Parser_mergeOrElseErrors(x_48, x_11, x_8); +lean_dec(x_8); +return x_49; } } else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; -lean_dec(x_27); +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +lean_dec(x_28); lean_dec(x_2); -x_57 = l_Lean_Parser_Command_notation___elambda__1___closed__2; -x_58 = l_Lean_Parser_ParserState_mkNode(x_26, x_57, x_18); -x_59 = l_Lean_Parser_mergeOrElseErrors(x_58, x_13, x_10); -lean_dec(x_10); -return x_59; +x_50 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__8; +x_51 = l_Lean_Parser_ParserState_mkErrorsAt(x_27, x_50, x_26); +x_52 = l_Lean_Parser_Command_notation___elambda__1___closed__2; +x_53 = l_Lean_Parser_ParserState_mkNode(x_51, x_52, x_16); +x_54 = l_Lean_Parser_mergeOrElseErrors(x_53, x_11, x_8); +lean_dec(x_8); +return x_54; } } else { -lean_object* x_60; lean_object* x_61; lean_object* x_62; -lean_dec(x_20); +lean_object* x_55; lean_object* x_56; lean_object* x_57; +lean_dec(x_25); +lean_dec(x_2); +x_55 = l_Lean_Parser_Command_notation___elambda__1___closed__2; +x_56 = l_Lean_Parser_ParserState_mkNode(x_24, x_55, x_16); +x_57 = l_Lean_Parser_mergeOrElseErrors(x_56, x_11, x_8); +lean_dec(x_8); +return x_57; +} +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; +lean_dec(x_18); lean_dec(x_2); lean_dec(x_1); -x_60 = l_Lean_Parser_Command_notation___elambda__1___closed__2; -x_61 = l_Lean_Parser_ParserState_mkNode(x_19, x_60, x_18); -x_62 = l_Lean_Parser_mergeOrElseErrors(x_61, x_13, x_10); -lean_dec(x_10); -return x_62; -} -} -block_125: -{ -lean_object* x_65; -x_65 = lean_ctor_get(x_64, 3); -lean_inc(x_65); -if (lean_obj_tag(x_65) == 0) -{ -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_66 = lean_ctor_get(x_64, 0); -lean_inc(x_66); -x_67 = lean_array_get_size(x_66); -lean_dec(x_66); -x_68 = lean_ctor_get(x_64, 1); -lean_inc(x_68); -lean_inc(x_2); -lean_inc(x_1); -x_69 = lean_apply_3(x_5, x_1, x_2, x_64); -x_70 = lean_ctor_get(x_69, 3); -lean_inc(x_70); -if (lean_obj_tag(x_70) == 0) -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; -lean_dec(x_68); -x_71 = l_Lean_nullKind; -x_72 = l_Lean_Parser_ParserState_mkNode(x_69, x_71, x_67); -x_73 = lean_ctor_get(x_72, 3); -lean_inc(x_73); -if (lean_obj_tag(x_73) == 0) -{ -lean_object* x_74; lean_object* x_75; uint8_t x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_74 = lean_ctor_get(x_72, 0); -lean_inc(x_74); -x_75 = lean_array_get_size(x_74); -lean_dec(x_74); -x_76 = 0; -lean_inc(x_2); -x_77 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Command_notation___elambda__1___spec__1(x_76, x_1, x_2, x_72); -x_78 = l_Lean_Parser_ParserState_mkNode(x_77, x_71, x_75); -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_object* x_82; -x_80 = lean_ctor_get(x_78, 1); -lean_inc(x_80); -lean_inc(x_2); -x_81 = l_Lean_Parser_tokenFn(x_2, x_78); -x_82 = lean_ctor_get(x_81, 3); -lean_inc(x_82); -if (lean_obj_tag(x_82) == 0) -{ -lean_object* x_83; lean_object* x_84; -x_83 = lean_ctor_get(x_81, 0); -lean_inc(x_83); -x_84 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__updateCache___spec__1(x_83); -lean_dec(x_83); -if (lean_obj_tag(x_84) == 2) -{ -lean_object* x_85; lean_object* x_86; uint8_t x_87; -x_85 = lean_ctor_get(x_84, 1); -lean_inc(x_85); -lean_dec(x_84); -x_86 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__5; -x_87 = lean_string_dec_eq(x_85, x_86); -lean_dec(x_85); -if (x_87 == 0) -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; -lean_dec(x_2); -x_88 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__8; -x_89 = l_Lean_Parser_ParserState_mkErrorsAt(x_81, x_88, x_80); -x_90 = l_Lean_Parser_Command_notation___elambda__1___closed__2; -x_91 = l_Lean_Parser_ParserState_mkNode(x_89, x_90, x_18); -x_92 = l_Lean_Parser_mergeOrElseErrors(x_91, x_13, x_10); -lean_dec(x_10); -return x_92; -} -else -{ -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; -lean_dec(x_80); -x_93 = l_Lean_Parser_regBuiltinTermParserAttr___closed__4; -x_94 = lean_unsigned_to_nat(0u); -x_95 = l_Lean_Parser_categoryParserFn(x_93, x_94, x_2, x_81); -x_96 = l_Lean_Parser_Command_notation___elambda__1___closed__2; -x_97 = l_Lean_Parser_ParserState_mkNode(x_95, x_96, x_18); -x_98 = l_Lean_Parser_mergeOrElseErrors(x_97, x_13, x_10); -lean_dec(x_10); -return x_98; -} -} -else -{ -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; -lean_dec(x_84); -lean_dec(x_2); -x_99 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__8; -x_100 = l_Lean_Parser_ParserState_mkErrorsAt(x_81, x_99, x_80); -x_101 = l_Lean_Parser_Command_notation___elambda__1___closed__2; -x_102 = l_Lean_Parser_ParserState_mkNode(x_100, x_101, x_18); -x_103 = l_Lean_Parser_mergeOrElseErrors(x_102, x_13, x_10); -lean_dec(x_10); -return x_103; -} -} -else -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; -lean_dec(x_82); -lean_dec(x_2); -x_104 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__8; -x_105 = l_Lean_Parser_ParserState_mkErrorsAt(x_81, x_104, x_80); -x_106 = l_Lean_Parser_Command_notation___elambda__1___closed__2; -x_107 = l_Lean_Parser_ParserState_mkNode(x_105, x_106, x_18); -x_108 = l_Lean_Parser_mergeOrElseErrors(x_107, x_13, x_10); -lean_dec(x_10); -return x_108; -} -} -else -{ -lean_object* x_109; lean_object* x_110; lean_object* x_111; -lean_dec(x_79); -lean_dec(x_2); -x_109 = l_Lean_Parser_Command_notation___elambda__1___closed__2; -x_110 = l_Lean_Parser_ParserState_mkNode(x_78, x_109, x_18); -x_111 = l_Lean_Parser_mergeOrElseErrors(x_110, x_13, x_10); -lean_dec(x_10); -return x_111; -} -} -else -{ -lean_object* x_112; lean_object* x_113; lean_object* x_114; -lean_dec(x_73); -lean_dec(x_2); -lean_dec(x_1); -x_112 = l_Lean_Parser_Command_notation___elambda__1___closed__2; -x_113 = l_Lean_Parser_ParserState_mkNode(x_72, x_112, x_18); -x_114 = l_Lean_Parser_mergeOrElseErrors(x_113, x_13, x_10); -lean_dec(x_10); -return x_114; -} -} -else -{ -lean_object* x_115; uint8_t x_116; -lean_dec(x_70); -x_115 = lean_ctor_get(x_69, 1); -lean_inc(x_115); -x_116 = lean_nat_dec_eq(x_115, x_68); -lean_dec(x_115); -if (x_116 == 0) -{ -lean_object* x_117; lean_object* x_118; -lean_dec(x_68); -x_117 = l_Lean_nullKind; -x_118 = l_Lean_Parser_ParserState_mkNode(x_69, x_117, x_67); -x_19 = x_118; -goto block_63; -} -else -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_119 = l_Lean_Parser_ParserState_restore(x_69, x_67, x_68); -x_120 = l_Lean_nullKind; -x_121 = l_Lean_Parser_ParserState_mkNode(x_119, x_120, x_67); -x_19 = x_121; -goto block_63; -} -} -} -else -{ -lean_object* x_122; lean_object* x_123; lean_object* x_124; -lean_dec(x_65); -lean_dec(x_5); -lean_dec(x_2); -lean_dec(x_1); -x_122 = l_Lean_Parser_Command_notation___elambda__1___closed__2; -x_123 = l_Lean_Parser_ParserState_mkNode(x_64, x_122, x_18); -x_124 = l_Lean_Parser_mergeOrElseErrors(x_123, x_13, x_10); -lean_dec(x_10); -return x_124; +x_58 = l_Lean_Parser_Command_notation___elambda__1___closed__2; +x_59 = l_Lean_Parser_ParserState_mkNode(x_17, x_58, x_16); +x_60 = l_Lean_Parser_mergeOrElseErrors(x_59, x_11, x_8); +lean_dec(x_8); +return x_60; } } } @@ -30215,28 +30228,30 @@ return x_5; lean_object* _init_l_Lean_Parser_Command_notation___closed__3() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_notation___closed__2; -x_2 = l_Lean_Parser_noFirstTokenInfo(x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_strLitPrec; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Command_notation___closed__2; +x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); +return x_4; } } lean_object* _init_l_Lean_Parser_Command_notation___closed__4() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; +lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Parser_Command_notation___closed__3; -x_2 = l_Lean_Parser_Term_haveAssign___closed__2; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); -return x_3; +x_2 = l_Lean_Parser_noFirstTokenInfo(x_1); +return x_2; } } lean_object* _init_l_Lean_Parser_Command_notation___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_section___closed__2; -x_2 = l_Lean_Parser_Command_notation___closed__4; +x_1 = l_Lean_Parser_Command_notation___closed__4; +x_2 = l_Lean_Parser_Term_haveAssign___closed__2; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } @@ -33296,16 +33311,6 @@ l_Lean_Parser_Command_quotedSymbolPrec___closed__7 = _init_l_Lean_Parser_Command lean_mark_persistent(l_Lean_Parser_Command_quotedSymbolPrec___closed__7); l_Lean_Parser_Command_quotedSymbolPrec = _init_l_Lean_Parser_Command_quotedSymbolPrec(); lean_mark_persistent(l_Lean_Parser_Command_quotedSymbolPrec); -l_Lean_Parser_Command_symbol___closed__1 = _init_l_Lean_Parser_Command_symbol___closed__1(); -lean_mark_persistent(l_Lean_Parser_Command_symbol___closed__1); -l_Lean_Parser_Command_symbol___closed__2 = _init_l_Lean_Parser_Command_symbol___closed__2(); -lean_mark_persistent(l_Lean_Parser_Command_symbol___closed__2); -l_Lean_Parser_Command_symbol___closed__3 = _init_l_Lean_Parser_Command_symbol___closed__3(); -lean_mark_persistent(l_Lean_Parser_Command_symbol___closed__3); -l_Lean_Parser_Command_symbol___closed__4 = _init_l_Lean_Parser_Command_symbol___closed__4(); -lean_mark_persistent(l_Lean_Parser_Command_symbol___closed__4); -l_Lean_Parser_Command_symbol = _init_l_Lean_Parser_Command_symbol(); -lean_mark_persistent(l_Lean_Parser_Command_symbol); l_Lean_Parser_Command_prefix___elambda__1___closed__1 = _init_l_Lean_Parser_Command_prefix___elambda__1___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_prefix___elambda__1___closed__1); l_Lean_Parser_Command_prefix___elambda__1___closed__2 = _init_l_Lean_Parser_Command_prefix___elambda__1___closed__2(); @@ -33501,6 +33506,10 @@ l_Lean_Parser_Command_mixfixSymbol___closed__1 = _init_l_Lean_Parser_Command_mix lean_mark_persistent(l_Lean_Parser_Command_mixfixSymbol___closed__1); l_Lean_Parser_Command_mixfixSymbol___closed__2 = _init_l_Lean_Parser_Command_mixfixSymbol___closed__2(); lean_mark_persistent(l_Lean_Parser_Command_mixfixSymbol___closed__2); +l_Lean_Parser_Command_mixfixSymbol___closed__3 = _init_l_Lean_Parser_Command_mixfixSymbol___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_mixfixSymbol___closed__3); +l_Lean_Parser_Command_mixfixSymbol___closed__4 = _init_l_Lean_Parser_Command_mixfixSymbol___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_mixfixSymbol___closed__4); l_Lean_Parser_Command_mixfixSymbol = _init_l_Lean_Parser_Command_mixfixSymbol(); lean_mark_persistent(l_Lean_Parser_Command_mixfixSymbol); l_Lean_Parser_Command_mixfix___elambda__1___closed__1 = _init_l_Lean_Parser_Command_mixfix___elambda__1___closed__1(); @@ -33528,6 +33537,26 @@ lean_mark_persistent(l_Lean_Parser_Command_mixfix); res = l___regBuiltinParser_Lean_Parser_Command_mixfix(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_Parser_Command_strLitPrec___elambda__1___closed__1 = _init_l_Lean_Parser_Command_strLitPrec___elambda__1___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_strLitPrec___elambda__1___closed__1); +l_Lean_Parser_Command_strLitPrec___elambda__1___closed__2 = _init_l_Lean_Parser_Command_strLitPrec___elambda__1___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_strLitPrec___elambda__1___closed__2); +l_Lean_Parser_Command_strLitPrec___elambda__1___closed__3 = _init_l_Lean_Parser_Command_strLitPrec___elambda__1___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_strLitPrec___elambda__1___closed__3); +l_Lean_Parser_Command_strLitPrec___elambda__1___closed__4 = _init_l_Lean_Parser_Command_strLitPrec___elambda__1___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_strLitPrec___elambda__1___closed__4); +l_Lean_Parser_Command_strLitPrec___closed__1 = _init_l_Lean_Parser_Command_strLitPrec___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_strLitPrec___closed__1); +l_Lean_Parser_Command_strLitPrec___closed__2 = _init_l_Lean_Parser_Command_strLitPrec___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_strLitPrec___closed__2); +l_Lean_Parser_Command_strLitPrec___closed__3 = _init_l_Lean_Parser_Command_strLitPrec___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_strLitPrec___closed__3); +l_Lean_Parser_Command_strLitPrec___closed__4 = _init_l_Lean_Parser_Command_strLitPrec___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_strLitPrec___closed__4); +l_Lean_Parser_Command_strLitPrec___closed__5 = _init_l_Lean_Parser_Command_strLitPrec___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_strLitPrec___closed__5); +l_Lean_Parser_Command_strLitPrec = _init_l_Lean_Parser_Command_strLitPrec(); +lean_mark_persistent(l_Lean_Parser_Command_strLitPrec); l_Lean_Parser_Command_identPrec___elambda__1___closed__1 = _init_l_Lean_Parser_Command_identPrec___elambda__1___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_identPrec___elambda__1___closed__1); l_Lean_Parser_Command_identPrec___elambda__1___closed__2 = _init_l_Lean_Parser_Command_identPrec___elambda__1___closed__2(); diff --git a/stage0/stdlib/Init/Lean/Parser/Parser.c b/stage0/stdlib/Init/Lean/Parser/Parser.c index 8e780c41c1..02e4bdde28 100644 --- a/stage0/stdlib/Init/Lean/Parser/Parser.c +++ b/stage0/stdlib/Init/Lean/Parser/Parser.c @@ -29967,13 +29967,39 @@ x_590 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_590, 0, x_589); return x_590; } -default: +case 16: { lean_object* x_591; lean_dec(x_1); x_591 = l_Lean_Parser_compileParserDescr___main___closed__1; return x_591; } +default: +{ +lean_object* x_592; lean_object* x_593; lean_object* x_594; +x_592 = lean_ctor_get(x_3, 0); +lean_inc(x_592); +x_593 = lean_ctor_get(x_3, 1); +lean_inc(x_593); +lean_dec(x_3); +x_594 = l_PersistentHashMap_find_x3f___at_Lean_Parser_addLeadingParser___spec__1(x_1, x_592); +if (lean_obj_tag(x_594) == 0) +{ +lean_object* x_595; +lean_dec(x_593); +x_595 = l_Lean_Parser_throwUnknownParserCategory___rarg(x_592); +return x_595; +} +else +{ +lean_object* x_596; lean_object* x_597; +lean_dec(x_594); +x_596 = l_Lean_Parser_categoryParser(x_2, x_592, x_593); +x_597 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_597, 0, x_596); +return x_597; +} +} } } } diff --git a/stage0/stdlib/Init/LeanInit.c b/stage0/stdlib/Init/LeanInit.c index 28f313baea..df13c021bc 100644 --- a/stage0/stdlib/Init/LeanInit.c +++ b/stage0/stdlib/Init/LeanInit.c @@ -47,7 +47,7 @@ lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); size_t lean_name_hash(lean_object*); lean_object* l_Lean_Syntax_getArgs___boxed(lean_object*); size_t l_Lean_Name_hash(lean_object*); -lean_object* l_Lean_ParserDescr_parser(lean_object*, lean_object*); +lean_object* l_Lean_ParserDescr_parser(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_ParserDescr_lookahead___boxed(lean_object*, lean_object*); lean_object* l_Lean_ParserDescr_sepBy(uint8_t, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); @@ -58,6 +58,7 @@ lean_object* l_Lean_ParserDescr_try___boxed(lean_object*, lean_object*); lean_object* l_Lean_ParserDescr_ident___boxed(lean_object*); lean_object* l_Lean_ParserDescr_str___boxed(lean_object*); lean_object* l_Lean_ParserDescr_node___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_ParserDescr_parser___boxed(lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_addMacroScope(lean_object*, lean_object*); lean_object* l_Lean_ParserDescr_nonReservedSymbol___boxed(lean_object*, lean_object*); @@ -575,14 +576,25 @@ x_1 = lean_box(16); return x_1; } } -lean_object* l_Lean_ParserDescr_parser(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_ParserDescr_parser(uint8_t x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_3; -x_3 = lean_alloc_ctor(17, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; +lean_object* x_4; +x_4 = lean_alloc_ctor(17, 2, 1); +lean_ctor_set(x_4, 0, x_2); +lean_ctor_set(x_4, 1, x_3); +lean_ctor_set_uint8(x_4, sizeof(void*)*2, x_1); +return x_4; +} +} +lean_object* l_Lean_ParserDescr_parser___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = lean_unbox(x_1); +lean_dec(x_1); +x_5 = l_Lean_ParserDescr_parser(x_4, x_2, x_3); +return x_5; } } lean_object* _init_l_Lean_Syntax_inhabited() {